bfd/elfnn-aarch64.c: Handle static links with ifunc correctly.
authorWill Newton <will.newton@linaro.org>
Mon, 25 Nov 2013 14:44:59 +0000 (14:44 +0000)
committerWill Newton <will.newton@linaro.org>
Tue, 26 Nov 2013 15:25:11 +0000 (15:25 +0000)
commit4920638856fd2ee27d0f61330e75a05b8d719f02
tree1e6e113e384be1311b35d9307fefc4877e860fad
parentb1ee0cc48909c2116709038e6e1f2ffa7c3bd99c
bfd/elfnn-aarch64.c: Handle static links with ifunc correctly.

The code for handling GOT references to ifunc symbols in static links
was missing.

bfd/ChangeLog:

2013-11-26  Will Newton  <will.newton@linaro.org>

* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol):
Handle STT_GNU_IFUNC symbols correctly in static links.

ld/testsuite/ChangeLog:

2013-11-26  Will Newton  <will.newton@linaro.org>

* ld-aarch64/aarch64-elf.exp: Add ifunc-22.
* ld-aarch64/ifunc-22.d: New file.
* ld-aarch64/ifunc-22.s: Likewise.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/ifunc-22.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/ifunc-22.s [new file with mode: 0644]