This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, AArch64] Handle SYMBOL_SMALL_TPREL appropriately
- From: Andrew Pinski <andrew dot pinski at caviumnetworks dot com>
- To: "Hurugalawadi, Naveen" <Naveen dot Hurugalawadi at caviumnetworks dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 7 Feb 2015 21:34:24 -0800
- Subject: Re: [PATCH, AArch64] Handle SYMBOL_SMALL_TPREL appropriately
- Authentication-results: sourceware.org; auth=none
- References: <1422852769059 dot 53654 at caviumnetworks dot com>
On Sun, Feb 1, 2015 at 8:51 PM, Hurugalawadi, Naveen
<Naveen.Hurugalawadi@caviumnetworks.com> wrote:
> Hi,
>
> Please find attached the patch that handles the operations on
> SYMBOL_SMALL_TPREL appropriately.
> It fixes gcc.dg/tls/opt-11.c regression on ilp32.
>
> Please review the patch and let us know if its okay?
> Regression tested on aarch64-elf.
Also bootstrapped and tested on aarch64-linux-gnu with no regressions
(and many testcases in libgomp passing now).
Thanks,
Andrew Pinski
>
> Thanks,
> Naveen
>
> 2015-02-02 Andrew Pinski <apinski@cavium.com>
> Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
>
> * config/aarch64/aarch64.c (*aarch64_load_symref_appropriately):
> Check whether the destination of SYMBOL_SMALL_TPREL is Pmode.