- Timestamp:
- 2009-03-16T22:58:11Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be6038b
- Parents:
- f36c061
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/toolchain/toolchain.mipseb32.sh
rf36c061 r656b789 20 20 fi 21 21 22 BINUTILS_VERSION="2.19 "23 GCC_VERSION="4.3. 2"22 BINUTILS_VERSION="2.19.1" 23 GCC_VERSION="4.3.3" 24 24 25 25 BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz" … … 33 33 PLATFORM="mips" 34 34 WORKDIR=`pwd` 35 TARGET="${PLATFORM}- sgi-irix5"35 TARGET="${PLATFORM}-linux-gnu" 36 36 PREFIX="${CROSS_PREFIX}/${PLATFORM}" 37 37 BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}" … … 85 85 cd "${BINUTILSDIR}" 86 86 check_error $? "Change directory failed." 87 patch -p1 <<EOF88 diff -Naur binutils-2.19.orig/bfd/elfxx-mips.c binutils-2.19/bfd/elfxx-mips.c89 --- binutils-2.19.orig/bfd/elfxx-mips.c 2008-08-18 20:14:04.000000000 +020090 +++ binutils-2.19/bfd/elfxx-mips.c 2009-01-18 18:14:47.292011299 +010091 @@ -1409,7 +1409,7 @@92 function, or 0 if we can't decide which function that is. */93 94 static unsigned long95 -mips16_stub_symndx (asection *sec, const Elf_Internal_Rela *relocs,96 +mips16_stub_symndx (asection *sec __attribute__((unused)), const Elf_Internal_Rela *relocs,97 const Elf_Internal_Rela *relend)98 {99 const Elf_Internal_Rela *rel;100 EOF101 check_error $? "Error patching binutils"102 87 ./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" "--disable-nls" 103 88 check_error $? "Error configuring binutils."
Note:
See TracChangeset
for help on using the changeset viewer.