This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld: Skip unsupported static executable tests
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Binutils <binutils at sourceware dot org>
- Date: Mon, 29 Jan 2018 16:56:34 +1030
- Subject: Re: [PATCH] ld: Skip unsupported static executable tests
- Authentication-results: sourceware.org; auth=none
- References: <20180119163438.GA3051@gmail.com> <ydd4lnheiyo.fsf@CeBiTec.Uni-Bielefeld.DE> <CAMe9rOqpQTLRkPh5mO6Qhy=3G80V7a44oHqHLLZz+DK9SvqEig@mail.gmail.com>
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