[elfcpp][PATCH] Change ch_type to Elf_Word in struct Chdr_data<64>
H.J. Lu
hjl.tools@gmail.com
Sun Oct 4 13:17:00 GMT 2015
On Mon, Sep 21, 2015 at 10:31 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> The ch_type field in struct Chdr_data<64> is 4 bytes, followed by a
> 4-byte padding. This change doesn't introduce any functional change
> since only the lower 32 bits of the ch_type field are used.
>
> OK for master?
>
> H.J.
> ---
> * elfcpp.h (Chdr::get_ch_type): Change return type to Elf_Word.
> * elfcpp_internal.h (Chdr_data<64>): Change ch_type to 4 bytes
> and add ch_reserved.
I checked in this patch to fix:
https://sourceware.org/bugzilla/show_bug.cgi?id=19060
--
H.J.
More information about the Binutils
mailing list