OSDN Git Service

Pizza-lize :-)
authorMasaki Muranaka <monaka@monami-ya.jp>
Thu, 15 May 2014 06:28:00 +0000 (15:28 +0900)
committerMasaki Muranaka <monaka@monami-ya.jp>
Thu, 15 May 2014 06:28:00 +0000 (15:28 +0900)
gcc/config.gcc
gcc/config/arm/t-arm-elf
gcc/config/i386/driver-i386.c
gcc/config/rs6000/rs6000.h
libgcc/config.host

index 9503b96..9f70998 100644 (file)
@@ -1902,6 +1902,11 @@ mips-*-elf* | mipsel-*-elf*)
        tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
        tmake_file="mips/t-elf"
        ;;
+mips64-*-toppers* | mips64el-*-toppers*)
+       tm_file="elfos.h ${tm_file} mips/elf.h mips/toppers.h"
+       tmake_file="mips/t-elf mips/t-libgcc-mips16"
+       tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
+       ;;
 mips64-*-elf* | mips64el-*-elf*)
        tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
        tmake_file="mips/t-elf"
index 25b7acb..78ba311 100644 (file)
@@ -49,16 +49,16 @@ MULTILIB_EXCEPTIONS    += *mthumb/*mfloat-abi=hard*
 # MULTILIB_DIRNAMES   += ep9312
 # MULTILIB_EXCEPTIONS += *mthumb/*mcpu=ep9312*
 #      
-MULTILIB_OPTIONS     += mlittle-endian/mbig-endian
-MULTILIB_DIRNAMES    += le be
-MULTILIB_MATCHES     += mbig-endian=mbe mlittle-endian=mle
+MULTILIB_OPTIONS     += mlittle-endian/mbig-endian
+MULTILIB_DIRNAMES    += le be
+MULTILIB_MATCHES     += mbig-endian=mbe mlittle-endian=mle
 # 
-MULTILIB_OPTIONS    += mfloat-abi=hard/mfloat-abi=soft
-MULTILIB_DIRNAMES   += fpu soft
-MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard*
+MULTILIB_OPTIONS    += mfloat-abi=hard/mfloat-abi=soft
+MULTILIB_DIRNAMES   += fpu soft
+MULTILIB_EXCEPTIONS += *mthumb/*mfloat-abi=hard*
 # 
-MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
-MULTILIB_DIRNAMES   += normal interwork
+MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
+MULTILIB_DIRNAMES   += normal interwork
 # 
 # MULTILIB_OPTIONS    += fno-leading-underscore/fleading-underscore
 # MULTILIB_DIRNAMES   += elf under
index c7151eb..1c005f8 100644 (file)
@@ -24,7 +24,7 @@ along with GCC; see the file COPYING3.  If not see
 
 const char *host_detect_local_cpu (int argc, const char **argv);
 
-#ifdef __GNUC__
+#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
 #include "cpuid.h"
 
 struct cache_desc
index ed76345..90ef117 100644 (file)
 /* -mcpu=native handling only makes sense with compiler running on
    an PowerPC chip.  If changing this condition, also change
    the condition in driver-rs6000.c.  */
-#if defined(__powerpc__) || defined(__POWERPC__) || defined(_AIX)
+#if 0 /* defined(__powerpc__) || defined(__POWERPC__) || defined(_AIX) */
 /* In driver-rs6000.c.  */
 extern const char *host_detect_local_cpu (int argc, const char **argv);
 #define EXTRA_SPEC_FUNCTIONS \
index b64da4a..d8e7255 100644 (file)
@@ -808,6 +808,8 @@ mips*-*-rtems*)
        ;;
 mips-wrs-vxworks)
        ;;
+mips*-*-toppers*)
+       ;;
 mipstx39-*-elf* | mipstx39el-*-elf*)
        tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
        ;;