From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQksh-0006aP-G8 for qemu-devel@nongnu.org; Sat, 15 Aug 2015 19:28:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQksd-0000a3-I2 for qemu-devel@nongnu.org; Sat, 15 Aug 2015 19:28:55 -0400 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:34328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQksd-0000ZI-Br for qemu-devel@nongnu.org; Sat, 15 Aug 2015 19:28:51 -0400 Received: by paccq16 with SMTP id cq16so38650043pac.1 for ; Sat, 15 Aug 2015 16:28:50 -0700 (PDT) From: Peter Crosthwaite Date: Sat, 15 Aug 2015 16:28:18 -0700 Message-Id: In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 08/19] unicore: Remove ELF_MACHINE from cpu.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Guan Xuetao , pbonzini@redhat.com, Peter Crosthwaite , riku.voipio@iki.fi, 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: Guan Xuetao Signed-off-by: Peter Crosthwaite --- target-unicore32/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index 45e31e5..3c06996 100644 --- a/target-unicore32/cpu.h +++ b/target-unicore32/cpu.h @@ -17,8 +17,6 @@ #define TARGET_PHYS_ADDR_SPACE_BITS 32 #define TARGET_VIRT_ADDR_SPACE_BITS 32 -#define ELF_MACHINE EM_UNICORE32 - #define CPUArchState struct CPUUniCore32State #include "config.h" -- 1.9.1