This is the mail archive of the
mailing list for the binutils project.
Re: [AArch64] PR ld/21532, Allow COPY relocation elimination
- From: Jiong Wang <jiong dot wang at foss dot arm dot com>
- To: binutils at sourceware dot org
- Cc: Nick Clifton <nickc at redhat dot com>
- Date: Fri, 9 Jun 2017 11:58:28 +0100
- Subject: Re: [AArch64] PR ld/21532, Allow COPY relocation elimination
- Authentication-results: sourceware.org; auth=none
- References: <firstname.lastname@example.org>
On 07/06/17 16:17, Jiong Wang wrote:
The ELIMINATE_COPY_RELOCS has been set to true and it's
underlying infrastructure has been improved so that the COPY reloc elimination
at least working on absoluate relocations (ABS64) on AArch64 and testcases on
the PR has passed.
There are several other relocation types might need similar supports as well,
I will try to post following up patches to clean up them.
Without the following up patches to cleanup some other PC-relative relocation types, this patch
will leak PC relative relocation types in and cause incomplete support on copy relocation elimination.
This is revealed by some g++/libstdc++ test:
unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `_ZTIi@@CXXABI_1.3'
I will revert this patch temporarily and will commit it later after the work and review on PC-relative support finished.