aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-01 01:54:17 +0000
committerlloyd <[email protected]>2008-10-01 01:54:17 +0000
commit55691ff4310d622075e40093694b1af84bc1ad3c (patch)
tree10f9e1b5e204d6812d3b7ac69316e0d621dddfdf /src/build-data
parentb60b290c061545e6f040b20db4590d2d8b7c329f (diff)
Rename sh to hitachi-sh - make regexp collisions less likely
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/arch/hitachi-sh11
-rw-r--r--src/build-data/arch/sh11
-rw-r--r--src/build-data/cc/gcc2
3 files changed, 12 insertions, 12 deletions
diff --git a/src/build-data/arch/hitachi-sh b/src/build-data/arch/hitachi-sh
new file mode 100644
index 000000000..8e9f7eee3
--- /dev/null
+++ b/src/build-data/arch/hitachi-sh
@@ -0,0 +1,11 @@
+realname "Hitachi SH"
+
+default_submodel hitachi-sh1
+
+<submodels>
+hitachi-sh1
+hitachi-sh2
+hitachi-sh3
+hitachi-sh3e
+hitachi-sh4
+</submodels>
diff --git a/src/build-data/arch/sh b/src/build-data/arch/sh
deleted file mode 100644
index 8f0998fd6..000000000
--- a/src/build-data/arch/sh
+++ /dev/null
@@ -1,11 +0,0 @@
-realname "Hitachi SH"
-
-default_submodel sh1
-
-<submodels>
-sh1
-sh2
-sh3
-sh3e
-sh4
-</submodels>
diff --git a/src/build-data/cc/gcc b/src/build-data/cc/gcc
index 78f78b132..4194892a7 100644
--- a/src/build-data/cc/gcc
+++ b/src/build-data/cc/gcc
@@ -59,7 +59,7 @@ ia32 -> "-march=SUBMODEL -momit-leaf-frame-pointer"
ia64 -> "-mtune=SUBMODEL"
hppa -> "-march=SUBMODEL" hppa
m68k -> "-mSUBMODEL"
-sh -> "-mSUBMODEL" sh
+hitachi-sh -> "-mSUBMODEL" hitachi-sh
sparc32 -> "-mcpu=SUBMODEL -Wa,-xarch=v8plus" sparc32-
sparc64 -> "-mcpu=v9 -mtune=ultrasparc"
mips32 -> "-mips1 -mcpu=SUBMODEL" mips32-