Received: from eggs.gnu.org ([2001:4830:134:3::10]:46903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRRD6-0002v9-Bo for qemu-devel@nongnu.org; Mon, 17 Aug 2015 16:40:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRRD5-000446-Ab for qemu-devel@nongnu.org; Mon, 17 Aug 2015 16:40:48 -0400 Received: from hall.aurel32.net ([2001:bc8:30d7:100::1]:34948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRRD4-00043p-Qo for qemu-devel@nongnu.org; Mon, 17 Aug 2015 16:40:47 -0400 Date: Mon, 17 Aug 2015 22:40:43 +0200 From: Aurelien Jarno Message-ID: <20150817204043.GB20477@aurel32.net> References: <13537cfda908ed9c9f452c893bb7f4e133212589.1439679104.git.crosthwaite.peter@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13537cfda908ed9c9f452c893bb7f4e133212589.1439679104.git.crosthwaite.peter@gmail.com> Subject: Re: [Qemu-devel] [PATCH 16/19] mips: Remove ELF_MACHINE from cpu.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: pbonzini@redhat.com, riku.voipio@iki.fi, Leon Alrae , qemu-devel@nongnu.org, Peter Crosthwaite On 2015-08-15 16:28, Peter Crosthwaite wrote: > From: Peter Crosthwaite > > The only generic code relying on this is linux-user, but linux users' > default behaviour of defaulting ELF_MACHINE to ELF_ARCH will handle > this. > > The bootloaders can just pass EM_MIPS directly, as that is > architecture specific code. > > This removes another architecture specific definition from the global > namespace. > > Cc: Aurelien Jarno > Cc: Leon Alrae > Signed-off-by: Peter Crosthwaite > --- > hw/mips/mips_fulong2e.c | 2 +- > hw/mips/mips_malta.c | 2 +- > hw/mips/mips_mipssim.c | 2 +- > hw/mips/mips_r4k.c | 2 +- > target-mips/cpu.h | 2 -- > 5 files changed, 4 insertions(+), 6 deletions(-) Reviewed-by: Aurelien Jarno -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net