From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePAY-0002gD-Mf for qemu-devel@nongnu.org; Tue, 22 Sep 2015 11:07:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZePAX-0001Iv-T8 for qemu-devel@nongnu.org; Tue, 22 Sep 2015 11:07:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZePAX-0001Ir-Nr for qemu-devel@nongnu.org; Tue, 22 Sep 2015 11:07:45 -0400 From: Paolo Bonzini Date: Tue, 22 Sep 2015 17:06:00 +0200 Message-Id: <1442934371-12567-38-git-send-email-pbonzini@redhat.com> In-Reply-To: <1442934371-12567-1-git-send-email-pbonzini@redhat.com> References: <1442934371-12567-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 37/48] 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: Peter Crosthwaite , Guan Xuetao , 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 Reviewed-by: Richard Henderson Acked-By: Riku Voipio Signed-off-by: Peter Crosthwaite Signed-off-by: Paolo Bonzini --- target-unicore32/cpu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h index 121e528..01c370c 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" -- 2.5.0