A couple of aarch64 patches for 2.24
Tristan Gingold
gingold@adacore.com
Tue Dec 10 11:39:00 GMT 2013
On 10 Dec 2013, at 12:10, Will Newton <will.newton@linaro.org> wrote:
> Hi Tristan,
>
> Isi it ok to pull these two patches onto the 2.24 branch?
Yes, that's fine.
>
> Thanks,
>
> commit 4920638856fd2ee27d0f61330e75a05b8d719f02
> Author: Will Newton <will.newton@linaro.org>
> Date: Mon Nov 25 14:44:59 2013 +0000
>
> 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.
>
> commit b1ee0cc48909c2116709038e6e1f2ffa7c3bd99c
> Author: Will Newton <will.newton@linaro.org>
> Date: Mon Nov 25 11:07:07 2013 +0000
>
> bfd/elfnn-aarch64.c: Fix miscalculation of GOTPLT offset for ifunc syms.
>
> The .got.plt header size was not being correctly taken into account
> when calculating the offset for relocations against ifunc symbols.
>
> bfd/ChangeLog:
>
> 2013-11-26 Will Newton <will.newton@linaro.org>
>
> * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Ensure
> PLT_INDEX is calculated using correct header size.
>
> ld/testsuite/ChangeLog:
>
> 2013-11-26 Will Newton <will.newton@linaro.org>
>
> * ld-aarch64/aarch64-elf.exp: Add ifunc-21 test.
> * ld-aarch64/ifunc-21.d: New file.
> * ld-aarch64/ifunc-21.s: Likewise.
>
>
>
> --
> Will Newton
> Toolchain Working Group, Linaro
More information about the Binutils
mailing list