https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84579

--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
@Romain: Yes, let's close it. Thank you for the testing of the patch in other
branches.

Backporting the patch, please consider also using the following fix:

commit dcaf4c7b4cb9bd70b96b2499ca275d5831328dd0
Author: marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Aug 27 13:36:15 2019 +0000

    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.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@274955
138bc75d-0d04-0410-961f-82ee72b054a4

Reply via email to