V2 [PATCH] ld: Pass -fno-lto to non LTO tests

H.J. Lu hjl.tools@gmail.com
Tue Oct 20 23:24:18 GMT 2020


On Tue, Oct 20, 2020 at 2:01 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
>         * testsuite/config/default.exp (NOLTO_CFLAGS): New.
>         * testsuite/ld-elfvers/vers.exp: Add $NOLTO_CFLAGS to CC.
>         * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
>         * testsuite/ld-gc/gc.exp: Likewise.
>         * testsuite/ld-plugin/plugin.exp: Likewise.
>         * testsuite/ld-scripts/crossref.exp: Likewise.
>         * testsuite/ld-selective/selective.exp: Likewise.
>         * testsuite/ld-srec/srec.exp: Likewise.
>         * testsuite/ld-undefined/undefined.exp: Likewise.
>         * testsuite/lib/ld-lib.exp (run_ld_link_tests): Prepend -fno-lto
>         to cflags.

This one survived LTO tests.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ld-Pass-fno-lto-to-non-LTO-tests.patch
Type: text/x-patch
Size: 14619 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20201020/b2430e0d/attachment-0001.bin>


More information about the Binutils mailing list