[AArch64] Bind defined symbol locally in PIE
authorJiong Wang <jiong.wang@arm.com>
Thu, 10 Nov 2016 09:25:17 +0000 (09:25 +0000)
committerJiong Wang <jiong.wang@arm.com>
Thu, 10 Nov 2016 09:25:17 +0000 (09:25 +0000)
commitac33b731d214d79738ca04d27f7464d4482f6a01
tree896ece5b0fd3bab286cc4443c7c9d5187dd020db
parent9b9720149dfee4a9a961c29d0382fc5bdf9c975b
[AArch64] Bind defined symbol locally in PIE

bfd/
PR target/20737
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
symbol locally in PIE.

ld/
* testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
* testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
* testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
* testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/pie-bind-locally-a.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/pie-bind-locally-b.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/pie-bind-locally.d [new file with mode: 0644]