[RFC/AARCH64] PR target/20737, Bind defined symbol locally in PIE

Jiong Wang jiong.wang@foss.arm.com
Mon Nov 7 17:58:00 GMT 2016


As reported on the PR, we need to bind defined symbol locally in PIE, 
this patch
fix this.

OK for master?


bfd/
2016-11-04  Jiong Wang  <jiong.wang@arm.com>

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

ld/
2016-11-04  Jiong Wang  <jiong.wang@arm.com>

         PR target/20737
         * 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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pie-local.patch
Type: text/x-patch
Size: 2504 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20161107/e082f5eb/attachment.bin>


More information about the Binutils mailing list