diff options
author | Jason Merrill <merrill@gnu.org> | 1995-05-16 01:02:59 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1995-05-16 01:02:59 +0000 |
commit | daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3 (patch) | |
tree | 9d5f3bb804d2bbfb71d3beebd8c3bc2c6f1f2499 /gcc/config/netbsd.h | |
parent | 27a2e668fddbb747a6f62e3c2388ca846319ebe5 (diff) | |
download | gcc-daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3.zip gcc-daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3.tar.gz gcc-daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3.tar.bz2 |
Update weak symbol support
From-SVN: r9697
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r-- | gcc/config/netbsd.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index af4f62e..8c0974a 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -82,10 +82,15 @@ #undef TYPE_ASM_OP #undef SIZE_ASM_OP -#undef WEAK_ASM_OP #define TYPE_ASM_OP ".type" #define SIZE_ASM_OP ".size" -#define WEAK_ASM_OP ".weak" + +/* This is how we tell the assembler that a symbol is weak. */ + +#undef ASM_WEAKEN_LABEL +#define ASM_WEAKEN_LABEL(FILE,NAME) \ + do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ + fputc ('\n', FILE); } while (0) /* The following macro defines the format used to output the second operand of the .type assembler directive. Different svr4 assemblers |