Skip to contentSkip to conversation

ARM: Add aarch64 target to configure

PATCH Superseded John Rigby 1 participant 1 message Apr 30, 2013

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

John Rigby

author
#0 lore raw

PATCH v2 11/12 ARM: Add aarch64 target to configure

From: Alexander Graf <[email protected]>

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.

---
 configure                |    8 ++++++++
 linux-user/Makefile.objs |    1 +
 2 files changed, 9 insertions(+)
configure +8 -0
index 21438d4..87ed42d 100755
@@ -4185,6 +4185,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=arm
+    bflt="yes"
+    target_nptl="yes"
+    gdb_xml_files="aarch64-core.xml aarch64-fpu.xml"
+    target_long_alignment=8
+  ;;
   cris)
     target_nptl="yes"
   ;;
linux-user/Makefile.objs +1 -0
index 5899d72..c8709d6 100644
@@ -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
Signature · 1 line
1.7.9.5