[PATCH 2/4] bfd|gas|ld: add i386-phoenix target
Jan Beulich
jbeulich@suse.com
Tue Mar 10 15:07:54 GMT 2026
On 10.03.2026 14:07, Michal Lach wrote:
> Jan Beulich <jbeulich@suse.com> writes:
>> On 05.03.2026 19:04, Michał Lach wrote:
>>> --- a/ld/configure.tgt
>>> +++ b/ld/configure.tgt
>>> @@ -431,6 +431,9 @@ i[3-7]86-*-haiku*) targ_emul=elf_i386_haiku
>>> ;;
>>> i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks
>>> ;;
>>> +i[3-7]86-*-phoenix*) targ_emul=elf_i386_phoenix
>>> + targ_extra_emuls=elf_i386
>>
>> How are the two targets distinguished, when in bfd/config.bfd you use
>> targ_defvec=i386_elf32_vec in the new entry?
>
> Oh, right. elf_i386_phoenix just sources elf_i386 so we can just use
> elf_i386 as targeted emulation?
If no distinction is needed, I expect that's going to be the best you can do.
> Also, this applies to the SPARC patch too?
I think so.
Jan
More information about the Binutils
mailing list