This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: A couple of aarch64 patches for 2.24
- From: Tristan Gingold <gingold at adacore dot com>
- To: Will Newton <will dot newton at linaro dot org>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 10 Dec 2013 12:39:18 +0100
- Subject: Re: A couple of aarch64 patches for 2.24
- Authentication-results: sourceware.org; auth=none
- References: <CANu=Dmgt90oAeZ2oSBQBuV1o-d2GxUD54wzMOrcKFEQR66Gnaw at mail dot gmail dot com>
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