This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PR20402][LD][AARCH64]Don't emit RELATIVE relocation for absolute symbols which are resolved at static linking time.
- From: Nick Clifton <nickc at redhat dot com>
- To: Renlin Li <renlin dot li at foss dot arm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, ard dot biesheuvel at linaro dot org
- Date: Fri, 9 Feb 2018 09:35:27 +0000
- Subject: Re: [PR20402][LD][AARCH64]Don't emit RELATIVE relocation for absolute symbols which are resolved at static linking time.
- Authentication-results: sourceware.org; auth=none
- References: <84986e33-3d6f-3ca4-25c4-684e57cd6ff4@foss.arm.com>
Hi Renlin,
> bfd/ChangeLog:
>
> 2018-02-06 Renlin Li <renlin.li@arm.com>
>
> PR ld/20402
> * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Check absolute symbol,
> and don't emit relocation in specific case.
>
> ld/ChangeLog:
>
> 2018-02-06 Renlin Li <renlin.li@arm.com>
>
> PR ld/20402
> * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
> * testsuite/ld-aarch64/pr20402.s: New.
> * testsuite/ld-aarch64/pr20402.d: New.
Approved - please apply.
Cheers
Nick