From 6b97d4b061b07f036dc3f823d6cd082fa67a71bb Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 12 May 2011 13:28:28 +0000 Subject: Renaming the ppc target to ppc32 prevented -mcpu flags from being set by GCC. Add Niagra targets for sparc, and extend/fix the Sun Studio flags for SPARC64. --- src/build-data/cc/gcc.txt | 2 +- src/build-data/cc/sunstudio.txt | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/build-data/cc') 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" -- cgit v1.2.3