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
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
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
>>
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
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
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