diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-11-09 20:18:39 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-11-09 20:18:39 +0000 |
commit | d79f9e337f7a1880bb209c3b9531f0f838219675 (patch) | |
tree | 026d719e6b063c581bcfc9068ab27b0a7b4e95f3 /gnu | |
parent | 3c6e7788dbede10e3211a1b17861e92d97171ff7 (diff) |
Allow OBSD_HAS_CORRECT_ASM_OPS to prevent <openbsd.h> from redefining the
.type, .size, .set and .globl stanzas, similar to openbsd.h r1.9 in gcc 2.95
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/config/openbsd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/openbsd.h b/gnu/usr.bin/gcc/gcc/config/openbsd.h index 4d9ba03cf48..16c3d876641 100644 --- a/gnu/usr.bin/gcc/gcc/config/openbsd.h +++ b/gnu/usr.bin/gcc/gcc/config/openbsd.h @@ -36,6 +36,8 @@ Boston, MA 02111-1307, USA. */ OBSD_HAS_DECLARE_OBJECT: PIC support, FUNCTION_NAME/FUNCTION_SIZE are independent, whereas the corresponding logic for OBJECTS is necessarily coupled. + OBSD_HAS_CORRECT_ASM_OPS: + another mechanism provides correct ASM_OP values already. There are also a few `default' defines such as ASM_WEAKEN_LABEL, intended as common ground for arch that don't provide @@ -216,6 +218,8 @@ Boston, MA 02111-1307, USA. */ yet (look for GRACE_PERIOD_EXPIRED in gas/config/obj-aout.c). SET_ASM_OP is needed for attribute alias to work. */ +#ifndef OBSD_HAS_CORRECT_ASM_OPS + #undef TYPE_ASM_OP #undef SIZE_ASM_OP #undef SET_ASM_OP @@ -226,6 +230,8 @@ Boston, MA 02111-1307, USA. */ #define SET_ASM_OP "\t.set\t" #define GLOBAL_ASM_OP "\t.globl\t" +#endif + /* The following macro defines the format used to output the second operand of the .type assembler directive. */ #undef TYPE_OPERAND_FMT |