[PATCH v2] ld: Remove elf_x86_64/elf_i386 emulations from Solaris x86 linker

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Sep 9 10:58:58 GMT 2025


Hi H.J.,

>> Removing elf_i386 and elf_x86_64 emulations from Solaris x86 linkers to
>> get
>>
>> $ ./ld-new -V
>> GNU ld (GNU Binutils) 2.45.50.20250904
>>   Supported emulations:
>>    elf_x86_64_sol2
>>    elf_i386_sol2
>>    elf_i386_ldso
>>    elf_iamcu
>
> please leave this stuff alone.  I'm currently investigating this on both
> Solaris/x86 and SPARC and things are a total mess: elf_i386_ldso is only
> sourced into elf_i386_sol2.  There's no need for this to be a separate
> emulation.  elf_iamcu is completely wrong here: Intel MCU being a 32-bit
> microcontroller that never even remotely saw Solaris and has no need to
> be here at all.
>
> Any cleanup needs to be made in sync for both SPARC and x86 *and
> thoroughly tested*.  Again, you don't say at all if and how you tested
> your patch.

besides, there are also issues on the bfd side of things, i.e. target
vectors included on Solaris that are completely superfluous.  I'm on
both and will post a patch once it is ready.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Binutils mailing list