From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQksr-0006uG-2b for qemu-devel@nongnu.org; Sat, 15 Aug 2015 19:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQkso-0000fp-Aq for qemu-devel@nongnu.org; Sat, 15 Aug 2015 19:29:05 -0400 Received: from mail-pd0-x234.google.com ([2607:f8b0:400e:c02::234]:35736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQkso-0000fh-3p for qemu-devel@nongnu.org; Sat, 15 Aug 2015 19:29:02 -0400 Received: by pdrg1 with SMTP id g1so42616022pdr.2 for ; Sat, 15 Aug 2015 16:29:01 -0700 (PDT) From: Peter Crosthwaite Date: Sat, 15 Aug 2015 16:28:23 -0700 Message-Id: <9666ba208c7b96b990398bc1b49f078292ca1990.1439679104.git.crosthwaite.peter@gmail.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 13/19] sh4: Remove ELF_MACHINE from cpu.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, Peter Crosthwaite , riku.voipio@iki.fi, Aurelien Jarno , Peter Crosthwaite 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. This removes another architecture specific definition from the global namespace. Cc: Aurelien Jarno Signed-off-by: Peter Crosthwaite --- target-sh4/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-sh4/cpu.h b/target-sh4/cpu.h index 34bb3d7..e2913b8 100644 --- a/target-sh4/cpu.h +++ b/target-sh4/cpu.h @@ -24,8 +24,6 @@ #define TARGET_LONG_BITS 32 -#define ELF_MACHINE EM_SH - /* CPU Subtypes */ #define SH_CPU_SH7750 (1 << 0) #define SH_CPU_SH7750S (1 << 1) -- 1.9.1