[PATCH] Share a prevailing name for remove debug info symbols w/ LTO.

Martin Liška mliska@suse.cz
Tue Aug 27 09:09:00 GMT 2019


Hi.

The patch is about better symbol table manipulation
for debug info objects. The patch fixes reported issue
on hppa64-hp-hpux11.11.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

libiberty/ChangeLog:

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.
---
 libiberty/simple-object-elf.c | 71 +++++++++++++++++++++++------------
 1 file changed, 48 insertions(+), 23 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Share-a-prevailing-name-for-remove-debug-info-symbol.patch
Type: text/x-patch
Size: 4682 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190827/b935aa38/attachment.bin>


More information about the Gcc-patches mailing list