aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-06-30 06:32:29 +0000
committerAlan Modra <amodra@gmail.com>2012-06-30 06:32:29 +0000
commite95a6b1c3cc4796e692c01f88bec27da0f6a093f (patch)
tree9cf080c521231913200bef15230f10627cfda990 /gas
parent08ea70204dd193ec8cd8a1e8926c485e56959152 (diff)
downloadgdb-e95a6b1c3cc4796e692c01f88bec27da0f6a093f.zip
gdb-e95a6b1c3cc4796e692c01f88bec27da0f6a093f.tar.gz
gdb-e95a6b1c3cc4796e692c01f88bec27da0f6a093f.tar.bz2
PR gas/14315
* config/obj-elf.c (obj_elf_weak): Don't set local.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-elf.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 948ee10..57a6bcb 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index ffee6f6..d7c7665 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -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++;