Changeset 656b789 in mainline for contrib


Ignore:
Timestamp:
2009-03-16T22:58:11Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be6038b
Parents:
f36c061
Message:

resurrect big endian support for mips32: switch from mips-sgi-irix5 toolchain to mips-linux-gnu
the kernel is working alright, the user space has some bugs yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/toolchain/toolchain.mipseb32.sh

    rf36c061 r656b789  
    2020fi
    2121
    22 BINUTILS_VERSION="2.19"
    23 GCC_VERSION="4.3.2"
     22BINUTILS_VERSION="2.19.1"
     23GCC_VERSION="4.3.3"
    2424
    2525BINUTILS="binutils-${BINUTILS_VERSION}.tar.gz"
     
    3333PLATFORM="mips"
    3434WORKDIR=`pwd`
    35 TARGET="${PLATFORM}-sgi-irix5"
     35TARGET="${PLATFORM}-linux-gnu"
    3636PREFIX="${CROSS_PREFIX}/${PLATFORM}"
    3737BINUTILSDIR="${WORKDIR}/binutils-${BINUTILS_VERSION}"
     
    8585cd "${BINUTILSDIR}"
    8686check_error $? "Change directory failed."
    87 patch -p1 <<EOF
    88 diff -Naur binutils-2.19.orig/bfd/elfxx-mips.c binutils-2.19/bfd/elfxx-mips.c
    89 --- binutils-2.19.orig/bfd/elfxx-mips.c 2008-08-18 20:14:04.000000000 +0200
    90 +++ binutils-2.19/bfd/elfxx-mips.c      2009-01-18 18:14:47.292011299 +0100
    91 @@ -1409,7 +1409,7 @@
    92     function, or 0 if we can't decide which function that is.  */
    93  
    94  static unsigned long
    95 -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 EOF
    101 check_error $? "Error patching binutils"
    10287./configure "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" "--disable-nls"
    10388check_error $? "Error configuring binutils."
Note: See TracChangeset for help on using the changeset viewer.