pr23169b test only works with lazy binding. To work with linker which
disables lazy binding by default, build pr23169b binaries with -z lazy.
PR ld/30698
* ld-ifunc/ifunc.exp: Build pr23169b binaries with -z lazy.
] \
[list \
"Build libpr23169a.so" \
- "-shared" \
+ "-shared -Wl,-z,lazy" \
"-fPIC -O2 -g" \
{ pr23169a.c } \
{} \
] \
[list \
"Run pr23169b" \
- "-pie -Wl,--no-as-needed tmpdir/libpr23169a.so" \
+ "-pie -Wl,--no-as-needed,-z,lazy tmpdir/libpr23169a.so" \
"" \
{ pr23169b.c pr23169c.c } \
"pr23169b" \