bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23919] bfd doesn't handle ELF compressed data alignment


From: mark at klomp dot org
Subject: [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment
Date: Wed, 28 Nov 2018 14:57:17 +0000

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

--- Comment #10 from Mark Wielaard <mark at klomp dot org> ---
(In reply to address@hidden from comment #6)
> The master branch has been updated by H.J. Lu <address@hidden>:
> 
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
> h=131a5a648d314cd15811158150573cb40eb3abd0
> 
> commit 131a5a648d314cd15811158150573cb40eb3abd0
> Author: H.J. Lu <address@hidden>
> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]