From 4d5dc383aa5ce2780d42d9155afb0fcbd2211b87 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Fri, 27 Aug 1999 17:18:08 +0000 Subject: Restore SET_ASM_OP, which lets __attribute__((alias)) work again. --- gnu/egcs/gcc/config/openbsd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/egcs') diff --git a/gnu/egcs/gcc/config/openbsd.h b/gnu/egcs/gcc/config/openbsd.h index 30f24942341..e95fbdaea0c 100644 --- a/gnu/egcs/gcc/config/openbsd.h +++ b/gnu/egcs/gcc/config/openbsd.h @@ -165,13 +165,16 @@ Boston, MA 02111-1307, USA. */ /* OpenBSD assembler is hacked to have .type & .size support even in a.out format object files. Functions size are supported but not activated - yet (look for GRACE_PERIOD_EXPIRED in gas/config/obj-aout.c). */ + yet (look for GRACE_PERIOD_EXPIRED in gas/config/obj-aout.c). + SET_ASM_OP is needed for attribute alias to work. */ #undef TYPE_ASM_OP #undef SIZE_ASM_OP +#undef SET_ASM_OP #define TYPE_ASM_OP ".type" #define SIZE_ASM_OP ".size" +#define SET_ASM_OP ".set" /* The following macro defines the format used to output the second operand of the .type assembler directive. */ -- cgit v1.2.3