From: Phil Blundell Date: Fri, 1 Dec 2000 17:11:57 +0000 (+0000) Subject: 2000-11-30 Philip Blundell X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ce3447c164823aa64a96abb840d0886d1f84c63;p=binutils-gdb.git 2000-11-30 Philip Blundell * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists, even in non BFD_ASSEMBLER case. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index f82e4996fe5..bb154d6593f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-11-30 Philip Blundell + + * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists, + even in non BFD_ASSEMBLER case. + 2000-11-30 Diego Novillo * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 80c4b6ee4de..67e607557af 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -220,7 +220,7 @@ obj_coff_weak (ignore) *input_line_pointer = c; SKIP_WHITESPACE (); -#ifdef BFD_ASSEMBLER +#if defined BFD_ASSEMBLER || defined S_SET_WEAK S_SET_WEAK (symbolP); #endif