From 715bcfe3701e5ee3e12ee4af9c868a9bbf441525 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Mon, 28 Nov 2011 10:20:10 -0800 Subject: binutils: upgrade from 2.21.1a to 2.22 And rebase the patches to the newer source code This patch is upstream hence deleting it from the recipe. binutils/110-arm-eabi-conf.patch Signed-off-by: Nitin A Kamble --- .../binutils/binutils-cross-canadian_2.21.1a.bb | 3 - .../binutils/binutils-cross-canadian_2.22.bb | 3 + .../binutils/binutils-cross_2.21.1a.bb | 2 - .../binutils/binutils-cross_2.22.bb | 2 + .../binutils/binutils-crosssdk_2.21.1a.bb | 12 - .../binutils/binutils-crosssdk_2.22.bb | 12 + .../binutils/binutils/110-arm-eabi-conf.patch | 24 - .../binutils/binutils-2.19.1-ld-sysroot.patch | 10 +- .../binutils/binutils/binutils-poison.patch | 84 ++- .../binutils/binutils/binutils-powerpc-e5500.patch | 52 +- .../binutils/binutils-uclibc-100-uclibc-conf.patch | 40 +- ...binutils-uclibc-300-001_ld_makefile_patch.patch | 16 +- ...binutils-uclibc-300-006_better_file_error.patch | 9 +- ...ils-uclibc-300-012_check_ldrunpath_length.patch | 12 +- .../binutils/binutils-uclibc-gas-needs-libm.patch | 11 +- .../binutils/binutils-x86_64_i386_biarch.patch | 10 +- .../binutils/binutils/clone-shadow.patch | 18 +- .../binutils/binutils/libiberty_path_fix.patch | 8 +- .../binutils/binutils/libtool-2.4-update.patch | 803 ++++++++++----------- .../binutils/binutils/libtool-rpath-fix.patch | 11 +- meta/recipes-devtools/binutils/binutils_2.21.1a.bb | 42 -- meta/recipes-devtools/binutils/binutils_2.22.bb | 39 + 22 files changed, 594 insertions(+), 629 deletions(-) delete mode 100644 meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb create mode 100644 meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb delete mode 100644 meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb create mode 100644 meta/recipes-devtools/binutils/binutils-cross_2.22.bb delete mode 100644 meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb create mode 100644 meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb delete mode 100644 meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch delete mode 100644 meta/recipes-devtools/binutils/binutils_2.21.1a.bb create mode 100644 meta/recipes-devtools/binutils/binutils_2.22.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb deleted file mode 100644 index a49adedad6..0000000000 --- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb +++ /dev/null @@ -1,3 +0,0 @@ -require binutils_${PV}.bb -require binutils-cross-canadian.inc -PR = "r2" diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb new file mode 100644 index 0000000000..7dad2a620b --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb @@ -0,0 +1,3 @@ +require binutils_${PV}.bb +require binutils-cross-canadian.inc +PR = "r0" diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb b/meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb deleted file mode 100644 index 01d99db419..0000000000 --- a/meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb +++ /dev/null @@ -1,2 +0,0 @@ -require binutils_${PV}.bb -require binutils-cross.inc diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.22.bb b/meta/recipes-devtools/binutils/binutils-cross_2.22.bb new file mode 100644 index 0000000000..01d99db419 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils-cross_2.22.bb @@ -0,0 +1,2 @@ +require binutils_${PV}.bb +require binutils-cross.inc diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb deleted file mode 100644 index 21289cd4ec..0000000000 --- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb +++ /dev/null @@ -1,12 +0,0 @@ -require binutils-cross_${PV}.bb - -inherit crosssdk - -PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" - -PR = "r1" - -do_configure_prepend () { - sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt -} - diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb new file mode 100644 index 0000000000..0d6efffa2f --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb @@ -0,0 +1,12 @@ +require binutils-cross_${PV}.bb + +inherit crosssdk + +PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" + +PR = "r0" + +do_configure_prepend () { + sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt +} + diff --git a/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch b/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch deleted file mode 100644 index dc496137d0..0000000000 --- a/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch +++ /dev/null @@ -1,24 +0,0 @@ -Upstream-Status: Pending - ---- /tmp/configure.ac 2008-06-22 14:14:59.000000000 +0200 -+++ binutils-2.18.50.0.7/configure.ac 2008-06-22 14:15:30.000000000 +0200 -@@ -561,7 +561,7 @@ - noconfigdirs="$noconfigdirs target-libffi target-qthreads" - libgloss_dir=arm - ;; -- arm*-*-linux-gnueabi) -+ arm*-*-linux-gnueabi | arm*-*-linux-uclibceabi) - noconfigdirs="$noconfigdirs target-qthreads" - noconfigdirs="$noconfigdirs target-libobjc" - case ${with_newlib} in ---- /tmp/configure 2008-06-22 14:17:11.000000000 +0200 -+++ binutils-2.18.50.0.7/configure 2008-06-22 14:17:56.000000000 +0200 -@@ -2307,7 +2307,7 @@ - noconfigdirs="$noconfigdirs target-libffi target-qthreads" - libgloss_dir=arm - ;; -- arm*-*-linux-gnueabi) -+ arm*-*-linux-gnueabi | arm*-*-linux-uclibceabi) - noconfigdirs="$noconfigdirs target-qthreads" - noconfigdirs="$noconfigdirs target-libobjc" - case ${with_newlib} in diff --git a/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch index 1a640eac39..5e6be3a653 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch @@ -6,13 +6,13 @@ Signed-off-by: Sven Rebhan Always try to prepend the sysroot prefix to absolute filenames first. -Index: binutils-2.21/ld/ldfile.c +Index: binutils-2.22/ld/ldfile.c =================================================================== ---- binutils-2.21.orig/ld/ldfile.c -+++ binutils-2.21/ld/ldfile.c -@@ -372,18 +372,24 @@ ldfile_open_file_search (const char *arc +--- binutils-2.22.orig/ld/ldfile.c ++++ binutils-2.22/ld/ldfile.c +@@ -351,18 +351,24 @@ ldfile_open_file_search (const char *arc directory first. */ - if (! entry->is_archive) + if (! entry->maybe_archive) { - if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename)) + /* For absolute pathnames, try to always open the file in the diff --git a/meta/recipes-devtools/binutils/binutils/binutils-poison.patch b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch index 759aa88c59..7f81838f72 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-poison.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch @@ -52,9 +52,10 @@ Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 Signed-off-by: Mark Hatle Signed-off-by: Scott Garman -diff -urN binutils-2.21.orig//ld/config.in binutils-2.21/ld/config.in ---- binutils-2.21.orig//ld/config.in 2010-11-05 03:34:27.000000000 -0700 -+++ binutils-2.21/ld/config.in 2011-01-19 10:48:15.147301022 -0800 +Index: binutils-2.22/ld/config.in +=================================================================== +--- binutils-2.22.orig/ld/config.in ++++ binutils-2.22/ld/config.in @@ -4,6 +4,9 @@ language is requested. */ #undef ENABLE_NLS @@ -65,10 +66,11 @@ diff -urN binutils-2.21.orig//ld/config.in binutils-2.21/ld/config.in /* Additional extension a shared object might have. */ #undef EXTRA_SHLIB_EXTENSION -diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure ---- binutils-2.21.orig//ld/configure 2011-01-19 10:46:46.997571921 -0800 -+++ binutils-2.21/ld/configure 2011-01-19 11:03:50.577832729 -0800 -@@ -768,6 +768,7 @@ +Index: binutils-2.22/ld/configure +=================================================================== +--- binutils-2.22.orig/ld/configure ++++ binutils-2.22/ld/configure +@@ -776,6 +776,7 @@ with_lib_path enable_targets enable_64_bit_bfd with_sysroot @@ -76,7 +78,7 @@ diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure enable_gold enable_got enable_werror -@@ -1418,6 +1419,8 @@ +@@ -1431,6 +1432,8 @@ Optional Features: (and sometimes confusing) to the casual installer --enable-targets alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) @@ -85,7 +87,7 @@ diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-got= GOT handling scheme (target, single, negative, multigot) -@@ -4203,7 +4206,18 @@ +@@ -4342,7 +4345,18 @@ else fi @@ -104,10 +106,11 @@ diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure # Check whether --enable-got was given. if test "${enable_got+set}" = set; then : -diff -urN binutils-2.21.orig//ld/configure.in binutils-2.21/ld/configure.in ---- binutils-2.21.orig//ld/configure.in 2010-11-23 05:50:32.000000000 -0800 -+++ binutils-2.21/ld/configure.in 2011-01-19 10:50:57.378398946 -0800 -@@ -69,6 +69,16 @@ +Index: binutils-2.22/ld/configure.in +=================================================================== +--- binutils-2.22.orig/ld/configure.in ++++ binutils-2.22/ld/configure.in +@@ -70,6 +70,16 @@ AC_SUBST(use_sysroot) AC_SUBST(TARGET_SYSTEM_ROOT) AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) @@ -124,10 +127,11 @@ diff -urN binutils-2.21.orig//ld/configure.in binutils-2.21/ld/configure.in dnl Use --enable-gold to decide if this linker should be the default. dnl "install_as_default" is set to false if gold is the default linker. dnl "installed_linker" is the installed BFD linker name. -diff -urN binutils-2.21.orig//ld/ldfile.c binutils-2.21/ld/ldfile.c ---- binutils-2.21.orig//ld/ldfile.c 2011-01-19 10:46:47.157553281 -0800 -+++ binutils-2.21/ld/ldfile.c 2011-01-19 10:58:30.035468447 -0800 -@@ -124,6 +124,23 @@ +Index: binutils-2.22/ld/ldfile.c +=================================================================== +--- binutils-2.22.orig/ld/ldfile.c ++++ binutils-2.22/ld/ldfile.c +@@ -125,6 +125,23 @@ ldfile_add_library_path (const char *nam { new_dirs->name = xstrdup (name); new_dirs->sysrooted = is_sysrooted_pathname (name, FALSE); @@ -151,12 +155,13 @@ diff -urN binutils-2.21.orig//ld/ldfile.c binutils-2.21/ld/ldfile.c } } -diff -urN binutils-2.21.orig//ld/ld.h binutils-2.21/ld/ld.h ---- binutils-2.21.orig//ld/ld.h 2009-11-26 05:45:25.000000000 -0800 -+++ binutils-2.21/ld/ld.h 2011-01-19 10:52:54.814716478 -0800 -@@ -198,6 +198,14 @@ - input files. */ - bfd_boolean accept_unknown_input_arch; +Index: binutils-2.22/ld/ld.h +=================================================================== +--- binutils-2.22.orig/ld/ld.h ++++ binutils-2.22/ld/ld.h +@@ -203,6 +203,14 @@ typedef struct { + /* If TRUE we'll just print the default output on stdout. */ + bfd_boolean print_output_format; + /* If TRUE (the default) warn for uses of system directories when + cross linking. */ @@ -169,10 +174,11 @@ diff -urN binutils-2.21.orig//ld/ld.h binutils-2.21/ld/ld.h /* Big or little endian as set on command line. */ enum endian_enum endian; -diff -urN binutils-2.21.orig//ld/ldmain.c binutils-2.21/ld/ldmain.c ---- binutils-2.21.orig//ld/ldmain.c 2010-11-05 00:20:07.000000000 -0700 -+++ binutils-2.21/ld/ldmain.c 2011-01-19 10:59:18.579767697 -0800 -@@ -259,6 +259,8 @@ +Index: binutils-2.22/ld/ldmain.c +=================================================================== +--- binutils-2.22.orig/ld/ldmain.c ++++ binutils-2.22/ld/ldmain.c +@@ -259,6 +259,8 @@ main (int argc, char **argv) command_line.warn_search_mismatch = TRUE; command_line.check_section_addresses = -1; command_line.disable_target_specific_optimizations = -1; @@ -181,10 +187,11 @@ diff -urN binutils-2.21.orig//ld/ldmain.c binutils-2.21/ld/ldmain.c /* We initialize DEMANGLING based on the environment variable COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff -urN binutils-2.21.orig//ld/ld.texinfo binutils-2.21/ld/ld.texinfo ---- binutils-2.21.orig//ld/ld.texinfo 2010-10-28 04:40:26.000000000 -0700 -+++ binutils-2.21/ld/ld.texinfo 2011-01-19 10:56:04.452567113 -0800 -@@ -2133,6 +2133,18 @@ +Index: binutils-2.22/ld/ld.texinfo +=================================================================== +--- binutils-2.22.orig/ld/ld.texinfo ++++ binutils-2.22/ld/ld.texinfo +@@ -2147,6 +2147,18 @@ string identifying the original linked f Passing @code{none} for @var{style} disables the setting from any @code{--build-id} options earlier on the command line. @@ -203,19 +210,20 @@ diff -urN binutils-2.21.orig//ld/ld.texinfo binutils-2.21/ld/ld.texinfo @end table @c man end -diff -urN binutils-2.21.orig//ld/lexsup.c binutils-2.21/ld/lexsup.c ---- binutils-2.21.orig//ld/lexsup.c 2010-10-27 23:45:33.000000000 -0700 -+++ binutils-2.21/ld/lexsup.c 2011-01-19 11:02:07.799898432 -0800 -@@ -175,6 +175,8 @@ - OPTION_PLUGIN_OPT, +Index: binutils-2.22/ld/lexsup.c +=================================================================== +--- binutils-2.22.orig/ld/lexsup.c ++++ binutils-2.22/ld/lexsup.c +@@ -176,6 +176,8 @@ enum option_values #endif /* ENABLE_PLUGINS */ OPTION_DEFAULT_SCRIPT, + OPTION_PRINT_OUTPUT_FORMAT, + OPTION_NO_POISON_SYSTEM_DIRECTORIES, + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES }; /* The long options. This structure is used for both the option -@@ -603,6 +605,14 @@ +@@ -612,6 +614,14 @@ static const struct ld_option ld_options TWO_DASHES }, { {"wrap", required_argument, NULL, OPTION_WRAP}, '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES }, @@ -230,7 +238,7 @@ diff -urN binutils-2.21.orig//ld/lexsup.c binutils-2.21/ld/lexsup.c }; #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -1518,6 +1528,14 @@ +@@ -1541,6 +1551,14 @@ parse_args (unsigned argc, char **argv) einfo (_("%P%X: --hash-size needs a numeric argument\n")); } break; diff --git a/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch b/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch index 1de164d8b6..cd42a77324 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch @@ -5,11 +5,11 @@ Add support for FSL PowerPC e5500 core. Signed-off-by: Edmar Wienskoski Signed-off-by: Kumar Gala -Index: binutils-2.21.1/bfd/archures.c +Index: binutils-2.22/bfd/archures.c =================================================================== ---- binutils-2.21.1.orig/bfd/archures.c -+++ binutils-2.21.1/bfd/archures.c -@@ -231,6 +231,7 @@ DESCRIPTION +--- binutils-2.22.orig/bfd/archures.c ++++ binutils-2.22/bfd/archures.c +@@ -239,6 +239,7 @@ DESCRIPTION .#define bfd_mach_ppc_e500 500 .#define bfd_mach_ppc_e500mc 5001 .#define bfd_mach_ppc_e500mc64 5005 @@ -17,11 +17,11 @@ Index: binutils-2.21.1/bfd/archures.c .#define bfd_mach_ppc_titan 83 . bfd_arch_rs6000, {* IBM RS/6000 *} .#define bfd_mach_rs6k 6000 -Index: binutils-2.21.1/bfd/bfd-in2.h +Index: binutils-2.22/bfd/bfd-in2.h =================================================================== ---- binutils-2.21.1.orig/bfd/bfd-in2.h -+++ binutils-2.21.1/bfd/bfd-in2.h -@@ -1918,6 +1918,7 @@ enum bfd_architecture +--- binutils-2.22.orig/bfd/bfd-in2.h ++++ binutils-2.22/bfd/bfd-in2.h +@@ -1946,6 +1946,7 @@ enum bfd_architecture #define bfd_mach_ppc_e500 500 #define bfd_mach_ppc_e500mc 5001 #define bfd_mach_ppc_e500mc64 5005 @@ -29,10 +29,10 @@ Index: binutils-2.21.1/bfd/bfd-in2.h #define bfd_mach_ppc_titan 83 bfd_arch_rs6000, /* IBM RS/6000 */ #define bfd_mach_rs6k 6000 -Index: binutils-2.21.1/bfd/cpu-powerpc.c +Index: binutils-2.22/bfd/cpu-powerpc.c =================================================================== ---- binutils-2.21.1.orig/bfd/cpu-powerpc.c -+++ binutils-2.21.1/bfd/cpu-powerpc.c +--- binutils-2.22.orig/bfd/cpu-powerpc.c ++++ binutils-2.22/bfd/cpu-powerpc.c @@ -352,6 +352,20 @@ const bfd_arch_info_type bfd_powerpc_arc FALSE, /* not the default */ powerpc_compatible, @@ -54,11 +54,11 @@ Index: binutils-2.21.1/bfd/cpu-powerpc.c 0 } }; -Index: binutils-2.21.1/gas/config/tc-ppc.c +Index: binutils-2.22/gas/config/tc-ppc.c =================================================================== ---- binutils-2.21.1.orig/gas/config/tc-ppc.c -+++ binutils-2.21.1/gas/config/tc-ppc.c -@@ -1236,6 +1236,7 @@ PowerPC options:\n\ +--- binutils-2.22.orig/gas/config/tc-ppc.c ++++ binutils-2.22/gas/config/tc-ppc.c +@@ -1265,6 +1265,7 @@ PowerPC options:\n\ -me500, -me500x2 generate code for Motorola e500 core complex\n\ -me500mc, generate code for Freescale e500mc core complex\n\ -me500mc64, generate code for Freescale e500mc64 core complex\n\ @@ -66,11 +66,11 @@ Index: binutils-2.21.1/gas/config/tc-ppc.c -mspe generate code for Motorola SPE instructions\n\ -mtitan generate code for AppliedMicro Titan core complex\n\ -mregnames Allow symbolic names for registers\n\ -Index: binutils-2.21.1/gas/doc/as.texinfo +Index: binutils-2.22/gas/doc/as.texinfo =================================================================== ---- binutils-2.21.1.orig/gas/doc/as.texinfo -+++ binutils-2.21.1/gas/doc/as.texinfo -@@ -432,7 +432,7 @@ gcc(1), ld(1), and the Info entries for +--- binutils-2.22.orig/gas/doc/as.texinfo ++++ binutils-2.22/gas/doc/as.texinfo +@@ -434,7 +434,7 @@ gcc(1), ld(1), and the Info entries for [@b{-a32}|@b{-a64}] [@b{-mpwrx}|@b{-mpwr2}|@b{-mpwr}|@b{-m601}|@b{-mppc}|@b{-mppc32}|@b{-m603}|@b{-m604}|@b{-m403}|@b{-m405}| @b{-m440}|@b{-m464}|@b{-m476}|@b{-m7400}|@b{-m7410}|@b{-m7450}|@b{-m7455}|@b{-m750cl}|@b{-mppc64}| @@ -79,11 +79,11 @@ Index: binutils-2.21.1/gas/doc/as.texinfo @b{-mpower4}|@b{-mpr4}|@b{-mpower5}|@b{-mpwr5}|@b{-mpwr5x}|@b{-mpower6}|@b{-mpwr6}| @b{-mpower7}|@b{-mpw7}|@b{-ma2}|@b{-mcell}|@b{-mspe}|@b{-mtitan}|@b{-me300}|@b{-mcom}] [@b{-many}] [@b{-maltivec}|@b{-mvsx}] -Index: binutils-2.21.1/gas/doc/c-ppc.texi +Index: binutils-2.22/gas/doc/c-ppc.texi =================================================================== ---- binutils-2.21.1.orig/gas/doc/c-ppc.texi -+++ binutils-2.21.1/gas/doc/c-ppc.texi -@@ -85,6 +85,9 @@ Generate code for Freescale e500mc core +--- binutils-2.22.orig/gas/doc/c-ppc.texi ++++ binutils-2.22/gas/doc/c-ppc.texi +@@ -88,6 +88,9 @@ Generate code for Freescale e500mc core @item -me500mc64 Generate code for Freescale e500mc64 core complex. @@ -93,10 +93,10 @@ Index: binutils-2.21.1/gas/doc/c-ppc.texi @item -mspe Generate code for Motorola SPE instructions. -Index: binutils-2.21.1/opcodes/ppc-dis.c +Index: binutils-2.22/opcodes/ppc-dis.c =================================================================== ---- binutils-2.21.1.orig/opcodes/ppc-dis.c -+++ binutils-2.21.1/opcodes/ppc-dis.c +--- binutils-2.22.orig/opcodes/ppc-dis.c ++++ binutils-2.22/opcodes/ppc-dis.c @@ -114,6 +114,12 @@ struct ppc_mopt ppc_opts[] = { | PPC_OPCODE_E500MC | PPC_OPCODE_64 | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7), diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch index 3f627c691e..b5a25c2389 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch @@ -1,28 +1,32 @@ Upstream-Status: Pending ---- binutils-2.18.orig/configure -+++ binutils-2.18/configure -@@ -2206,7 +2206,7 @@ - am33_2.0-*-linux*) - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" +Index: binutils-2.22/configure +=================================================================== +--- binutils-2.22.orig/configure ++++ binutils-2.22/configure +@@ -3130,7 +3130,7 @@ case "${target}" in ;; -- sh-*-linux*) -+ sh*-*-linux*) - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" + s390-*-* | s390x-*-*) ;; - sh*-*-pe|mips*-*-pe|*arm-wince-pe) -@@ -2504,7 +2504,7 @@ - romp-*-*) - noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" +- sh-*-* | sh[34]*-*-*) ++ sh*-*-* | sh[34]*-*-*) + ;; + sh64-*-* | sh5*-*-*) + ;; +@@ -3570,7 +3570,7 @@ case "${target}" in + mips*-*-*) + noconfigdirs="$noconfigdirs gprof" ;; - sh-*-* | sh64-*-*) + sh*-*-* | sh64-*-*) - case "${host}" in - i[3456789]86-*-vsta) ;; # don't add gprof back in - i[3456789]86-*-go32*) ;; # don't add gprof back in ---- binutils-2.18.orig/gprof/configure -+++ binutils-2.18/gprof/configure -@@ -4124,6 +4124,11 @@ + case "${target}" in + sh*-*-elf) + ;; +Index: binutils-2.22/gprof/configure +=================================================================== +--- binutils-2.22.orig/gprof/configure ++++ binutils-2.22/gprof/configure +@@ -6103,6 +6103,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch index 07312d70bf..c6e1efcea0 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch @@ -27,9 +27,11 @@ exit 0 Upstream-Status: Inappropriate [debian patch] @DPATCH@ ---- binutils-2.16.91.0.1/ld/Makefile.am -+++ binutils-2.16.91.0.1/ld/Makefile.am -@@ -20,7 +20,7 @@ +Index: binutils-2.22/ld/Makefile.am +=================================================================== +--- binutils-2.22.orig/ld/Makefile.am ++++ binutils-2.22/ld/Makefile.am +@@ -37,7 +37,7 @@ endif # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers. @@ -38,9 +40,11 @@ Upstream-Status: Inappropriate [debian patch] EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ ---- binutils-2.16.91.0.1/ld/Makefile.in -+++ binutils-2.16.91.0.1/ld/Makefile.in -@@ -268,7 +268,7 @@ +Index: binutils-2.22/ld/Makefile.in +=================================================================== +--- binutils-2.22.orig/ld/Makefile.in ++++ binutils-2.22/ld/Makefile.in +@@ -366,7 +366,7 @@ AM_CFLAGS = $(WARN_CFLAGS) # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers. diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch index 35835b3986..47bd8ff109 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch @@ -25,10 +25,11 @@ exit 0 Upstream-Status: Inappropriate [debian patch] @DPATCH@ -diff -urNad /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c binutils-2.14.90.0.6/bfd/opncls.c ---- /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c 2003-07-23 16:08:09.000000000 +0100 -+++ binutils-2.14.90.0.6/bfd/opncls.c 2003-09-10 22:35:00.000000000 +0100 -@@ -150,6 +150,13 @@ +Index: binutils-2.22/bfd/opncls.c +=================================================================== +--- binutils-2.22.orig/bfd/opncls.c ++++ binutils-2.22/bfd/opncls.c +@@ -197,6 +197,13 @@ bfd_fopen (const char *filename, const c { bfd *nbfd; const bfd_target *target_vec; diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch index 3944f2e0b8..d31f80cd3d 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch @@ -25,11 +25,11 @@ exit 0 Upstream-Status: Inappropriate [debian patch] @DPATCH@ -Index: src/ld/emultempl/elf32.em +Index: binutils-2.22/ld/emultempl/elf32.em =================================================================== ---- src.orig/ld/emultempl/elf32.em 2009-09-23 06:54:28.000000000 -0700 -+++ src/ld/emultempl/elf32.em 2009-10-06 10:58:16.883414592 -0700 -@@ -1237,6 +1237,8 @@ fragment <link_next) - { + if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch index 58315798d6..3869faff0e 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch @@ -19,11 +19,11 @@ floatformat.c:(.text+0x43e): undefined reference to `ldexp' collect2: ld returned 1 exit status make[4]: *** [as-new] Error 1 -Index: binutils-2.17.50/gas/configure.tgt +Index: binutils-2.22/gas/configure.tgt =================================================================== ---- binutils-2.17.50.orig/gas/configure.tgt -+++ binutils-2.17.50/gas/configure.tgt -@@ -408,6 +408,12 @@ case ${generic_target} in +--- binutils-2.22.orig/gas/configure.tgt ++++ binutils-2.22/gas/configure.tgt +@@ -428,6 +428,12 @@ case ${generic_target} in *-*-netware) fmt=elf em=netware ;; esac @@ -34,6 +34,5 @@ Index: binutils-2.17.50/gas/configure.tgt +esac + case ${cpu_type} in - alpha | arm | i386 | ia64 | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k) + alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k) bfd_gas=yes - diff --git a/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch index 16c775c550..c09578a787 100644 --- a/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch +++ b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch @@ -9,11 +9,13 @@ # Adapted to binutils 2.18.50.0.7 Upstream-Status: Inappropriate [embedded specific] ---- binutils/ld/emulparams/elf_i386.sh -+++ binutils/ld/emulparams/elf_i386.sh -@@ -12,3 +12,13 @@ +Index: binutils-2.22/ld/emulparams/elf_i386.sh +=================================================================== +--- binutils-2.22.orig/ld/emulparams/elf_i386.sh ++++ binutils-2.22/ld/emulparams/elf_i386.sh +@@ -14,3 +14,13 @@ GENERATE_PIE_SCRIPT=yes + NO_SMALL_DATA=yes SEPARATE_GOTPLT=12 - SHARABLE_SECTIONS=yes IREL_IN_PLT= + +# Linux modify the default library search path to first include diff --git a/meta/recipes-devtools/binutils/binutils/clone-shadow.patch b/meta/recipes-devtools/binutils/binutils/clone-shadow.patch index 2939011c11..73d9db29a5 100644 --- a/meta/recipes-devtools/binutils/binutils/clone-shadow.patch +++ b/meta/recipes-devtools/binutils/binutils/clone-shadow.patch @@ -11,11 +11,11 @@ binutils. Upstream-Status: Pending Signed-off-by: Khem Raj -Index: binutils-2.21.1/gas/config/obj-elf.c +Index: binutils-2.22/gas/config/obj-elf.c =================================================================== ---- binutils-2.21.1.orig/gas/config/obj-elf.c 2011-03-23 07:14:03.000000000 -0700 -+++ binutils-2.21.1/gas/config/obj-elf.c 2011-07-16 19:05:57.003831035 -0700 -@@ -741,10 +741,10 @@ +--- binutils-2.22.orig/gas/config/obj-elf.c ++++ binutils-2.22/gas/config/obj-elf.c +@@ -741,10 +741,10 @@ obj_elf_change_section (const char *name } static bfd_vma @@ -28,7 +28,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c while (len > 0) { -@@ -775,7 +775,7 @@ +@@ -775,7 +775,7 @@ obj_elf_parse_section_letters (char *str attr |= SHF_TLS; break; case '?': @@ -37,7 +37,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c break; /* Compatibility. */ case 'm': -@@ -978,7 +978,7 @@ +@@ -978,7 +978,7 @@ obj_elf_section (int push) if (*input_line_pointer == '"') { @@ -46,7 +46,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c beg = demand_copy_C_string (&dummy); if (beg == NULL) -@@ -986,7 +986,7 @@ +@@ -986,7 +986,7 @@ obj_elf_section (int push) ignore_rest_of_line (); return; } @@ -55,7 +55,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c SKIP_WHITESPACE (); if (*input_line_pointer == ',') -@@ -1038,10 +1038,10 @@ +@@ -1038,10 +1038,10 @@ obj_elf_section (int push) attr &= ~SHF_MERGE; } @@ -68,7 +68,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c } if ((attr & SHF_GROUP) != 0 && *input_line_pointer == ',') { -@@ -1063,7 +1063,7 @@ +@@ -1063,7 +1063,7 @@ obj_elf_section (int push) attr &= ~SHF_GROUP; } diff --git a/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch index 3772dfbed7..6e732fbd0a 100644 --- a/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch +++ b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch @@ -6,11 +6,11 @@ Thanks to RP for helping find the source code causing the issue. 2010/08/13 Nitin A Kamble -Index: binutils-2.20.1/libiberty/Makefile.in +Index: binutils-2.22/libiberty/Makefile.in =================================================================== ---- binutils-2.20.1.orig/libiberty/Makefile.in -+++ binutils-2.20.1/libiberty/Makefile.in -@@ -327,7 +327,8 @@ install: install_to_$(INSTALL_DEST) inst +--- binutils-2.22.orig/libiberty/Makefile.in ++++ binutils-2.22/libiberty/Makefile.in +@@ -350,7 +350,8 @@ install-strip: install # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the # default multilib, so we have to take CFLAGS into account as well, # since it will be passed the multilib flags. diff --git a/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch index fc1735e0d9..0f27361e4b 100644 --- a/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch +++ b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch @@ -1,9 +1,9 @@ Upstream-Status: Inappropriate [embedded specific] -Index: binutils-2.21.1/libtool.m4 +Index: binutils-2.22/libtool.m4 =================================================================== ---- binutils-2.21.1.orig/libtool.m4 -+++ binutils-2.21.1/libtool.m4 +--- binutils-2.22.orig/libtool.m4 ++++ binutils-2.22/libtool.m4 @@ -1,7 +1,8 @@ # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # @@ -371,7 +371,7 @@ Index: binutils-2.21.1/libtool.m4 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -2333,7 +2474,7 @@ haiku*) +@@ -2329,7 +2470,7 @@ haiku*) soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes @@ -380,7 +380,7 @@ Index: binutils-2.21.1/libtool.m4 hardcode_into_libs=yes ;; -@@ -2941,6 +3082,11 @@ case $reload_flag in +@@ -2937,6 +3078,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in @@ -392,7 +392,7 @@ Index: binutils-2.21.1/libtool.m4 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -3007,7 +3153,8 @@ mingw* | pw32*) +@@ -3003,7 +3149,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else @@ -402,7 +402,7 @@ Index: binutils-2.21.1/libtool.m4 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -3158,6 +3305,21 @@ tpf*) +@@ -3154,6 +3301,21 @@ tpf*) ;; esac ]) @@ -424,7 +424,7 @@ Index: binutils-2.21.1/libtool.m4 file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown -@@ -3165,7 +3327,11 @@ test -z "$deplibs_check_method" && depli +@@ -3161,7 +3323,11 @@ test -z "$deplibs_check_method" && depli _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], @@ -437,7 +437,7 @@ Index: binutils-2.21.1/libtool.m4 ])# _LT_CHECK_MAGIC_METHOD -@@ -3268,6 +3434,67 @@ dnl aclocal-1.4 backwards compatibility: +@@ -3264,6 +3430,67 @@ dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) @@ -505,7 +505,7 @@ Index: binutils-2.21.1/libtool.m4 # LT_LIB_M # -------- -@@ -3394,8 +3621,8 @@ esac +@@ -3390,8 +3617,8 @@ esac lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address @@ -516,7 +516,7 @@ Index: binutils-2.21.1/libtool.m4 # Handle CRLF in mingw tool chain opt_cr= -@@ -3431,6 +3658,7 @@ for ac_symprfx in "" "_"; do +@@ -3427,6 +3654,7 @@ for ac_symprfx in "" "_"; do else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi @@ -524,7 +524,7 @@ Index: binutils-2.21.1/libtool.m4 # Check to see that the pipe works correctly. pipe_works=no -@@ -3464,6 +3692,18 @@ _LT_EOF +@@ -3460,6 +3688,18 @@ _LT_EOF if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext @@ -543,7 +543,7 @@ Index: binutils-2.21.1/libtool.m4 #ifdef __cplusplus extern "C" { #endif -@@ -3475,7 +3715,7 @@ _LT_EOF +@@ -3471,7 +3711,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ @@ -552,7 +552,7 @@ Index: binutils-2.21.1/libtool.m4 const char *name; void *address; } -@@ -3501,15 +3741,15 @@ static const void *lt_preloaded_setup() +@@ -3497,15 +3737,15 @@ static const void *lt_preloaded_setup() _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext @@ -572,7 +572,7 @@ Index: binutils-2.21.1/libtool.m4 else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi -@@ -3542,6 +3782,13 @@ else +@@ -3538,6 +3778,13 @@ else AC_MSG_RESULT(ok) fi @@ -586,7 +586,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], -@@ -3552,6 +3799,8 @@ _LT_DECL([global_symbol_to_c_name_addres +@@ -3548,6 +3795,8 @@ _LT_DECL([global_symbol_to_c_name_addres _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) @@ -595,7 +595,7 @@ Index: binutils-2.21.1/libtool.m4 ]) # _LT_CMD_GLOBAL_SYMBOLS -@@ -3563,7 +3812,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)= +@@ -3559,7 +3808,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= @@ -603,7 +603,7 @@ Index: binutils-2.21.1/libtool.m4 m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then -@@ -3668,6 +3916,12 @@ m4_if([$1], [CXX], [ +@@ -3664,6 +3912,12 @@ m4_if([$1], [CXX], [ ;; esac ;; @@ -616,7 +616,7 @@ Index: binutils-2.21.1/libtool.m4 dgux*) case $cc_basename in ec++*) -@@ -3820,7 +4074,7 @@ m4_if([$1], [CXX], [ +@@ -3816,7 +4070,7 @@ m4_if([$1], [CXX], [ ;; solaris*) case $cc_basename in @@ -625,7 +625,7 @@ Index: binutils-2.21.1/libtool.m4 # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' -@@ -4042,6 +4296,12 @@ m4_if([$1], [CXX], [ +@@ -4038,6 +4292,12 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; @@ -638,7 +638,7 @@ Index: binutils-2.21.1/libtool.m4 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -4104,7 +4364,7 @@ m4_if([$1], [CXX], [ +@@ -4100,7 +4360,7 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in @@ -647,7 +647,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; -@@ -4161,9 +4421,11 @@ case $host_os in +@@ -4157,9 +4417,11 @@ case $host_os in _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac @@ -662,7 +662,7 @@ Index: binutils-2.21.1/libtool.m4 # # Check to make sure the PIC flag actually works. -@@ -4182,6 +4444,8 @@ fi +@@ -4178,6 +4440,8 @@ fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) @@ -671,7 +671,7 @@ Index: binutils-2.21.1/libtool.m4 # # Check to make sure the static flag actually works. # -@@ -4202,6 +4466,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog +@@ -4198,6 +4462,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl @@ -679,7 +679,7 @@ Index: binutils-2.21.1/libtool.m4 m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl -@@ -4210,6 +4475,7 @@ m4_require([_LT_TAG_COMPILER])dnl +@@ -4206,6 +4471,7 @@ m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' @@ -687,7 +687,7 @@ Index: binutils-2.21.1/libtool.m4 case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. -@@ -4224,15 +4490,20 @@ m4_if([$1], [CXX], [ +@@ -4220,15 +4486,20 @@ m4_if([$1], [CXX], [ ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" @@ -713,7 +713,7 @@ Index: binutils-2.21.1/libtool.m4 ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= -@@ -4400,7 +4671,8 @@ _LT_EOF +@@ -4396,7 +4667,8 @@ _LT_EOF _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes @@ -723,7 +723,7 @@ Index: binutils-2.21.1/libtool.m4 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -4448,7 +4720,7 @@ _LT_EOF +@@ -4444,7 +4716,7 @@ _LT_EOF if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then @@ -732,7 +732,7 @@ Index: binutils-2.21.1/libtool.m4 tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler -@@ -4499,12 +4771,12 @@ _LT_EOF +@@ -4495,12 +4767,12 @@ _LT_EOF _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' @@ -747,7 +747,7 @@ Index: binutils-2.21.1/libtool.m4 fi ;; esac -@@ -4518,8 +4790,8 @@ _LT_EOF +@@ -4514,8 +4786,8 @@ _LT_EOF _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else @@ -758,7 +758,7 @@ Index: binutils-2.21.1/libtool.m4 fi ;; -@@ -4537,8 +4809,8 @@ _LT_EOF +@@ -4533,8 +4805,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then @@ -769,7 +769,7 @@ Index: binutils-2.21.1/libtool.m4 else _LT_TAGVAR(ld_shlibs, $1)=no fi -@@ -4584,8 +4856,8 @@ _LT_EOF +@@ -4580,8 +4852,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then @@ -780,7 +780,7 @@ Index: binutils-2.21.1/libtool.m4 else _LT_TAGVAR(ld_shlibs, $1)=no fi -@@ -4715,7 +4987,7 @@ _LT_EOF +@@ -4711,7 +4983,7 @@ _LT_EOF _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. @@ -789,7 +789,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else -@@ -4726,7 +4998,7 @@ _LT_EOF +@@ -4722,7 +4994,7 @@ _LT_EOF else # Determine the default libpath from the value encoded in an # empty executable. @@ -798,7 +798,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. -@@ -4770,20 +5042,63 @@ _LT_EOF +@@ -4766,20 +5038,63 @@ _LT_EOF # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. @@ -876,7 +876,7 @@ Index: binutils-2.21.1/libtool.m4 ;; darwin* | rhapsody*) -@@ -4821,7 +5136,7 @@ _LT_EOF +@@ -4813,7 +5128,7 @@ _LT_EOF # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) @@ -885,7 +885,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no -@@ -4829,7 +5144,7 @@ _LT_EOF +@@ -4821,7 +5136,7 @@ _LT_EOF hpux9*) if test "$GCC" = yes; then @@ -894,7 +894,7 @@ Index: binutils-2.21.1/libtool.m4 else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi -@@ -4845,7 +5160,7 @@ _LT_EOF +@@ -4837,7 +5152,7 @@ _LT_EOF hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then @@ -903,7 +903,7 @@ Index: binutils-2.21.1/libtool.m4 else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -4869,10 +5184,10 @@ _LT_EOF +@@ -4861,10 +5176,10 @@ _LT_EOF _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) @@ -916,7 +916,7 @@ Index: binutils-2.21.1/libtool.m4 ;; esac else -@@ -4919,16 +5234,31 @@ _LT_EOF +@@ -4911,16 +5226,31 @@ _LT_EOF irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then @@ -955,7 +955,7 @@ Index: binutils-2.21.1/libtool.m4 else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' -@@ -5013,7 +5343,7 @@ _LT_EOF +@@ -5005,7 +5335,7 @@ _LT_EOF osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' @@ -964,7 +964,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' -@@ -5032,9 +5362,9 @@ _LT_EOF +@@ -5024,9 +5354,9 @@ _LT_EOF _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' @@ -976,7 +976,7 @@ Index: binutils-2.21.1/libtool.m4 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -5306,8 +5636,6 @@ _LT_TAGDECL([], [inherit_rpath], [0], +@@ -5298,8 +5628,6 @@ _LT_TAGDECL([], [inherit_rpath], [0], to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) @@ -985,7 +985,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], -@@ -5318,6 +5646,8 @@ _LT_TAGDECL([], [include_expsyms], [1], +@@ -5310,6 +5638,8 @@ _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) @@ -994,7 +994,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented -@@ -5419,6 +5749,7 @@ CC="$lt_save_CC" +@@ -5411,6 +5741,7 @@ CC="$lt_save_CC" m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl @@ -1002,7 +1002,7 @@ Index: binutils-2.21.1/libtool.m4 if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then -@@ -5480,6 +5811,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5472,6 +5803,7 @@ if test "$_lt_caught_CXX_error" != yes; # Allow CC to be a program name with arguments. lt_save_CC=$CC @@ -1010,7 +1010,7 @@ Index: binutils-2.21.1/libtool.m4 lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX -@@ -5497,6 +5829,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5489,6 +5821,7 @@ if test "$_lt_caught_CXX_error" != yes; fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} @@ -1018,7 +1018,7 @@ Index: binutils-2.21.1/libtool.m4 compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) -@@ -5518,8 +5851,8 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5510,8 +5843,8 @@ if test "$_lt_caught_CXX_error" != yes; # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then @@ -1029,7 +1029,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' -@@ -5660,7 +5993,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5652,7 +5985,7 @@ if test "$_lt_caught_CXX_error" != yes; _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. @@ -1038,7 +1038,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" -@@ -5672,7 +6005,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5664,7 +5997,7 @@ if test "$_lt_caught_CXX_error" != yes; else # Determine the default libpath from the value encoded in an # empty executable. @@ -1047,7 +1047,7 @@ Index: binutils-2.21.1/libtool.m4 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. -@@ -5714,29 +6047,75 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5706,29 +6039,75 @@ if test "$_lt_caught_CXX_error" != yes; ;; cygwin* | mingw* | pw32* | cegcc*) @@ -1146,7 +1146,7 @@ Index: binutils-2.21.1/libtool.m4 darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; -@@ -5811,7 +6190,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5803,7 +6182,7 @@ if test "$_lt_caught_CXX_error" != yes; ;; *) if test "$GXX" = yes; then @@ -1155,7 +1155,7 @@ Index: binutils-2.21.1/libtool.m4 else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no -@@ -5882,10 +6261,10 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5874,10 +6253,10 @@ if test "$_lt_caught_CXX_error" != yes; _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) @@ -1168,7 +1168,7 @@ Index: binutils-2.21.1/libtool.m4 ;; esac fi -@@ -5926,9 +6305,9 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5918,9 +6297,9 @@ if test "$_lt_caught_CXX_error" != yes; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then @@ -1180,7 +1180,7 @@ Index: binutils-2.21.1/libtool.m4 fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes -@@ -5998,20 +6377,20 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -5990,20 +6369,20 @@ if test "$_lt_caught_CXX_error" != yes; _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ @@ -1205,7 +1205,7 @@ Index: binutils-2.21.1/libtool.m4 ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' -@@ -6206,7 +6585,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -6198,7 +6577,7 @@ if test "$_lt_caught_CXX_error" != yes; _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) @@ -1214,7 +1214,7 @@ Index: binutils-2.21.1/libtool.m4 ;; esac -@@ -6252,7 +6631,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -6244,7 +6623,7 @@ if test "$_lt_caught_CXX_error" != yes; solaris*) case $cc_basename in @@ -1223,7 +1223,7 @@ Index: binutils-2.21.1/libtool.m4 # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' -@@ -6293,9 +6672,9 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -6285,9 +6664,9 @@ if test "$_lt_caught_CXX_error" != yes; if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then @@ -1235,7 +1235,7 @@ Index: binutils-2.21.1/libtool.m4 # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when -@@ -6424,6 +6803,7 @@ if test "$_lt_caught_CXX_error" != yes; +@@ -6416,6 +6795,7 @@ if test "$_lt_caught_CXX_error" != yes; fi # test -n "$compiler" CC=$lt_save_CC @@ -1243,7 +1243,7 @@ Index: binutils-2.21.1/libtool.m4 LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC -@@ -6438,6 +6818,29 @@ AC_LANG_POP +@@ -6430,6 +6810,29 @@ AC_LANG_POP ])# _LT_LANG_CXX_CONFIG @@ -1273,7 +1273,7 @@ Index: binutils-2.21.1/libtool.m4 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose -@@ -6446,6 +6849,7 @@ AC_LANG_POP +@@ -6438,6 +6841,7 @@ AC_LANG_POP # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl @@ -1281,7 +1281,7 @@ Index: binutils-2.21.1/libtool.m4 # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= -@@ -6496,6 +6900,13 @@ public class foo { +@@ -6488,6 +6892,13 @@ public class foo { }; _LT_EOF ]) @@ -1295,7 +1295,7 @@ Index: binutils-2.21.1/libtool.m4 dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then -@@ -6507,7 +6918,7 @@ if AC_TRY_EVAL(ac_compile); then +@@ -6499,7 +6910,7 @@ if AC_TRY_EVAL(ac_compile); then pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do @@ -1304,7 +1304,7 @@ Index: binutils-2.21.1/libtool.m4 -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. -@@ -6516,13 +6927,22 @@ if AC_TRY_EVAL(ac_compile); then +@@ -6508,13 +6919,22 @@ if AC_TRY_EVAL(ac_compile); then test $p = "-R"; then prev=$p continue @@ -1331,7 +1331,7 @@ Index: binutils-2.21.1/libtool.m4 # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. -@@ -6542,8 +6962,10 @@ if AC_TRY_EVAL(ac_compile); then +@@ -6534,8 +6954,10 @@ if AC_TRY_EVAL(ac_compile); then _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" fi fi @@ -1342,7 +1342,7 @@ Index: binutils-2.21.1/libtool.m4 *.$objext) # This assumes that the test object file only shows up # once in the compiler output. -@@ -6579,6 +7001,7 @@ else +@@ -6571,6 +6993,7 @@ else fi $RM -f confest.$objext @@ -1350,7 +1350,7 @@ Index: binutils-2.21.1/libtool.m4 # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], -@@ -6615,7 +7038,7 @@ linux*) +@@ -6607,7 +7030,7 @@ linux*) solaris*) case $cc_basename in @@ -1359,7 +1359,7 @@ Index: binutils-2.21.1/libtool.m4 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as -@@ -6728,7 +7151,9 @@ if test "$_lt_disable_F77" != yes; then +@@ -6720,7 +7143,9 @@ if test "$_lt_disable_F77" != yes; then # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC @@ -1369,7 +1369,7 @@ Index: binutils-2.21.1/libtool.m4 compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) -@@ -6782,6 +7207,7 @@ if test "$_lt_disable_F77" != yes; then +@@ -6774,6 +7199,7 @@ if test "$_lt_disable_F77" != yes; then GCC=$lt_save_GCC CC="$lt_save_CC" @@ -1377,7 +1377,7 @@ Index: binutils-2.21.1/libtool.m4 fi # test "$_lt_disable_F77" != yes AC_LANG_POP -@@ -6858,7 +7284,9 @@ if test "$_lt_disable_FC" != yes; then +@@ -6850,7 +7276,9 @@ if test "$_lt_disable_FC" != yes; then # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC @@ -1387,7 +1387,7 @@ Index: binutils-2.21.1/libtool.m4 compiler=$CC GCC=$ac_cv_fc_compiler_gnu -@@ -6914,7 +7342,8 @@ if test "$_lt_disable_FC" != yes; then +@@ -6906,7 +7334,8 @@ if test "$_lt_disable_FC" != yes; then fi # test -n "$compiler" GCC=$lt_save_GCC @@ -1397,7 +1397,7 @@ Index: binutils-2.21.1/libtool.m4 fi # test "$_lt_disable_FC" != yes AC_LANG_POP -@@ -6951,10 +7380,12 @@ _LT_COMPILER_BOILERPLATE +@@ -6943,10 +7372,12 @@ _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. @@ -1411,7 +1411,7 @@ Index: binutils-2.21.1/libtool.m4 compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" -@@ -6985,7 +7416,8 @@ fi +@@ -6977,7 +7408,8 @@ fi AC_LANG_RESTORE GCC=$lt_save_GCC @@ -1421,7 +1421,7 @@ Index: binutils-2.21.1/libtool.m4 ])# _LT_LANG_GCJ_CONFIG -@@ -7020,9 +7452,11 @@ _LT_LINKER_BOILERPLATE +@@ -7012,9 +7444,11 @@ _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" @@ -1433,7 +1433,7 @@ Index: binutils-2.21.1/libtool.m4 compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) -@@ -7035,7 +7469,8 @@ fi +@@ -7027,7 +7461,8 @@ fi GCC=$lt_save_GCC AC_LANG_RESTORE @@ -1443,7 +1443,7 @@ Index: binutils-2.21.1/libtool.m4 ])# _LT_LANG_RC_CONFIG -@@ -7094,6 +7529,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object +@@ -7086,6 +7521,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object AC_SUBST([OBJDUMP]) ]) @@ -1459,7 +1459,7 @@ Index: binutils-2.21.1/libtool.m4 # _LT_DECL_SED # ------------ -@@ -7187,8 +7631,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES], +@@ -7179,8 +7623,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES], # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" @@ -1470,7 +1470,7 @@ Index: binutils-2.21.1/libtool.m4 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -7227,206 +7671,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn +@@ -7219,206 +7663,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn ])# _LT_CHECK_SHELL_FEATURES @@ -1823,10 +1823,10 @@ Index: binutils-2.21.1/libtool.m4 +_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], + [0], [convert $build files to toolchain format])dnl +])# _LT_PATH_CONVERSION_FUNCTIONS -Index: binutils-2.21.1/ltmain.sh +Index: binutils-2.22/ltmain.sh =================================================================== ---- binutils-2.21.1.orig/ltmain.sh -+++ binutils-2.21.1/ltmain.sh +--- binutils-2.22.orig/ltmain.sh ++++ binutils-2.22/ltmain.sh @@ -1,10 +1,9 @@ -# Generated from ltmain.m4sh. @@ -7053,10 +7053,10 @@ Index: binutils-2.21.1/ltmain.sh if test -n "$exec_cmd"; then eval exec "$exec_cmd" -Index: binutils-2.21.1/ltoptions.m4 +Index: binutils-2.22/ltoptions.m4 =================================================================== ---- binutils-2.21.1.orig/ltoptions.m4 -+++ binutils-2.21.1/ltoptions.m4 +--- binutils-2.22.orig/ltoptions.m4 ++++ binutils-2.22/ltoptions.m4 @@ -8,7 +8,7 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. @@ -7066,10 +7066,10 @@ Index: binutils-2.21.1/ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) -Index: binutils-2.21.1/ltversion.m4 +Index: binutils-2.22/ltversion.m4 =================================================================== ---- binutils-2.21.1.orig/ltversion.m4 -+++ binutils-2.21.1/ltversion.m4 +--- binutils-2.22.orig/ltversion.m4 ++++ binutils-2.22/ltversion.m4 @@ -7,17 +7,17 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. @@ -7094,10 +7094,10 @@ Index: binutils-2.21.1/ltversion.m4 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) -Index: binutils-2.21.1/lt~obsolete.m4 +Index: binutils-2.22/lt~obsolete.m4 =================================================================== ---- binutils-2.21.1.orig/lt~obsolete.m4 -+++ binutils-2.21.1/lt~obsolete.m4 +--- binutils-2.22.orig/lt~obsolete.m4 ++++ binutils-2.22/lt~obsolete.m4 @@ -7,7 +7,7 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. @@ -7107,38 +7107,11 @@ Index: binutils-2.21.1/lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # -Index: binutils-2.21.1/configure +Index: binutils-2.22/configure =================================================================== ---- binutils-2.21.1.orig/configure -+++ binutils-2.21.1/configure -@@ -2670,7 +2670,7 @@ host_libs="intl mmalloc libiberty opcode - # binutils, gas and ld appear in that order because it makes sense to run - # "make check" in that particular order. - # If --enable-gold is used, "gold" may replace "ld". --host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools" -+host_tools="byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools" - - # libgcj represents the runtime libraries only used by gcj. - libgcj="target-libffi \ -@@ -3148,7 +3148,7 @@ case "${target}" in - am33_2.0-*-linux*) - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" - ;; -- sh*-*-linux*) -+ sh-*-linux*) - noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" - ;; - sh*-*-pe|mips*-*-pe|*arm-wince-pe) -@@ -3487,7 +3487,7 @@ case "${target}" in - romp-*-*) - noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" - ;; -- sh*-*-* | sh64-*-*) -+ sh-*-* | sh64-*-*) - case "${host}" in - i[3456789]86-*-vsta) ;; # don't add gprof back in - i[3456789]86-*-go32*) ;; # don't add gprof back in -@@ -7597,7