This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: elfutils-devel at sourceware dot org
- Date: Wed, 28 Nov 2018 14:57:17 +0000
- Subject: [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment
- Auto-submitted: auto-generated
- References: <bug-23919-10460@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23919
--- Comment #10 from Mark Wielaard <mark at klomp dot org> ---
(In reply to cvs-commit@gcc.gnu.org from comment #6)
> The master branch has been updated by H.J. Lu <hjl@sourceware.org>:
>
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=131a5a648d314cd15811158150573cb40eb3abd0
>
> commit 131a5a648d314cd15811158150573cb40eb3abd0
> Author: H.J. Lu <hjl.tools@gmail.com>
> Date: Tue Nov 27 06:02:36 2018 -0800
>
> Initialize *uncompressed_align_pow_p to 0
>
> Initialize *uncompressed_align_pow_p to 0 since *uncompressed_align_pow_p
> is passed to bfd_is_section_compressed_with_header as uninitialized,
>
> PR binutils/23919
> * compress.c (bfd_is_section_compressed_with_header): Initialize
> *uncompressed_align_pow_p to 0.
I think this is correct, the uncompressed_align_pow_p wasn't set explicitly
when the compressed section was gnu-zlib, in which case the alignment has to be
assumed to be always 1.
--
You are receiving this mail because:
You are on the CC list for the bug.