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]

Re: [gold][PATCH] PR gold/18321: gold doesn't support SHF_COMPRESSED sections


On Fri, Apr 24, 2015 at 7:59 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> This patch adds SHF_COMPRESSED section decompression to gold.  OK for
> master?
>
> Cary, your old email address is still used in binutils/MAINTAINERS:
>
>   GOLD             Cary Coutant <ccoutant@google.com>
>
> H.J.
> --
>         PR gold/18321
>         * object.h (Compressed_section_info): Add flag to store sh_flags.
>         * object.cc (build_compressed_section_map): Check SHF_COMPRESSED
>         for compression header.  Store sh_flags in Compressed_section_info.
>         (Sized_relobj_file<size, big_endian>::do_find_special_section):
>         Also check ".debug_*" sections.
>         (Object::decompressed_section_contents): Check SHF_COMPRESSED
>         for compression header.
>         * reloc.cc (Sized_relobj_file<size, big_endian>::write_sections):
>         Check SHF_COMPRESSED for compression header.
>         * testsuite/Makefile.am (check_DATA): Add
>         debug_msg_cdebug_gabi.err and gdb_index_test_2_gabi.stdout.
>         (MOSTLYCLEANFILES): Add debug_msg_cdebug_gabi.err and
>         gdb_index_test_2_gabi.stdout.
>         (debug_msg_cdebug_gabi.o): New.
>         (odr_violation1_cdebug_gabi.o): Likewise.
>         (odr_violation2_cdebug_gabi.o): Likewise.
>         (debug_msg_cdebug_gabi.err): Likewise.
>         (check_SCRIPTS): Add gdb_index_test_2_gabi.sh.
>         (gdb_index_test_cdebug_gabi.o): Likewise.
>         (gdb_index_test_2_gabi): Likewise.
>         (gdb_index_test_2_gabi.stdout): Likewise.
>         * testsuite/gdb_index_test_2_gabi.sh: New file.
>         * testsuite/Makefile.in: Regenerated.
> ---

I will check it in if there is no objection next week.

-- 
H.J.


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