This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gold commit] PR 17731: Fix bug where SECTIONS clause does not handle compressed debug sections


When laying out .debug_* sections, we translate the names of compressed
debug sections that start with ".zdebug", but when processing input
section specs in a linker script, we do not handle the translation there.
This results in an internal error as reported in PR 17731.

-cary


2015-06-11  Cary Coutant  <ccoutant@gmail.com>

gold/
        PR gold/17731
        * layout.cc (corresponding_uncompressed_section_name): New function.
        (Layout::choose_output_section): Call it.
        * layout.h (corresponding_uncompressed_section_name): New function.
        * script-sections.cc (Input_section_info::set_section_name): Check
        for compressed debug section (.zdebug style).

Attachment: script-zdebug.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]