[PATCH] LTO: Change resolution to LDPR_PREVAILING_DEF for wrapper symbol

H.J. Lu hjl.tools@gmail.com
Tue Apr 2 23:13:00 GMT 2019


On Tue, Apr 2, 2019 at 3:12 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Change resolution from PREVAILING_DEF_IRONLY to LDPR_PREVAILING_DEF
> for wrapper symbol.
>
>         PR ld/24406
>         * ld.texi: Remove LTO warning from --wrap.
>         * plugin.c (get_symbols): Change resolution to LDPR_PREVAILING_DEF
>         for wrapper symbol.
>         * testsuite/ld-plugin/lto.exp: Run ld/24406 test.
>         * testsuite/ld-plugin/pr24406.c: New file.

This patch is incomplete.  I  am working on it.

-- 
H.J.



More information about the Binutils mailing list