summaryrefslogtreecommitdiff
path: root/gcc/config/openbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/openbsd.h')
-rw-r--r--gcc/config/openbsd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h
index 30f24942341..e95fbdaea0c 100644
--- a/gcc/config/openbsd.h
+++ b/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. */