binutils-gdb/ld/testsuite/ld-arm/pie-bind-locally-b.s
Jiong Wang 1dcb9720d6 [ARM] Bind defined symbol locally in PIE
bfd/
	PR target/20737
	* elf32-arm.c (elf32_arm_final_link_relocate): Bind defined symbol
	locally in PIE.

ld/
	* testsuite/ld-arm/pie-bind-locally-a.s: New test source.
	* testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
	* testsuite/ld-arm/pie-bind-locally.d: New testcase.
	* testsuite/ld-arm/arm-elf.exp: Run new testcase.
2016-11-24 14:01:53 +00:00

7 lines
92 B
ArmAsm

.section .data.rel,"aw",%progbits
.align 2
.type q, %object
.size q, 4
q:
.word _start