This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [elfcpp][PATCH] Change ch_type to Elf_Word in struct Chdr_data<64>
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Cc: Cary Coutant <ccoutant at gmail dot com>
- Date: Sun, 4 Oct 2015 06:17:12 -0700
- Subject: Re: [elfcpp][PATCH] Change ch_type to Elf_Word in struct Chdr_data<64>
- Authentication-results: sourceware.org; auth=none
- References: <20150921173124 dot GA29905 at intel dot com>
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.