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 really discard them

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 (remapping all remaining

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 Sol

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 tho