Re: [Qemu-devel] [PATCH v3 28/35] arm: Remove ELF_MACHINE from cpu.h

2015-08-15 Thread Peter Crosthwaite
On Sat, Jul 18, 2015 at 5:33 AM, Paolo Bonzini wrote: > > > On 18/07/2015 11:40, Peter Crosthwaite wrote: >> From: Peter Crosthwaite >> >> The only generic code relying on this is linux-user. Linux user already >> has a lot of #ifdef TARGET_ customisation so just define ELF_MACHINE >> locally the

Re: [Qemu-devel] [PATCH v3 28/35] arm: Remove ELF_MACHINE from cpu.h

2015-07-18 Thread Paolo Bonzini
On 18/07/2015 11:40, Peter Crosthwaite wrote: > From: Peter Crosthwaite > > The only generic code relying on this is linux-user. Linux user already > has a lot of #ifdef TARGET_ customisation so just define ELF_MACHINE > locally there. > > The armv7m bootloader can just pass EM_ARM directly, a

[Qemu-devel] [PATCH v3 28/35] arm: Remove ELF_MACHINE from cpu.h

2015-07-18 Thread Peter Crosthwaite
From: Peter Crosthwaite The only generic code relying on this is linux-user. Linux user already has a lot of #ifdef TARGET_ customisation so just define ELF_MACHINE locally there. The armv7m bootloader can just pass EM_ARM directly, as that is architecture specific code. This remove another arc