Re: PR82575, lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-19 Thread Richard Biener
On Fri, 20 Oct 2017, Alan Modra wrote: > Bootstrapped and regression tested powerpc64le-linux. OK for trunk? Ok. Thanks, Richard. > PR lto/82575 > * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): > Make discarded non-local symbols weak and hidden. > > diff

PR82575, lto debugobj references __gnu_lto_slim, ld test liblto-17 fails

2017-10-19 Thread Alan Modra
Bootstrapped and regression tested powerpc64le-linux. OK for trunk? PR lto/82575 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Make discarded non-local symbols weak and hidden. diff --git a/libiberty/simple-object-elf.c