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: [elfcpp][PATCH] Change ch_type to Elf_Word in struct Chdr_data<64>


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.


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