binutils-gdb/ld/testsuite/ld-x86-64/unique1.s
H.J. Lu 6f8bcf84a1 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.
2010-04-07 02:41:35 +00:00

10 lines
120 B
ArmAsm

.text
foo:
movq bar@GOTPCREL(%rip), %rbp
.weak bar
.data
.type bar, @gnu_unique_object
.size bar, 8
bar:
.quad 8