[PATCH] ld: Skip unsupported static executable tests
Alan Modra
amodra@gmail.com
Mon Jan 29 09:06:00 GMT 2018
On Fri, Jan 19, 2018 at 12:04:22PM -0800, H.J. Lu wrote:
> Skip static executable tests if static executable is unsupported.
> Tested on Linux/x86 without libc.a.
>
> PR ld/22732
> * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
> "-static" if target compiler supports it.
> * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
> tests if target compiler doesn't support it.
> * testsuite/ld-ifunc/ifunc.exp: Likewise.
> * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
> (run_cc_link_tests): Likewise.
OK.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list