diff options
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/config.host | 4 | ||||
-rw-r--r-- | libgcc/config/mips/mips16.S | 9 |
3 files changed, 13 insertions, 5 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index ea0057f..efd08c4 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com> + + * config.host: Support mipsisa32r6 and mipsisa64r6. + * config/mips/mips16.S: Do not build for R6. + 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org> * config/sh/crt.h: New. diff --git a/libgcc/config.host b/libgcc/config.host index 9903d15..b10d725 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -827,8 +827,10 @@ mips*-sde-elf*) ;; mipsisa32-*-elf* | mipsisa32el-*-elf* | \ mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \ +mipsisa32r6-*-elf* | mipsisa32r6el-*-elf* | \ mipsisa64-*-elf* | mipsisa64el-*-elf* | \ -mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*) +mipsisa64r2-*-elf* | mipsisa64r2el-*-elf* | \ +mipsisa64r6-*-elf* | mipsisa64r6el-*-elf*) tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16" extra_parts="$extra_parts crti.o crtn.o" ;; diff --git a/libgcc/config/mips/mips16.S b/libgcc/config/mips/mips16.S index c0c73ff..1783d11 100644 --- a/libgcc/config/mips/mips16.S +++ b/libgcc/config/mips/mips16.S @@ -23,12 +23,13 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "auto-host.h" -#if defined(__mips_micromips) || defined(__mips_soft_float) +#if defined(__mips_micromips) || defined(__mips_soft_float) \ + || __mips_isa_rev >= 6 /* Do nothing because this code is only needed when linking against mips16 hard-float objects. Neither micromips code - nor soft-float code can be linked against mips16 hard-float - objects so we do not need these routines when building libgcc - for those cases. */ + nor soft-float nor MIPS R6 code can be linked against mips16 + hard-float objects so we do not need these routines when + building libgcc for those cases. */ #else #if defined(HAVE_AS_MODULE) |