aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-05-13 22:32:59 -0600
committerPeter Maydell <peter.maydell@linaro.org>2013-05-20 19:13:22 +0100
commit3b403f6c1ed0978797232f83b643e62721dc9df1 (patch)
treebfee5570c9713b20c6e18ef1b0c8f9e973d19db3
parenta112c315af7023bd394fcdb4bb2e486145bd0856 (diff)
downloadqemu-arm-3b403f6c1ed0978797232f83b643e62721dc9df1.tar.gz
ARM: Add aarch64 target to configure
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 <agraf@suse.de> Signed-off-by: John Rigby <john.rigby@linaro.org> Message-id: 1368505980-17151-12-git-send-email-john.rigby@linaro.org
-rwxr-xr-xconfigure8
-rw-r--r--linux-user/Makefile.objs1
2 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 89c74a0bd7..02c7c74125 100755
--- a/configure
+++ b/configure
@@ -4156,6 +4156,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 5899d72d3e..c8709d645d 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