[PATCH] ld: testsuite: Check target in libgot tests

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Thu Jan 22 16:04:39 GMT 2026


The x86 libgot-1 tests are the only ones in all testsuites that use a
new ld -V -m<emul> idiom to check whether to run the tests.  The
emulations in question are supported on all ELF x86 targets., All other
tests just check the target, so this patch follows this precedent.

Tested on {x86_64,i686}-pc-linux-gnu and {amd64,i386}-pc-solaris2.11.

Ok for trunk?

	Rainer

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


2025-12-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	ld:
	PR ld/33350
	* testsuite/ld-i386/binutils.exp: Remove -melf_i386 check.
	* testsuite/ld-x86-64/binutils.exp: Remove -melf_x86_64 check.
	(Build libgot-1-x32.so): Check for x86_64-*-linux* instead of
	-melf32_x86_64.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: solx86-ld-testsuite-libgot-target.patch
Type: text/x-patch
Size: 2940 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20260122/dbcce9f7/attachment.bin>


More information about the Binutils mailing list