aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-05 14:45:17 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-05 14:45:17 -0700
commita0d49154d4a471cd36954408b29a348a091efaa3 (patch)
treeb4df8acaf073d72072c11cea50e1f9d6d60430dc /ld/testsuite/ChangeLog
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-a0d49154d4a471cd36954408b29a348a091efaa3.tar.gz
binutils-gdb-a0d49154d4a471cd36954408b29a348a091efaa3.tar.bz2
binutils-gdb-a0d49154d4a471cd36954408b29a348a091efaa3.zip
Don't re-export common symbols
For ELF linker, a common symbol isn't a definition. When we decide if a symbol should be re-exported, we should check if the symbol isn't undefined, not if it is a definition. bfd/ PR ld/18914 * elflink.c (elf_link_add_object_symbols): Don't re-export a symbol if it isn't undefined. ld/testsuite/ PR ld/18914 * ld-elf/exclude.exp: Also check exclude_common. * ld-elf/exclude2.s: Add exclude_common.
Diffstat (limited to 'ld/testsuite/ChangeLog')
-rw-r--r--ld/testsuite/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index b078d3a617a..490aa503b28 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/18914
+ * ld-elf/exclude.exp: Also check exclude_common.
+ * ld-elf/exclude2.s: Add exclude_common.
+
2015-10-02 Renlin Li <renlin.li@arm.com>
* ld-aarch64/aarch64-elf.exp (tls-relax-large-le-ie): Run new test.