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: [committed, PATCH] Add EM_386/EM_IAMCU support to elfedit.c


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


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