diff -Naur gcc-4.4.7.orig/configure gcc-4.4.7/configure
--- gcc-4.4.7.orig/configure	2011-04-18 14:07:10.000000000 -0400
+++ gcc-4.4.7/configure	2011-04-18 14:07:28.000000000 -0400
@@ -2597,7 +2597,7 @@
   m68k-apollo-*)
     noconfigdirs="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
     ;;
-  mips*-sde-elf* | mips*-nlm-elf*)
+  mips*-sde-elf* | mips*-nlm-elf* | mips*-timesys-elf*)
     skipdirs="$skipdirs target-libiberty"
     noconfigdirs="$noconfigdirs ${libgcj}"
     if test x$with_newlib = xyes; then
diff -Naur gcc-4.4.7.orig/gcc/config.gcc gcc-4.4.7/gcc/config.gcc
--- gcc-4.4.7.orig/gcc/config.gcc	2011-04-18 14:07:10.000000000 -0400
+++ gcc-4.4.7/gcc/config.gcc	2011-04-18 14:07:28.000000000 -0400
@@ -1590,6 +1590,15 @@
 		mipsisa64r2*-*-linux*)
 			tm_defines="${tm_defines} MIPS_ISA_DEFAULT=65"
 			;;
+		mips64*-timesys-linux*)
+        case ${with_arch} in
+        xlp)
+			    tm_file="${tm_file} mips/linux64nlm.h"
+			    tmake_file="${tmake_file} mips/t-linux64-nlm"
+			    tm_defines="${tm_defines} MIPS_CPU_STRING_DEFAULT=\\\"xlp\\\" MIPS_ISA_DEFAULT=65"
+        ;;
+      esac
+			;;
 	esac
 	gnu_ld=yes
 	gas=yes
@@ -1651,7 +1660,7 @@
 	    ;;
 	esac
 	;;
-mips64*-nlm-elf*)
+mips64*-nlm-elf* | mips64*-timesys-elf*)
    tm_file="elfos.h ${tm_file} mips/elf.h mips/elfnlm.h"
    tmake_file="mips/t-elf mips/t-nlm"
    tm_defines="${tm_defines} MIPS_ISA_DEFAULT=65 MIPS_ABI_DEFAULT=ABI_32 MIPS_CPU_STRING_DEFAULT=\\\"xlp\\\""
