summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config/openbsd.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-02-27 16:28:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-02-27 16:28:26 +0000
commit04ba08ddaafabd27c10d9f1c3a1abc3998c604b2 (patch)
treebe6701769be8a88ce283ac0dd1ec3d6bb3d609e1 /gnu/egcs/gcc/config/openbsd.h
parente371f34162c9f3950de6eda633385923605d8994 (diff)
Teach gcc the proper "set" syntax for __attribute__ ((alias)) to work
on mvme88k. ok deraadt@ espie@
Diffstat (limited to 'gnu/egcs/gcc/config/openbsd.h')
-rw-r--r--gnu/egcs/gcc/config/openbsd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/egcs/gcc/config/openbsd.h b/gnu/egcs/gcc/config/openbsd.h
index 3b9b3169ad2..453903be98a 100644
--- a/gnu/egcs/gcc/config/openbsd.h
+++ b/gnu/egcs/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
@@ -167,6 +169,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
@@ -175,6 +179,8 @@ Boston, MA 02111-1307, USA. */
#define SIZE_ASM_OP ".size"
#define SET_ASM_OP ".set"
+#endif
+
/* The following macro defines the format used to output the second
operand of the .type assembler directive. */
#undef TYPE_OPERAND_FMT