This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64] Remove duplicated code when handling some GOT relocations types
- From: Nick Clifton <nickc at redhat dot com>
- To: Jiong Wang <jiong dot wang at foss dot arm dot com>, Binutils <binutils at sourceware dot org>
- Date: Thu, 29 Jun 2017 11:42:12 +0100
- Subject: Re: [AArch64] Remove duplicated code when handling some GOT relocations types
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=nickc at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B2000C033477
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B2000C033477
- References: <f3630fa6-d286-9cd4-6a10-5803e89d9480@foss.arm.com>
Hi Jiong,
> bfd/
> 2017-06-23 Jiong Wang <jiong.wang@arm.com>
>
> * elfnn-aarch64.c (aarch64_relocation_aginst_gp_p): New function.
> (elfNN_aarch64_final_link_relocate): Delete duplicated code for
> BFD_RELOC_AARCH64_LD64_GOTOFF_LO15, BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC,
> BFD_RELOC_AARCH64_MOVW_GOTOFF_G1.
> * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Optimize the
> support for them.
Approved - please apply.
Cheers
Nick