From 04ba08ddaafabd27c10d9f1c3a1abc3998c604b2 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 27 Feb 2004 16:28:26 +0000 Subject: Teach gcc the proper "set" syntax for __attribute__ ((alias)) to work on mvme88k. ok deraadt@ espie@ --- gnu/egcs/gcc/config/openbsd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/egcs/gcc/config/openbsd.h') 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 -- cgit v1.2.3