summaryrefslogtreecommitdiff
path: root/gnu/egcs
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-08-27 17:18:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-08-27 17:18:08 +0000
commit4d5dc383aa5ce2780d42d9155afb0fcbd2211b87 (patch)
treed9fcd1da10304426a520b79562025adf5a311c0e /gnu/egcs
parent4b4af6c2afcfefe239fa24d3a00cc34af9867905 (diff)
Restore SET_ASM_OP, which lets __attribute__((alias)) work again.
Diffstat (limited to 'gnu/egcs')
-rw-r--r--gnu/egcs/gcc/config/openbsd.h5
1 files changed, 4 insertions, 1 deletions
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. */