[ARM] Bind defined symbol locally in PIE
authorJiong Wang <jiong.wang@arm.com>
Thu, 24 Nov 2016 14:01:53 +0000 (14:01 +0000)
committerJiong Wang <jiong.wang@arm.com>
Thu, 24 Nov 2016 14:01:53 +0000 (14:01 +0000)
commit1dcb9720d62cd053a72c31881b7724ce9f74332c
tree0717063f07a5d5a9860159ac7c92167d5afac5bc
parent51750acd087cc20ae3f72393fa897d9e3059c65d
[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.
bfd/ChangeLog
bfd/elf32-arm.c
ld/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/pie-bind-locally-a.s [new file with mode: 0644]
ld/testsuite/ld-arm/pie-bind-locally-b.s [new file with mode: 0644]
ld/testsuite/ld-arm/pie-bind-locally.d [new file with mode: 0644]