Andreas Schwab <[email protected]> writes: > On Nov 16 2025, Martin Liška wrote: > >> @@ -3287,7 +3299,7 @@ elif test x"$gcc_cv_as" != x -a x"$gcc_cv_ld" != x -a >> x"$gcc_cv_objdump" != x ; >> && $gcc_cv_as -o conftest2.o conftest2.s > /dev/null 2>&1 \ >> && $gcc_cv_as -o conftest3.o conftest3.s > /dev/null 2>&1; then >> if $gcc_cv_ld -shared -o conftest1.so conftest1.o \ >> - conftest2.o conftest3.o > /dev/null 2>&1 \ >> + conftest2.o conftest3.o --no-gc-sections > /dev/null 2>&1 \ >> || $gcc_cv_ld -r -o conftest1.so conftest1.o \ >> conftest2.o conftest3.o > /dev/null 2>&1; then >> gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \ > > That looks unrelated.
It actually isn't, but it should be explained in the commit message and ideally done as a first commit. See https://github.com/davidlattimore/wild/issues/1298#issuecomment-3527872708.
