Re: [Qemu-devel] [PATCH 00/19] multi-arch+linux-user: Cleanup ELF_MACHINE

2015-09-07 Thread Peter Crosthwaite
On Mon, Sep 7, 2015 at 2:54 AM, Paolo Bonzini wrote: > > > On 16/08/2015 01:28, Peter Crosthwaite wrote: >> Every arch defines ELF_MACHINE in cpu.h to an arch-specific value. This >> definition is rarely needed by core code (only in a few cases). It >> conflicts with the multi-arch effort where cp

Re: [Qemu-devel] [PATCH 00/19] multi-arch+linux-user: Cleanup ELF_MACHINE

2015-09-07 Thread Paolo Bonzini
On 16/08/2015 01:28, Peter Crosthwaite wrote: > Every arch defines ELF_MACHINE in cpu.h to an arch-specific value. This > definition is rarely needed by core code (only in a few cases). It > conflicts with the multi-arch effort where cpu.h cannot export cpu > specifics via macros like this. So re

Re: [Qemu-devel] [PATCH 00/19] multi-arch+linux-user: Cleanup ELF_MACHINE

2015-08-22 Thread Paolo Bonzini
On 20/08/2015 00:50, Riku Voipio wrote: > On Sat, Aug 15, 2015 at 04:28:10PM -0700, Peter Crosthwaite wrote: >> Peter Crosthwaite (19): >> linux_user: elfload: Default ELF_MACHINE to ELF_ARCH >> linux-user: elfload: Provide default for elf_check_arch >> arm: Remove ELF_MACHINE from cpu.h >>

Re: [Qemu-devel] [PATCH 00/19] multi-arch+linux-user: Cleanup ELF_MACHINE

2015-08-20 Thread Riku Voipio
On Sat, Aug 15, 2015 at 04:28:10PM -0700, Peter Crosthwaite wrote: > Peter Crosthwaite (19): > linux_user: elfload: Default ELF_MACHINE to ELF_ARCH > linux-user: elfload: Provide default for elf_check_arch > arm: Remove ELF_MACHINE from cpu.h > mb: Remove ELF_MACHINE from cpu.h > m68k: Re

Re: [Qemu-devel] [PATCH 00/19] multi-arch+linux-user: Cleanup ELF_MACHINE

2015-08-18 Thread Richard Henderson
On 08/15/2015 04:28 PM, Peter Crosthwaite wrote: > Peter Crosthwaite (19): > linux_user: elfload: Default ELF_MACHINE to ELF_ARCH > linux-user: elfload: Provide default for elf_check_arch > arm: Remove ELF_MACHINE from cpu.h > mb: Remove ELF_MACHINE from cpu.h > m68k: Remove ELF_MACHINE f

[Qemu-devel] [PATCH 00/19] multi-arch+linux-user: Cleanup ELF_MACHINE

2015-08-15 Thread Peter Crosthwaite
Every arch defines ELF_MACHINE in cpu.h to an arch-specific value. This definition is rarely needed by core code (only in a few cases). It conflicts with the multi-arch effort where cpu.h cannot export cpu specifics via macros like this. So remove ELF_MACHINE completely from all the cpu.h's. Linux