This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [committed, PATCH] Add EM_386/EM_IAMCU support to elfedit.c
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 13 May 2015 18:24:02 +0930
- Subject: Re: [committed, PATCH] Add EM_386/EM_IAMCU support to elfedit.c
- Authentication-results: sourceware.org; auth=none
- References: <20150511165957 dot GA26245 at intel dot com>
On Mon, May 11, 2015 at 09:59:57AM -0700, H.J. Lu wrote:
> binutils/
>
> * elfedit.c (enum elfclass): New.
> (input_elf_class): Change type to enum elfclass.
> (output_elf_class): New.
> (elf_class): Change return type to enum elfclass. Support EM_386
> and EM_IAMCU.
> (update_elf_header): Check if input and output ELF classes match.
> (elf_machine): Support EM_386 and EM_IAMCU.
> (main): Update input_elf_class. Set output_elf_class.
> * doc/binutils.texi: Update elfedit.
This change broke powerpc64-linux and probably every ELF target
other than x86.
--
Alan Modra
Australia Development Lab, IBM