bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20882] GNU ld discards sections required by relocations in .debu


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20882] GNU ld discards sections required by relocations in .debug_info with --gc-sections
Date: Wed, 14 Mar 2018 12:22:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20882

--- Comment #21 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_30-branch branch has been updated by H.J. Lu
<address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=da8c5cfcc9fa7fc77878ce177d1b52348ae52f26

commit da8c5cfcc9fa7fc77878ce177d1b52348ae52f26
Author: H.J. Lu <address@hidden>
Date:   Wed Mar 14 04:23:24 2018 -0700

    GC: Also check the local debug definition section

    Extend

    commit b7c871edcd83ccdc5fcd8148a7f433efd6b52255
    Author: H.J. Lu <address@hidden>
    Date:   Wed May 17 07:57:15 2017 -0700

        Mark debug sections referenced by kept debug sections

    to handle the local debug definition section.

    bfd/

        PR ld/20882
        * elflink.c (elf_gc_mark_debug_section): Also check the local
        debug definition section.

    ld/

        PR ld/20882
        * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
        section.
        * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.

    (cherry picked from commit 9e223787a474c672c5f1cfd4574857241ae4eafa)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]