PR gas/14315

* config/obj-elf.c (obj_elf_weak): Don't set local.
This commit is contained in:
Alan Modra
2012-06-30 06:32:29 +00:00
parent 08ea70204d
commit e95a6b1c3c
2 changed files with 5 additions and 1 deletions

View 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.

View 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++;