[PATCH} Add aarch64-pe support to LD and GAS; refine support in BFD

Tamar Christina Tamar.Christina@arm.com
Fri Dec 24 15:57:12 GMT 2021


Hi Jedidiah,

> +#include "coff-aarch64.c"
> diff --git a/bfd/pei-aarch64.c b/bfd/pei-aarch64.c index
> 99326d16126..a0f926e31ce 100644
> --- a/bfd/pei-aarch64.c
> +++ b/bfd/pei-aarch64.c
> @@ -22,7 +22,7 @@
>  #include "bfd.h"
> 
>  #define TARGET_SYM             aarch64_pei_vec
> -#define TARGET_NAME            "pei-aarch64-little"
> +#define TARGET_NAME            "pei-aarch64"

I don't understand the renaming from pei-aarch64-little to pei-aarch64.
The architecture supports both little and big endian so I would like the endianness to stay in the name.

Additionally this looks like it'll break efi support as the object mapping is now broken in objcopy, so please
undo the renaming and name the new object format with -little as we need to be able to tell from the name
which format it is.

Thanks,
Tamar



More information about the Binutils mailing list