Re: [PATCH] Fix PR81968

2018-01-11 Thread Richard Biener
On Wed, 10 Jan 2018, Richard Biener wrote: > On January 10, 2018 6:28:57 PM GMT+01:00, Jeff Law wrote: > >On 01/10/2018 03:05 AM, Richard Biener wrote: > >> > >> This joint work rewrites LTO debug section copying to not leave > >> discarded sections around as SHT_NULL but to

Re: [PATCH] Fix PR81968

2018-01-10 Thread Richard Biener
On January 10, 2018 6:28:57 PM GMT+01:00, Jeff Law wrote: >On 01/10/2018 03:05 AM, Richard Biener wrote: >> >> This joint work rewrites LTO debug section copying to not leave >> discarded sections around as SHT_NULL but to really discard them >> and deal with the fallout

Re: [PATCH] Fix PR81968

2018-01-10 Thread Jeff Law
On 01/10/2018 03:05 AM, Richard Biener wrote: > > This joint work rewrites LTO debug section copying to not leave > discarded sections around as SHT_NULL but to really discard them > and deal with the fallout (remapping all remaining section references). > This is to avoid diagnostics from the

Re: [PATCH] Fix PR81968

2018-01-10 Thread Rainer Orth
Hi Richard, > This joint work rewrites LTO debug section copying to not leave > discarded sections around as SHT_NULL but to really discard them > and deal with the fallout (remapping all remaining section references). > This is to avoid diagnostics from the Solaris linker which doesn't > like

[PATCH] Fix PR81968

2018-01-10 Thread Richard Biener
This joint work rewrites LTO debug section copying to not leave discarded sections around as SHT_NULL but to really discard them and deal with the fallout (remapping all remaining section references). This is to avoid diagnostics from the Solaris linker which doesn't like those. LTO bootstrapped

[PATCH] Fix PR81968 some more

2017-08-31 Thread Richard Biener
I am testing the following to silence more of Solaris ld warnings about early debug objects. LTO bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Richard. 2017-08-31 Richard Biener PR lto/81968 * simple-object-elf.c