Received: from eggs.gnu.org ([208.118.235.92]:35596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD3fa-0008Uh-O4 for qemu-devel@nongnu.org; Tue, 05 Mar 2013 21:01:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UD3fX-000651-42 for qemu-devel@nongnu.org; Tue, 05 Mar 2013 21:01:26 -0500 Received: from cantor2.suse.de ([195.135.220.15]:43333 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UD3fW-00064d-TO for qemu-devel@nongnu.org; Tue, 05 Mar 2013 21:01:23 -0500 From: Alexander Graf Date: Wed, 6 Mar 2013 03:01:20 +0100 Message-Id: <1362535280-5068-13-git-send-email-agraf@suse.de> In-Reply-To: <1362535280-5068-1-git-send-email-agraf@suse.de> References: <1362535280-5068-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 12/12] ARM: Add arm64 target to configure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel qemu-devel Cc: Peter Maydell , Riku Voipio If we want to compile a target machine type that is AArch64 capable, we need to add a new 64-bit capable ARM target. To make things easily understandable, I call this arm64. That way we are 1) Compatible with Linux 2) In line with the other targets in QEMU Signed-off-by: Alexander Graf --- configure | 9 +++++++++ linux-user/Makefile.objs | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 2f98c5a..a7541d3 100755 --- a/configure +++ b/configure @@ -3987,6 +3987,15 @@ case "$target_arch2" in target_llong_alignment=4 target_libs_softmmu="$fdt_libs" ;; + arm64) + TARGET_BASE_ARCH=arm + TARGET_ABI_DIR=arm + bflt="yes" + target_nptl="yes" + gdb_xml_files="aarch64-core.xml aarch64-fpu.xml" + target_long_alignment=8 + target_libs_softmmu="$fdt_libs" + ;; cris) target_nptl="yes" ;; diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs index 5899d72..7a2cb94 100644 --- a/linux-user/Makefile.objs +++ b/linux-user/Makefile.objs @@ -4,4 +4,5 @@ obj-y = main.o syscall.o strace.o mmap.o signal.o \ obj-$(TARGET_HAS_BFLT) += flatload.o obj-$(TARGET_I386) += vm86.o obj-$(TARGET_ARM) += arm/nwfpe/ +obj-$(TARGET_ARM64) += arm/nwfpe/ obj-$(TARGET_M68K) += m68k-sim.o -- 1.6.0.2