aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-10-24 18:08:13 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-10-24 18:08:24 -0700
commit0a640d719684f25bdb88ae60148c6978e6131701 (patch)
tree847a75473aa7a2d0009da97e8a8665d2261b44e2 /bfd/ChangeLog
parent0e139b87870258ce666826efd14fafd543c778d0 (diff)
downloadbinutils-0a640d719684f25bdb88ae60148c6978e6131701.zip
binutils-0a640d719684f25bdb88ae60148c6978e6131701.tar.gz
binutils-0a640d719684f25bdb88ae60148c6978e6131701.tar.bz2
ELF: Hide symbols defined in discarded input sections
When assigning symbol version, we should hide debug symbols defined in discarded sections from IR objects so that they can be removed later. bfd/ PR ld/23818 * elflink.c (_bfd_elf_link_assign_sym_version): Hide symbols defined in discarded input sections. ld/ PR ld/23818 * testsuite/ld-plugin/lto.exp: Run PR ld/23818 test. * testsuite/ld-plugin/pr23818.d: New file. * testsuite/ld-plugin/pr23818.t: Likewise. * testsuite/ld-plugin/pr23818a.c: Likewise. * testsuite/ld-plugin/pr23818b.c: Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7e9fb68..0959688 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23818
+ * elflink.c (_bfd_elf_link_assign_sym_version): Hide symbols
+ defined in discarded input sections.
+
2018-10-24 Alan Modra <amodra@gmail.com>
* elf32-arm.c (elf32_arm_size_stubs): Ignore as-needed libs that