--- gcc/config.gcc.orig 2015-05-21 20:50:59 UTC +++ gcc/config.gcc @@ -2118,6 +2118,18 @@ mipstx39-*-elf* | mipstx39el-*-elf*) tm_file="elfos.h newlib-stdint.h ${tm_file} mips/r3900.h mips/elf.h" tmake_file="mips/t-r3900" ;; +mipsallegrex-*-elf* | mipsallegrexel-*-elf*) + tm_file="elfos.h ${tm_file} mips/elf.h" + tmake_file=mips/t-allegrex + target_cpu_default="MASK_SINGLE_FLOAT|MASK_DIVIDE_BREAKS" + tm_defines="MIPS_ISA_DEFAULT=2 MIPS_CPU_STRING_DEFAULT=\\\"allegrex\\\" MIPS_ABI_DEFAULT=ABI_EABI" + case ${target} in + mipsallegrex*-psp-elf*) + tm_file="${tm_file} mips/psp.h" + ;; + esac + use_fixproto=yes + ;; mmix-knuth-mmixware) tm_file="${tm_file} newlib-stdint.h" need_64bit_hwint=yes