aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2000-12-01 17:11:57 +0000
committerPhil Blundell <philb@gnu.org>2000-12-01 17:11:57 +0000
commit4ce3447c164823aa64a96abb840d0886d1f84c63 (patch)
treea2f4c8cb108bb16266c02cd04778005aa744b904 /gas
parentd3d6d17346f2f8667b8d8539bdb8a21bb5d03b72 (diff)
downloadgdb-4ce3447c164823aa64a96abb840d0886d1f84c63.zip
gdb-4ce3447c164823aa64a96abb840d0886d1f84c63.tar.gz
gdb-4ce3447c164823aa64a96abb840d0886d1f84c63.tar.bz2
2000-11-30 Philip Blundell <pb@futuretv.com>
* config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists, even in non BFD_ASSEMBLER case.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-coff.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f82e499..bb154d6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-30 Philip Blundell <pb@futuretv.com>
+
+ * 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 <dnovillo@redhat.com>
* 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 80c4b6e..67e6075 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