[PATCH 1/8] ld: Rename aarch64pe emulation target to arm64pe

Tamar Christina Tamar.Christina@arm.com
Tue Jan 3 15:57:09 GMT 2023


> -----Original Message-----
> From: Martin Storsjö <martin@martin.st>
> Sent: Tuesday, January 3, 2023 3:51 PM
> To: Tamar Christina <Tamar.Christina@arm.com>
> Cc: Richard Earnshaw <Richard.Earnshaw@foss.arm.com>; NightStrike
> <nightstrike@gmail.com>; Mark Harmstone <mark@harmstone.com>;
> wej22007@outlook.com; zac.walker@linaro.org; binutils
> <binutils@sourceware.org>; nickc@redhat.com
> Subject: RE: [PATCH 1/8] ld: Rename aarch64pe emulation target to arm64pe
> 
> On Tue, 3 Jan 2023, Tamar Christina wrote:
> 
> > Hi All,
> >
> > After some discussions, we would prefer if instead of renaming actual
> > emul target (which also renamed the internal macros) that we provide a
> > `targ_emul_alias` or similar instead.  This would allow us to keep the
> > current naming as is, while still supporting the the emul as supported by
> clang.
> >
> > This would be similar to the already existing targ_alias which is used
> > to alias the target triples.
> >
> > I believe (from a quick look) that this should all be do-able by
> > modifying configure.ac in a similar way as targ_extra_emuls currently does.
> 
> Sure, that sounds reasonable to me, too.
> 
> IIRC there were some earlier aarch64pe code in binutils, for EFI usecases
> - did that rely on keeping this name too?
> 

No, that relies on the target name, i.e. `aarch64-little`. There's some mapping code in
objcopy that maps the pseudo -efi targets to the physical targets.

Cheers,
Tamar

> // Martin



More information about the Binutils mailing list