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

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.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
2 files changed