lto-18 test

H.J. Lu hjl.tools@gmail.com
Wed Sep 9 13:41:22 GMT 2020


On Tue, Sep 8, 2020 at 8:08 PM Alan Modra via Binutils
<binutils@sourceware.org> wrote:
>
> Demonstrates a reason to use IR symbols when deciding an --as-needed
> library should be loaded.
>
>         * testsuite/ld-plugin/lto-18a.c,
>         * testsuite/ld-plugin/lto-18b.c,
>         * testsuite/ld-plugin/lto-18c.c,
>         * testsuite/ld-plugin/lto-18d.c,
>         * testsuite/ld-plugin/lto-18.out: New test.
>         * testsuite/ld-plugin/lto.exp: Run it.
>

This exposed an --as-needed bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=26590

which has nothing to do with LTO.

-- 
H.J.


More information about the Binutils mailing list