From: Masaki Muranaka Date: Thu, 15 May 2014 06:28:00 +0000 (+0900) Subject: Pizza-lize :-) X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=c3b9d1ee7ecfd265d480520892bab1df7e822e47 Pizza-lize :-) --- diff --git a/gcc/config.gcc b/gcc/config.gcc index 9503b96cfc3..9f70998b8af 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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" diff --git a/gcc/config/arm/t-arm-elf b/gcc/config/arm/t-arm-elf index 25b7acb5da4..78ba311ed00 100644 --- a/gcc/config/arm/t-arm-elf +++ b/gcc/config/arm/t-arm-elf @@ -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 diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c index c7151eb3058..1c005f8e6c1 100644 --- a/gcc/config/i386/driver-i386.c +++ b/gcc/config/i386/driver-i386.c @@ -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 diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index ed76345051d..90ef1173fe6 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -203,7 +203,7 @@ /* -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 \ diff --git a/libgcc/config.host b/libgcc/config.host index b64da4a26d9..d8e72553915 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -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" ;;