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

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Sun Jan 25 15:00:05 GMT 2026


Hi Alan,

while the v2 patch has been successfully tested, I found in another
scenario that it could both be simplified and contained a thinko:
remote_exec doesn't just return the command output but a list containing
the exit code and the output.

This revision handles both issues, tested as before.

Ok for trunk now?

Thanks.

	Rainer

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


2026-01-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	ld:
	* testsuite/lib/ld-lib.exp (ld_supports_emul): New proc.
	* testsuite/ld-i386/binutils.exp: Use it.
	* testsuite/ld-x86-64/binutils.exp: Likewise.

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


More information about the Binutils mailing list