aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/obj-elf.c15
2 files changed, 4 insertions, 15 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bdd724e..23d4b7a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-11 Alan Modra <alan@linuxcare.com.au>
+
+ * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
+
2000-10-07 Alan Modra <alan@linuxcare.com.au>
* config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index 0f49ab6..4e7f3a36 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -1742,21 +1742,6 @@ elf_frob_symbol (symp, puntp)
&& S_IS_DEFINED (symp))
symbol_get_bfdsym (symp)->flags |= BSF_OBJECT;
#endif
-
- if (symbol_section_p (symp))
- {
- asection *symsec = S_GET_SEGMENT (symp);
-
- if ((bfd_get_section_flags (stdoutput, symsec) & SEC_LINK_ONCE) != 0
- || strncmp (segment_name (symsec), ".gnu.linkonce",
- sizeof ".gnu.linkonce" - 1) == 0)
- {
- /* Make section syms global on ELF linkonce sections.
- This way, any reference to the section symbol will
- resolve to the section that actually stays in. */
- S_SET_EXTERNAL (symp);
- }
- }
}
void