diff options
Diffstat (limited to 'gcc/config/i386/freebsd.h')
-rw-r--r-- | gcc/config/i386/freebsd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index 10a486d8c01..102cb948134 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -118,7 +118,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #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. */ + +#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 |