https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91478
--- Comment #28 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Tue Aug 27 13:36:15 2019 New Revision: 274955 URL: https://gcc.gnu.org/viewcvs?rev=274955&root=gcc&view=rev Log: Share a prevailing name for remove debug info symbols w/ LTO. 2019-08-27 Martin Liska <mli...@suse.cz> PR lto/91478 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): First find a WEAK HIDDEN symbol in symbol table that will be preserved. Later, use the symbol name for all removed symbols. Modified: trunk/libiberty/ChangeLog trunk/libiberty/simple-object-elf.c