aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/unique1.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-07 02:41:35 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-07 02:41:35 +0000
commit6f8bcf84a1bc7412dfee32328b370b6c4599a103 (patch)
tree2f6f57bd1c6c671fb3795ba2b021acd953d0181f /ld/testsuite/ld-x86-64/unique1.s
parentdb564246a859699f649d544e24a42053c1502bb7 (diff)
downloadgdb-6f8bcf84a1bc7412dfee32328b370b6c4599a103.zip
gdb-6f8bcf84a1bc7412dfee32328b370b6c4599a103.tar.gz
gdb-6f8bcf84a1bc7412dfee32328b370b6c4599a103.tar.bz2
Don't bind unique symbol locally.
bfd/ 2010-04-06 H.J. Lu <hongjiu.lu@intel.com> PR ld/11434 * elf-bfd.h (SYMBOLIC_BIND): Don't bind unique symbol locally. ld/testsuite/ 2010-04-06 H.J. Lu <hongjiu.lu@intel.com> PR ld/11434 * ld/testsuite/ld-x86-64/unique1.d: New. * ld/testsuite/ld-x86-64/unique1.s: Likewise. * ld-x86-64/x86-64.exp: Run unique1.
Diffstat (limited to 'ld/testsuite/ld-x86-64/unique1.s')
-rw-r--r--ld/testsuite/ld-x86-64/unique1.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/unique1.s b/ld/testsuite/ld-x86-64/unique1.s
new file mode 100644
index 0000000..3def1b3
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/unique1.s
@@ -0,0 +1,9 @@
+ .text
+foo:
+ movq bar@GOTPCREL(%rip), %rbp
+ .weak bar
+ .data
+ .type bar, @gnu_unique_object
+ .size bar, 8
+bar:
+ .quad 8