RFC: How should the LTO plugin handle object files containing both LTO and non-LTO data ?
H.J. Lu
hjl.tools@gmail.com
Tue Oct 13 14:19:47 GMT 2020
On Tue, Oct 13, 2020 at 6:51 AM Nick Clifton <nickc@redhat.com> wrote:
>
> Hi H.J.
>
> > See:
> >
> > https://sourceware.org/bugzilla/show_bug.cgi?id=12291
> > https://sourceware.org/bugzilla/show_bug.cgi?id=12430
> > https://sourceware.org/bugzilla/show_bug.cgi?id=13298
> >
> > and try ld in
> >
> > https://gitlab.com/x86-binutils/binutils-gdb/-/commits/users/hjl/lto-mixed/master
> >
> > to generate .o files with LTO binary data and non-LTO binary data.
> >
>
> Thanks H.J. I should have known that you have already discovered this problem and worked out a solution. :-)
>
> I will have a look at your branch and see if it solves the specific problem I am trying to fix.
>
> Quick question - the PDF document in this comment has disappeared:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=12291#c2
>
I put my proposal at:
https://sourceware.org/bugzilla/show_bug.cgi?id=12291#c6
My implementation doesn't update readelf since readelf doesn't support
LTO plugin.
--
H.J.
More information about the Binutils
mailing list