aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-03-09 15:34:50 +0000
committerlloyd <[email protected]>2011-03-09 15:34:50 +0000
commit6be6268bbcd19f1017d13442007801c23f4696db (patch)
treeead6f9e3a0ba2954e2fdb8d39f798e9abd63ca69 /src/build-data
parent41da07c02a36add833965be5ddc60ef1cf089beb (diff)
Somewhat improved ARM support/autodetection
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/arch/arm.txt43
-rw-r--r--src/build-data/cc/gcc.txt2
2 files changed, 27 insertions, 18 deletions
diff --git a/src/build-data/arch/arm.txt b/src/build-data/arch/arm.txt
index 77f15b1d9..ec0dd775c 100644
--- a/src/build-data/arch/arm.txt
+++ b/src/build-data/arch/arm.txt
@@ -1,25 +1,34 @@
<submodels>
-arm2
-arm3
-arm6
-arm7
-arm8
-arm9
-strongarm
-strongarm110
-strongarm1100
-xscale
-cortex-a8
-cortex-a9
+armv2
+armv2a
+armv3
+armv3m
+armv4
+armv5
+armv5e
+armv5te
+armv6
+armv6j
+armv6t2
+armv6z
+armv6zk
+armv6-m
+armv7
+armv7-a
+armv7-r
+armv7-m
+iwmmxt
+iwmmxt2
+ep9312
</submodels>
<submodel_aliases>
-sa110 -> strongarm110
-sa1100 -> strongarm1100
-strongarm1110 -> strongarm1100
-armv5tel -> xscale
+strongarm -> armv4
+xscale -> armv5te
+cortex-a8 -> armv7-a
+cortex-a9 -> armv7-a
</submodel_aliases>
<isa_extn>
-neon:cortex-a8,cortex-a9
+neon:armv7-a
</isa_extn>
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index c60b9c6bb..01fae60d1 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -57,7 +57,7 @@ alpha-ev7 -> "-mcpu=ev6"
# before it's put into SUBMODEL.
alpha -> "-mcpu=SUBMODEL" alpha-
amd64 -> "-march=SUBMODEL -momit-leaf-frame-pointer"
-arm -> "-mcpu=SUBMODEL"
+arm -> "-march=SUBMODEL"
ia32 -> "-march=SUBMODEL -momit-leaf-frame-pointer"
ia64 -> "-mtune=SUBMODEL"
hppa -> "-march=SUBMODEL" hppa