Re: [RFA] Incremental LTO linking part 1: simple-object bits

2018-05-30 Thread Rainer Orth
Hi Jan, >> > Index: include/simple-object.h >> > === >> > --- include/simple-object.h (revision 260042) >> > +++ include/simple-object.h (working copy) >> > @@ -198,12 +198,15 @@ >> > simple_object_release_write (simple_objec

Re: [RFA] Incremental LTO linking part 1: simple-object bits

2018-05-30 Thread Jan Hubicka
> On Tue, May 8, 2018 at 8:05 AM, Jan Hubicka wrote: > > Hi, > > for incremental linking of LTO objects we need to copy debug sections from > > source object files into destination without renaming them from > > .gnu.debuglto > > into the standard debug section (because they will again be LTO deb

Re: [RFA] Incremental LTO linking part 1: simple-object bits

2018-05-30 Thread H.J. Lu
On Tue, May 8, 2018 at 8:05 AM, Jan Hubicka wrote: > Hi, > for incremental linking of LTO objects we need to copy debug sections from > source object files into destination without renaming them from .gnu.debuglto > into the standard debug section (because they will again be LTO debug section > in

Re: [RFA] Incremental LTO linking part 1: simple-object bits

2018-05-09 Thread Richard Biener
On Tue, 8 May 2018, Jan Hubicka wrote: > Hi, > for incremental linking of LTO objects we need to copy debug sections from > source object files into destination without renaming them from .gnu.debuglto > into the standard debug section (because they will again be LTO debug section > in the resulti

[RFA] Incremental LTO linking part 1: simple-object bits

2018-05-08 Thread Jan Hubicka
Hi, for incremental linking of LTO objects we need to copy debug sections from source object files into destination without renaming them from .gnu.debuglto into the standard debug section (because they will again be LTO debug section in the resulting object file). I have discussed this with Richa