aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-unique
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-02-08 01:33:01 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-02-08 01:33:01 +0000
commit02acbe2250b647ae693a88fa30056f80aee514d9 (patch)
tree264575e9da3e20407f3187303431aa0e733c2749 /ld/testsuite/ld-unique
parentaaa42e10ef1e438542a4bf24bd945d11a6059bb2 (diff)
downloadgdb-02acbe2250b647ae693a88fa30056f80aee514d9.zip
gdb-02acbe2250b647ae693a88fa30056f80aee514d9.tar.gz
gdb-02acbe2250b647ae693a88fa30056f80aee514d9.tar.bz2
Set STB_GNU_UNIQUE only if symbol is defined in regular object
bfd/ PR ld/15107 * elflink.c (elf_link_output_extsym): Set STB_GNU_UNIQUE only if symbol is defined in regular object. ld/testsuite/ PR ld/15107 * ld-unique/unique_empty.s: Add reference to "b".
Diffstat (limited to 'ld/testsuite/ld-unique')
-rw-r--r--ld/testsuite/ld-unique/unique_empty.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-unique/unique_empty.s b/ld/testsuite/ld-unique/unique_empty.s
index efd6683..c4c52c2 100644
--- a/ld/testsuite/ld-unique/unique_empty.s
+++ b/ld/testsuite/ld-unique/unique_empty.s
@@ -1,4 +1,4 @@
.type main,"function"
.global main
main:
- .long 0
+ .dc.a b