[PATCH v2] ld: testsuite: Simplify emulation check in libgot tests

Maciej W. Rozycki macro@orcam.me.uk
Mon Jan 26 00:34:07 GMT 2026


On Sun, 25 Jan 2026, Rainer Orth wrote:

> This way, you'd always prefer the native emulations, not a hardcoded one
> like elf32_sparc.  The latter is only used in the ld testsuite, while
> gcc always uses elf32_sparc_sol2.  I'm not interested in test results
> that don't match actual use.  Those are irrelevant IMO.

 This makes sense if you don't use multilibs.  With MIPS targets secondary 
linker emulations are often used with non-default multilibs, which can be 
a mixture of 32-bit and 64-bit ones, more than one of each, so it makes 
perfect sense to have them covered in the testsuite as well.

  Maciej


More information about the Binutils mailing list