Re: [Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-29 Thread Peter Crosthwaite
On Mon, Aug 17, 2015 at 8:48 PM, Richard Henderson wrote: > On 08/17/2015 08:36 PM, Peter Crosthwaite wrote: >> >> On Mon, Aug 17, 2015 at 11:39 AM, Richard Henderson >> wrote: >>> >>> On 08/15/2015 04:28 PM, Peter Crosthwaite wrote: - ELF_MACHINE, 0); +

Re: [Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-23 Thread Peter Maydell
On 23 August 2015 at 07:49, Peter Crosthwaite wrote: > just periodically sync the headers from binutils Careful, binutils is GPLv3, which isn't compatible with QEMU's overall GPLv2 license. It's OK to look at binutils to find the information to write the relevant QEMU code, but copying it wholesa

Re: [Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-22 Thread Peter Crosthwaite
On Mon, Aug 17, 2015 at 8:48 PM, Richard Henderson wrote: > On 08/17/2015 08:36 PM, Peter Crosthwaite wrote: >> >> On Mon, Aug 17, 2015 at 11:39 AM, Richard Henderson >> wrote: >>> >>> On 08/15/2015 04:28 PM, Peter Crosthwaite wrote: - ELF_MACHINE, 0); +

Re: [Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-18 Thread Richard Henderson
On 08/15/2015 04:28 PM, Peter Crosthwaite wrote: > - ELF_MACHINE, 0); > + 0xFEED /* EM_MOXIE */, 0); Please add EM_MOXIE to include/elf.h. r~

Re: [Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-18 Thread Peter Crosthwaite
On Mon, Aug 17, 2015 at 11:39 AM, Richard Henderson wrote: > On 08/15/2015 04:28 PM, Peter Crosthwaite wrote: >> - ELF_MACHINE, 0); >> + 0xFEED /* EM_MOXIE */, 0); > > Please add EM_MOXIE to include/elf.h. > So according to this blog, Moxie actu

Re: [Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-18 Thread Richard Henderson
On 08/17/2015 08:36 PM, Peter Crosthwaite wrote: On Mon, Aug 17, 2015 at 11:39 AM, Richard Henderson wrote: On 08/15/2015 04:28 PM, Peter Crosthwaite wrote: - ELF_MACHINE, 0); + 0xFEED /* EM_MOXIE */, 0); Please add EM_MOXIE to include/elf.

[Qemu-devel] [PATCH 07/19] moxie: Remove ELF_MACHINE from cpu.h

2015-08-15 Thread Peter Crosthwaite
From: Peter Crosthwaite The bootloader can just pass EM_MOXIE directly, as that is architecture specific code. This removes another architecture specific definition from the global namespace. Cc: Anthony Green Signed-off-by: Peter Crosthwaite --- hw/moxie/moxiesim.c | 2 +- target-moxie/cpu.