[PATCH 4/4] gas|ld|bfd: add aarch64-phoenix target

Michal Lach michal.lach@phoenix-rtos.com
Tue Mar 10 13:50:32 GMT 2026


Jan Beulich <jbeulich@suse.com> writes:

> On 05.03.2026 19:04, Michał Lach wrote:
>> --- a/ld/Makefile.am
>> +++ b/ld/Makefile.am
>> @@ -388,6 +388,7 @@ ALL_64_EMULATION_SOURCES = \
>>  	eaarch64linuxb.c \
>>  	eaarch64nto.c \
>>  	eaarch64pe.c \
>> +	eaarch64phoenix.c \
>>  	earm64pe.c \
>>  	eelf32_x86_64.c \
>>  	eelf32b4300.c \
>
> With this, ...
>
>> --- a/ld/configure.tgt
>> +++ b/ld/configure.tgt
>> @@ -113,6 +113,9 @@ aarch64-*-linux*)	targ_emul=aarch64linux
>>  			targ_extra_libpath="aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi"
>>  			targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb"
>>  			;;
>> +aarch64-*-phoenix*)	targ_emul=aarch64elf
>
> ... don't you mean aarch64phoenix here? Else why the change to Makefile.am?

Right, I checked our downstream toolchain, turns out we don't use
aarch64phoenix, and even implement aarch64phoenix emulation, since there
is no emulparams/ for it. So I can remove this emulation from Makefiles,
right?

Please confirm, if so, this will be corrected in v2.


More information about the Binutils mailing list