PR gas/14315
authorAlan Modra <amodra@gmail.com>
Sat, 30 Jun 2012 06:32:29 +0000 (06:32 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 30 Jun 2012 06:32:29 +0000 (06:32 +0000)
* config/obj-elf.c (obj_elf_weak): Don't set local.

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

index 948ee104ac6a3fb55936b5cd863f205cbda55540..57a6bcbc741a05ed0f9c2bc2709f5bad69d6ee41 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-30  Alan Modra  <amodra@gmail.com>
+
+       PR gas/14315
+       * config/obj-elf.c (obj_elf_weak): Don't set local.
+
 2012-06-30  Johan Olmutz Nielsen  <jnielsen@ddci.com>
 
        * frags.h (frag_offset_fixed_p): Update prototype.
index ffee6f6590e3dcf9d600d78d315c3a3f4b918272..d7c766513ccc4111f51904a7e01904b7ebe96a03 100644 (file)
@@ -447,7 +447,6 @@ obj_elf_weak (int ignore ATTRIBUTE_UNUSED)
       symbolP = get_sym_from_input_line_and_check ();
       c = *input_line_pointer;
       S_SET_WEAK (symbolP);
-      symbol_get_obj (symbolP)->local = 1;
       if (c == ',')
        {
          input_line_pointer++;