bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/18087] objcopy --compress-debug-sections can produce broke


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries
Date: Wed, 18 Mar 2015 15:49:15 +0000

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <address@hidden>:

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

commit 273a49858fa9c8d73de87167618ef99d70f9731a
Author: Jon Turney <address@hidden>
Date:   Wed Mar 18 15:47:13 2015 +0000

    Fix debug section compression so that it is only performed if it would make
the section smaller.

        PR binutils/18087
    gas    * doc/as.texinfo: Note that when gas compresses debug sections the
        compression is only performed if it makes the section smaller.
        * write.c (compress_debug): Do not compress a debug section if
        doing so would make it larger.

    tests    * gas/i386/dw2-compress-1.d: Do not expect the .debug_abbrev or
        .debug_info sections to be compressed.

    binu    * doc/binutils.texi: Note that when objcopy compresses debug
        sections the compression is only performed if it makes the section
        smaller.

    bfd    * coffgen.c (make_a_section_from_file): Only prepend a z to a
        debug section's name if the section was actually compressed.
        * elf.c (_bfd_elf_make_section_from_shdr): Likewise.
        * compress.c (bfd_init_section_compress_status): Do not compress
        the section if doing so would make it bigger.  In such cases leave
        the section alone and return COMPRESS_SECTION_NONE.

-- 
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]