qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 11/12] ARM: Add aarch64 target to configure


From: John Rigby
Subject: [Qemu-devel] [PATCH v4 11/12] ARM: Add aarch64 target to configure
Date: Mon, 13 May 2013 22:32:59 -0600

From: Alexander Graf <address@hidden>

If we want to compile a target machine type that is AArch64 capable,
we need to add a new 64-bit capable ARM target. Use AArch64 since that
is the official ARM LTD name.

Signed-off-by: Alexander Graf <address@hidden>
Signed-off-by: John Rigby <address@hidden>
---

Changes in v3:
- Arch aarch64 gets its own TARGET_ABI_DIR

 configure                | 8 ++++++++
 linux-user/Makefile.objs | 1 +
 2 files changed, 9 insertions(+)

diff --git a/configure b/configure
index cab6332..6113cfe 100755
--- a/configure
+++ b/configure
@@ -4200,6 +4200,14 @@ case "$target_arch2" in
     target_nptl="yes"
     gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml"
   ;;
+  aarch64)
+    TARGET_BASE_ARCH=arm
+    TARGET_ABI_DIR=aarch64
+    bflt="yes"
+    target_nptl="yes"
+    gdb_xml_files="aarch64-core.xml aarch64-fpu.xml"
+    target_long_alignment=8
+  ;;
   cris)
     target_nptl="yes"
   ;;
diff --git a/linux-user/Makefile.objs b/linux-user/Makefile.objs
index 5899d72..c8709d6 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_AARCH64) += arm/nwfpe/
 obj-$(TARGET_M68K) += m68k-sim.o
-- 
1.8.2.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]