aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/arch/sparc64.txt2
-rw-r--r--src/build-data/cc/gcc.txt2
-rw-r--r--src/build-data/cc/sunstudio.txt6
3 files changed, 8 insertions, 2 deletions
diff --git a/src/build-data/arch/sparc64.txt b/src/build-data/arch/sparc64.txt
index e20d0fde6..3a6acd6c3 100644
--- a/src/build-data/arch/sparc64.txt
+++ b/src/build-data/arch/sparc64.txt
@@ -4,6 +4,8 @@ family sparc
<submodels>
ultrasparc
ultrasparc3
+niagra
+niagra2
</submodels>
<submodel_aliases>
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index e7cbec514..aadb3ad1f 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -68,7 +68,7 @@ ia64 -> "-mtune=SUBMODEL"
m68k -> "-mSUBMODEL"
mips32 -> "-mips1 -mcpu=SUBMODEL" mips32-
mips64 -> "-mips3 -mcpu=SUBMODEL" mips64-
-ppc -> "-mcpu=SUBMODEL" ppc
+ppc32 -> "-mcpu=SUBMODEL" ppc
ppc64 -> "-mcpu=SUBMODEL" ppc
sparc32 -> "-mcpu=SUBMODEL -Wa,-xarch=v8plus" sparc32-
sparc64 -> "-mcpu=v9 -mtune=SUBMODEL"
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index e7e4ca522..43e5fcf8a 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -40,8 +40,12 @@ nehalem -> "-xtarget=nehalem"
sparc32-v9 -> "-xchip=ultra -xarch=v8"
+ultrasparc3 -> "-xchip=ultra3"
+niagra1 -> "-xchip=ultraT1"
+niagra2 -> "-xchip=ultraT2"
+
sparc32 -> "-xchip=ultra -xarch=SUBMODEL" sparc32-
-sparc64 -> "-xchip=SUBMODEL" sparc64-
+sparc64 -> "-xchip=generic"
</mach_opt>
<mach_abi_linking>