aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-03-06 03:01:20 +0100
committerJohn Rigby <john.rigby@linaro.org>2013-05-14 12:50:26 -0600
commit95892bda2689ee796ed86dc84cef6844ac957bca (patch)
treeb4ae72a650b97de36ed55276e4b67c34ca401434
parent4fe6cafff8e0e2abe401fd91abe048c818172a1d (diff)
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>
-rwxr-xr-xconfigure8
-rw-r--r--linux-user/Makefile.objs1
2 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index cab633299..6113cfe30 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 5899d72d3..c8709d645 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