Share a prevailing name for remove debug info symbols w/ LTO.
authorMartin Liska <mliska@suse.cz>
Tue, 27 Aug 2019 13:36:15 +0000 (15:36 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 27 Aug 2019 13:36:15 +0000 (13:36 +0000)
commitd23db3858e7779b7a42ef3533e6c4c299cb026c7
treec461b234939553ca119d3a63a5831c5cd312ebf8
parentb5a6addb5b60ff6232d1e11367b44f969d2a3e8f
Share a prevailing name for remove debug info symbols w/ LTO.

2019-08-27  Martin Liska  <mliska@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.

From-SVN: r274955
libiberty/ChangeLog
libiberty/simple-object-elf.c