patches/binutils/2.19.1a/190-mips64-defaultemul.patch
author Matthieu Crapet <mcrapet@gmail.com>
Wed Jun 06 12:03:12 2012 +0200 (2012-06-06)
changeset 2991 252ade1e9e17
parent 1816 ab179fab1409
permissions -rw-r--r--
libc/eglibc: fix missing LIBC_TRY_CC_OPTION definition (eglibc 2.15)

Upstream SVN is currently broken:
http://www.eglibc.org/svn/branches/eglibc-2_15/libc/

LIBC_TRY_CC_OPTION macro is not defined in aclocal.m4.
This patch fix the configure script.

Once upstream branch will be fixed this patch could be reverted.

Related patch (committed to eglibc trunk):
Use autoconf macro for testing compiler options with empty input
http://sourceware.org/ml/libc-alpha/2012-03/msg00816.html

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>

diff -r 1f6c8e4b2b92 -r d10afc5bcc25
patches/eglibc/2_15/110-aclocal-LIBC_TRY_CC_OPTION.patch
     1 --- binutils-2.20/ld/configure.tgt.orig	2010-02-20 04:05:31.000000000 -0500
     2 +++ binutils-2.20/ld/configure.tgt	2010-02-20 04:08:11.000000000 -0500
     3 @@ -400,11 +400,11 @@
     4  mips*-*-vxworks*)	targ_emul=elf32ebmipvxworks
     5  		        targ_extra_emuls="elf32elmipvxworks" ;;
     6  mips*-*-windiss)	targ_emul=elf32mipswindiss ;;
     7 -mips64*el-*-linux-*)	targ_emul=elf32ltsmipn32
     8 -			targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"
     9 +mips64*el-*-linux-*)	targ_emul=elf64ltsmip
    10 +			targ_extra_emuls="elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip elf64btsmip"
    11  			targ_extra_libpath=$targ_extra_emuls ;;
    12 -mips64*-*-linux-*)	targ_emul=elf32btsmipn32
    13 -			targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip"
    14 +mips64*-*-linux-*)	targ_emul=elf64btsmip
    15 +			targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip elf64ltsmip"
    16  			targ_extra_libpath=$targ_extra_emuls ;;
    17  mips*el-*-linux-*)	targ_emul=elf32ltsmip
    18  			targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip"