[PATCH 1/8] ld: Rename aarch64pe emulation target to arm64pe
Martin Storsjö
martin@martin.st
Tue Jan 3 12:53:24 GMT 2023
On Tue, 3 Jan 2023, NightStrike via Binutils wrote:
> On Thu, Dec 29, 2022, 21:41 Mark Harmstone <mark@harmstone.com> wrote:
>
>> * The aarch64pe emulation target is renamed to arm64pe. This is the name
>> that LLVM is already using, even though as a rule we call this arch
>> aarch64.
>> Without this clang won't work with ld. Another possibility would be to
>> change the -m parameter if it's "arm64", but that seems to me like it's
>> making things more complicated than they need to be.
>>
>
> Or just fix clang. Seems like if clang wants to work with ld, clang should
> use ld's name.
When lld added the "arm64pe" target in the mingw mode of lld, 5 years ago,
there was no support for such a target in binutils ld. That support is
being added now.
Therefore - there was no reference for what to name this particular target
in the ld.bfd like interface mode - so I picked one name which seemed to
make sense for it - "arm64pe". Now when binutils is catching up 5 years
later, I think it's courteous to go along with the name that was picked
within lld for this mode.
// Martin
More information about the Binutils
mailing list