aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-09-08 03:03:40 +0000
committerlloyd <[email protected]>2006-09-08 03:03:40 +0000
commit4af8b8d5467a55ff70553d11981558a46c5c628b (patch)
tree1634d258d22591b48c814cd9960d7f556ffed652
parent391323a4c9b97156f793fd09ee39c737a9a0cd75 (diff)
Improve handling of Itanium option generation for GCC
-rw-r--r--misc/config/arch/ia646
-rw-r--r--misc/config/cc/gcc1
2 files changed, 5 insertions, 2 deletions
diff --git a/misc/config/arch/ia64 b/misc/config/arch/ia64
index e13a0d61a..73b42a8c8 100644
--- a/misc/config/arch/ia64
+++ b/misc/config/arch/ia64
@@ -1,6 +1,6 @@
realname "IA-64"
-default_submodel ia64
+default_submodel itanium1
<aliases>
merced
@@ -8,5 +8,7 @@ itanium
</aliases>
<submodels>
-ia64
+itanium1
+itanium2
+mckinley
</submodels>
diff --git a/misc/config/cc/gcc b/misc/config/cc/gcc
index 4514a8c6c..d8e561e12 100644
--- a/misc/config/cc/gcc
+++ b/misc/config/cc/gcc
@@ -52,6 +52,7 @@ alpha -> "-mcpu=SUBMODEL" alpha-
amd64 -> ""
arm -> "-mcpu=SUBMODEL"
ia32 -> "-march=SUBMODEL"
+ia64 -> "-mtune=SUBMODEL"
hppa -> "-march=SUBMODEL" hppa
m68k -> "-mSUBMODEL"
sh -> "-mSUBMODEL" sh