Index: contrib/toolchain/toolchain.mipseb32.sh
===================================================================
--- contrib/toolchain/toolchain.mipseb32.sh	(revision d9167a1c0ca5ffac0dfafd7929c3ec64d38d1a47)
+++ contrib/toolchain/toolchain.mipseb32.sh	(revision 656b789da2d7f7f9eb0de7c8dc55ec4fba5a0f9d)
@@ -20,6 +20,6 @@
 fi
 
-BINUTILS_VERSION="2.19"
-GCC_VERSION="4.3.2"
+BINUTILS_VERSION="2.19.1"
+GCC_VERSION="4.3.3"
 
 BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
@@ -33,5 +33,5 @@
 PLATFORM="mips"
 WORKDIR=`pwd`
-TARGET="${PLATFORM}-sgi-irix5"
+TARGET="${PLATFORM}-linux-gnu"
 PREFIX="${CROSS_PREFIX}/${PLATFORM}"
 BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
@@ -85,19 +85,4 @@
 cd "${BINUTILSDIR}"
 check_error $? "Change directory failed."
-patch -p1 <<EOF
-diff -Naur binutils-2.19.orig/bfd/elfxx-mips.c binutils-2.19/bfd/elfxx-mips.c
---- binutils-2.19.orig/bfd/elfxx-mips.c	2008-08-18 20:14:04.000000000 +0200
-+++ binutils-2.19/bfd/elfxx-mips.c	2009-01-18 18:14:47.292011299 +0100
-@@ -1409,7 +1409,7 @@
-    function, or 0 if we can't decide which function that is.  */
- 
- static unsigned long
--mips16_stub_symndx (asection *sec, const Elf_Internal_Rela *relocs,
-+mips16_stub_symndx (asection *sec __attribute__((unused)), const Elf_Internal_Rela *relocs,
- 		    const Elf_Internal_Rela *relend)
- {
-   const Elf_Internal_Rela *rel;
-EOF
-check_error $? "Error patching binutils"
 ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" "--disable-nls"
 check_error $? "Error configuring binutils."
