[PATCH 1/8] ld: Rename aarch64pe emulation target to arm64pe
Mark Harmstone
mark@harmstone.com
Tue Jan 3 19:07:02 GMT 2023
On 3/1/23 18:33, Andrew Pinski wrote:
> My thoughts. arm64 has always been a bad name and should not be
> referenced anywhere. It is bad that Microsoft and LLVM folks have
> started using it.
> We should be consistent with the elf targets here and use aarch64pe
> and then add an alias just for compatibility reasons with LLVM.
> We should push LLVM folks to the same and everyone over to aarch64
> instead of arm64.
>
> Thanks,
> Andrew Pinski
What would this achieve? To reiterate, this is a string that the compiler passes to the linker. Users wouldn't ever see it unless they're doing some pretty low-level stuff.
I agree with Nick's suggestion, that we keep the patch as it is but add a comment explaining the name to anyone curious. Simplicity is a more important engineering principle than consistency... particularly when the naming scheme isn't consistent anyway.
Mark
More information about the Binutils
mailing list