2000-11-30 Philip Blundell <pb@futuretv.com>
authorPhil Blundell <philb@gnu.org>
Fri, 1 Dec 2000 17:11:57 +0000 (17:11 +0000)
committerPhil Blundell <philb@gnu.org>
Fri, 1 Dec 2000 17:11:57 +0000 (17:11 +0000)
* config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
even in non BFD_ASSEMBLER case.

gas/ChangeLog
gas/config/obj-coff.c

index f82e4996fe52c934b42703996b35d0656562140d..bb154d6593f24252c7c3ba2ff3bd724a71f019e4 100644 (file)
@@ -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
index 80c4b6ee4de0c609dd1b99a3881b637f3276edb1..67e607557afdcdf9ad4fc20d94c9f4ad26638d63 100644 (file)
@@ -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