aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-10-16 12:12:49 +0200
committerSimon Warta <[email protected]>2015-10-16 12:12:49 +0200
commitf257cb324614adb5f9266ca185ab2bfeb64b1dd4 (patch)
treeebc1e2bea4a77f194dbd69f8d76d44df52336e09 /src/build-data
parentbe33a49c734b5b83cbf64fa132c062ba8643bbe1 (diff)
parentdb96431235190ebe7ec50ddbc73d3a05e4e712d0 (diff)
Merge pull request #298 from tiwoc/arm64
Support for 64 bit ARM
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/arch/arm32.txt (renamed from src/build-data/arch/arm.txt)2
-rw-r--r--src/build-data/arch/arm64.txt12
-rw-r--r--src/build-data/cc/gcc.txt3
3 files changed, 15 insertions, 2 deletions
diff --git a/src/build-data/arch/arm.txt b/src/build-data/arch/arm32.txt
index 81ecc05c3..67be376d6 100644
--- a/src/build-data/arch/arm.txt
+++ b/src/build-data/arch/arm32.txt
@@ -1,8 +1,8 @@
-
endian little
family arm
<aliases>
+arm
armel # For Debian
armhf # For Debian
evbarm # For NetBSD
diff --git a/src/build-data/arch/arm64.txt b/src/build-data/arch/arm64.txt
new file mode 100644
index 000000000..362cf88d3
--- /dev/null
+++ b/src/build-data/arch/arm64.txt
@@ -0,0 +1,12 @@
+endian little
+wordsize 64
+
+family arm
+
+<aliases>
+aarch64
+</aliases>
+
+<submodels>
+armv8-a
+</submodels>
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 877ce4d58..4eacacef2 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -91,7 +91,8 @@ sh4 -> "-m4 -mieee"
# *removed* from the submodel name before it's put into SUBMODEL.
alpha -> "-mcpu=SUBMODEL" alpha-
-arm -> "-march=SUBMODEL"
+arm32 -> "-march=SUBMODEL"
+arm64 -> "-march=SUBMODEL"
superh -> "-mSUBMODEL" sh
hppa -> "-march=SUBMODEL" hppa
ia64 -> "-mtune=SUBMODEL"