[PATCH] plugin: Pass -flto-partition=none to GCC

H.J. Lu hjl.tools@gmail.com
Fri Mar 13 13:02:50 GMT 2020


On Fri, Mar 13, 2020 at 5:54 AM Nick Clifton <nickc@redhat.com> wrote:
>
> Hi H.J.
>
> >       PR binutils/25640
> >       * plugin.c (setup_lto_wrapper_env): Pass -flto-partition=none to
> >       GCC.
>
> Approved - please apply.

This patch doesn't work since LTO wrapper ignores -flto-partition=none:

https://sourceware.org/bugzilla/show_bug.cgi?id=25640#c7

There is a proposal to extend plugin API to add symbol type:

https://gcc.gnu.org/pipermail/gcc-patches/2020-March/541930.html



-- 
H.J.



More information about the Binutils mailing list