[PATCH] ld: Restore PR ld/15146 tests

H.J. Lu hjl.tools@gmail.com
Thu Feb 4 13:18:24 GMT 2021


On Wed, Feb 3, 2021 at 10:40 PM Alan Modra via Binutils
<binutils@sourceware.org> wrote:
>
> After LTO recompilation we more or less want to ignore IR symbols.
>
> bfd/
>         PR 27311
>         * elflink.c (elf_link_add_object_symbols): Don't pull in as-needed
>         libraries for IR references on pass over libraries after LTO
>         recompilation.
> ld/
>         * testsuite/ld-plugin/pr27311d.c: New test.
>         * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
>         and link new test as pr27311-2.
>

This patch also fixed PR ld/15146.  I am checking this patch into
master and 2.36 branches to restore PR ld/15146 tests.

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ld-Restore-PR-ld-15146-tests.patch
Type: text/x-patch
Size: 5189 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20210204/2ef5d242/attachment.bin>


More information about the Binutils mailing list