bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/21857] --compress-debug-sections=zlib-gabi breaks --build-id=s


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/21857] --compress-debug-sections=zlib-gabi breaks --build-id=sha1
Date: Fri, 28 Jul 2017 20:44:32 +0000

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

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

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

commit d718bb321cafa764df79648a8f4b57ab73e35452
Author: H.J. Lu <address@hidden>
Date:   Fri Jul 28 13:39:42 2017 -0700

    gold: Add put_ch_reserved to 64-bit Chdr_write

    The 64-bit ELF compression header has a reserved field.  It should be
    cleared to avoid random bits in it.

    elfcpp/

        PR gold/21857
        * elfcpp.h (Chdr_write): Add put_ch_reserved.
        (Chdr_write<64, true>::put_ch_reserved): New.
        (Chdr_write<64, false>::put_ch_reserved): Likewise.

    gold/

        PR gold/21857
        * compressed_output.cc
(Output_compressed_section::set_final_data_size):
        Call put_ch_reserved to clear the reserved field for 64-bit ELF.

    (cherry picked from commit 49ba15a23a9d3d8a109ce2fd5053822eee7f1fdf)

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