[PATCH] ld: Pass -Wl,-z,lazy to compiler for i386 lazy binding tests

H.J. Lu hjl.tools@gmail.com
Wed Mar 5 04:50:29 GMT 2025


Pass -Wl,-z,lazy to compiler for i386 tests which require lazy binding
to support compilers which default to non-lazy binding.

PR ld/32762
* testsuite/ld-i386/i386.exp: Pass -Wl,-z,lazy for
"Build ifunc-1a with PIE -z ibtplt" test.
* testsuite/ld-i386/no-plt.exp: Pass -Wl,-z,lazy for
"Build libno-plt-1b.so", "No PLT (dynamic 1a)",
"No PLT (dynamic 1b)", "No PLT (dynamic 1c)",
"No PLT (PIE 1e)", "No PLT (PIE 1f)", "No PLT (PIE 1g)" tests.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ld-Pass-Wl-z-lazy-to-compiler-for-i386-lazy-binding-.patch
Type: text/x-patch
Size: 3821 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250305/2f95851c/attachment-0001.bin>


More information about the Binutils mailing list