[PATCH v2 4/4] aarch64: add aarch64-phoenix target

Michal Lach michal.lach@phoenix-rtos.com
Fri Mar 13 16:27:27 GMT 2026


Jan Beulich <jbeulich@suse.com> writes:

> On 10.03.2026 20:03, Michał Lach wrote:
>> --- a/bfd/config.bfd
>> +++ b/bfd/config.bfd
>> @@ -295,6 +295,11 @@ case "${targ}" in
>>      targ_selvecs="aarch64_elf64_le_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_be_vec arm_elf32_le_vec"
>>      want64=true
>>      ;;
>> +  aarch64-*-phoenix*)
>> +    targ_defvec=aarch64_elf64_le_vec
>> +    targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec"
>> +    want64=true
>> +    ;;
>
> A number of identical entries exist. Would be nice if you added phoenix there,
> and subsequently we should then see about also folding the others.
>
>> --- 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
>> +			targ_extra_emuls="aarch64elfb armelf armelfb"
>> +			;;
>
> Looks identical to aarch64-*-fuchsia*, so likely better to add yourself there.
>
> Jan

Sure, I can fold similar targets into one entry. Will address in v3.

--
 - Michal Lach


More information about the Binutils mailing list