[Top][All Lists]

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

[Bug binutils/18656] unable to initialize decompress status for section

From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/18656] unable to initialize decompress status for section .debug_info
Date: Fri, 10 Jul 2015 21:43:19 +0000


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


commit 889884731e09b46e4c2ecb051dfde1e2f69d2b47
Author: H.J. Lu <address@hidden>
Date:   Fri Jul 10 14:20:20 2015 -0700

    Properly convert objects between different ELF classes

    The output SHF_COMPRESSED section size is different from input if
    ELF classes of input and output aren't the same.  We must adjust
    the section sizes as well as the compression headers in
    SHF_COMPRESSED sections when converting objects between different
    ELF classes.


         PR binutils/18656
         * bfd.c (bfd_convert_section_size): New function.
         (bfd_convert_section_contents): Likewise.
         * bfd-in2.h: Regenerated.


    2015-07-10  H.J. Lu  <address@hidden>

         PR binutils/18656
         * objcopy.c (setup_section): Call bfd_convert_section_size
         to get the output section size.
         (copy_section): Get the section size from the output section
         and call bfd_get_full_section_contents to convert section
         contents for output.


         PR binutils/18656
         * binutils-all/compress.exp (convert_test): New proc.
         Run conversion tests between x86-64 and x32.

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]