binutils: Upgrade to 2.39 release
PATCH v3 1/7 binutils: Upgrade to 2.39 release
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
(From OE-Core rev: a2458d4011e77868d6384b377a7a4cc1096c4ac3)
---
meta/conf/distro/include/tcmode-default.inc | 2 +-
.../{binutils-2.38.inc => binutils-2.39.inc} | 26 +-
....38.bb => binutils-cross-canadian_2.39.bb} | 0
...38.bb => binutils-cross-testsuite_2.39.bb} | 0
...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0
...ssdk_2.38.bb => binutils-crosssdk_2.39.bb} | 0
...s-crosssdk-Generate-relocatable-SDKs.patch | 2 +-
...o-not-generate-linker-script-directo.patch | 2 +-
...dk-Search-for-alternative-ld.so.conf.patch | 16 +-
...004-Point-scripts-location-to-libdir.patch | 10 +-
...tro-compiler-point-to-the-wrong-ins.patch} | 2 +-
...system-directories-when-cross-linki.patch} | 42 +-
...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +-
...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 8695 ++++++++++++++---
...-in-libtool-when-sysroot-is-enabled.patch} | 2 +-
...> 0010-sync-with-OE-libtool-changes.patch} | 2 +-
...r-clang-before-checking-gcc-version.patch} | 10 +-
...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +-
.../0013-Avoid-as-info-race-condition.patch | 75 -
.../binutils/0014-CVE-2019-1010204.patch | 49 -
.../{binutils_2.38.bb => binutils_2.39.bb} | 0
21 files changed, 7637 insertions(+), 1323 deletions(-)
rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%)
rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb => binutils-crosssdk_2.39.bb} (100%)
rename meta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%)
rename meta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch => 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%)
rename meta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%)
rename meta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch => 0008-Use-libtool-2.4.patch} (75%)
rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%)
rename meta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch => 0010-sync-with-OE-libtool-changes.patch} (97%)
rename meta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch => 0011-Check-for-clang-before-checking-gcc-version.patch} (84%)
rename meta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch
rename meta/recipes-devtools/binutils/{binutils_2.38.bb => binutils_2.39.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "12.%" SDKGCCVERSION ?= "${GCCVERSION}" -BINUVERSION ?= "2.38%" +BINUVERSION ?= "2.39%" GDBVERSION ?= "12.%" GLIBCVERSION ?= "2.36" LINUXLIBCVERSION ?= "5.19%"
meta/recipes-devtools/binutils/binutils-2.39.inc renamed from meta/recipes-devtools/binutils/binutils-2.38.inc +12 -14
@@ -12,26 +12,24 @@ LIC_FILES_CHKSUM="\ # When upgrading to 2.39, please make sure there is no trailing .0, so # that upstream version check can work correctly. -PV = "2.38" -CVE_VERSION = "2.38" -SRCBRANCH ?= "binutils-2_38-branch" +PV = "2.39" +CVE_VERSION = "2.39" +SRCBRANCH ?= "binutils-2_39-branch" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" -SRCREV ?= "eed56ee299b9ef8754bb4e53f2e9cf2a7c28c04d" +SRCREV ?= "a58f83e8b85fa3c1564de530d68a14fc620c0027" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ file://0004-Point-scripts-location-to-libdir.patch \ - file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ - file://0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ - file://0007-warn-for-uses-of-system-directories-when-cross-linki.patch \ - file://0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ - file://0009-Use-libtool-2.4.patch \ - file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ - file://0011-sync-with-OE-libtool-changes.patch \ - file://0012-Check-for-clang-before-checking-gcc-version.patch \ - file://0013-Avoid-as-info-race-condition.patch \ - file://0014-CVE-2019-1010204.patch \ + file://0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ + file://0006-warn-for-uses-of-system-directories-when-cross-linki.patch \ + file://0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ + file://0008-Use-libtool-2.4.patch \ + file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ + file://0010-sync-with-OE-libtool-changes.patch \ + file://0011-Check-for-clang-before-checking-gcc-version.patch \ + file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils-cross-canadian_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils-cross-testsuite_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-testsuite_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils-cross_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils-crosssdk_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.38.bb +0 -0
meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch +1 -1
@@ -1,4 +1,4 @@ -From 07bb7fbdacaf9cd6a1a252ffbc98f4e05e305d50 Mon Sep 17 00:00:00 2001 +From a0ac147aec127c66c9e38292faa50bb56d3c2a19 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:58:54 +0000 Subject: [PATCH] binutils-crosssdk: Generate relocatable SDKs
meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch +1 -1
@@ -1,4 +1,4 @@ -From f820ab7ea7e94d4df548be3388163ff2efb2ea96 Mon Sep 17 00:00:00 2001 +From fd7065bfd20364679e3c3f329b19059bbc51ab02 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 6 Mar 2017 23:37:05 -0800 Subject: [PATCH] binutils-cross: Do not generate linker script directories
meta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch +8 -8
@@ -1,4 +1,4 @@ -From b2ccd25828b40310caeb094c0413e3a30a4dc0a5 Mon Sep 17 00:00:00 2001 +From 67735b3647f98ce0f010ff8b4f9b5c5da576cb17 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Wed, 19 Feb 2020 09:51:16 -0800 Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index b55a873d927..61db131fb0d 100644 +index d31021c13e2..29782385ca4 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@
@@ -41,12 +41,12 @@ index b55a873d927..61db131fb0d 100644 + -DSYSCONFDIR="\"$(sysconfdir)\"" WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/Makefile.in b/ld/Makefile.in -index 61e93eeaf1e..860eb21a785 100644 +index ee0c98f65b0..04ee68a2c67 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -556,7 +556,8 @@ ZLIB = @zlibdir@ -lz +@@ -562,7 +562,8 @@ ZLIB = @zlibdir@ -lz ZLIBINC = @zlibinc@ ELF_CLFAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \ -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
@@ -54,13 +54,13 @@ index 61e93eeaf1e..860eb21a785 100644 + -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \ + -DSYSCONFDIR="\"$(sysconfdir)\"" - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/ldelf.c b/ld/ldelf.c -index 121c25d948f..34cbc60e5e9 100644 +index bfa0d54753a..0d61a3209ec 100644 --- a/ld/ldelf.c +++ b/ld/ldelf.c -@@ -930,7 +930,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, +@@ -936,7 +936,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, info.path = NULL; info.len = info.alloc = 0;
meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch +5 -5
@@ -1,4 +1,4 @@ -From 7a7b777cdfded080aab1021fa6bcdb20345f5cfd Mon Sep 17 00:00:00 2001 +From 2158e5bd4c6ea4db89e33d46ef25428e37bfc3a6 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:09:58 +0000 Subject: [PATCH] Point scripts location to libdir
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 61db131fb0d..5b5ee64d121 100644 +index 29782385ca4..062e6b6814b 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am -@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_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.
@@ -25,10 +25,10 @@ index 61db131fb0d..5b5ee64d121 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index 860eb21a785..d719747919c 100644 +index 04ee68a2c67..782d4017a60 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -564,7 +564,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -570,7 +570,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_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.
meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch renamed from meta/recipes-devtools/binutils/binutils/0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +1 -1
@@ -1,4 +1,4 @@ -From fc9e8b99969bb32a4b009eab763bade6c554ef73 Mon Sep 17 00:00:00 2001 +From e74d765a1a95253c9247228bd7ccbcabecdd8f7e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:39:01 +0000 Subject: [PATCH] don't let the distro compiler point to the wrong installation
meta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch renamed from meta/recipes-devtools/binutils/binutils/0007-warn-for-uses-of-system-directories-when-cross-linki.patch +21 -21
109 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch renamed from meta/recipes-devtools/binutils/binutils/0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch +4 -4
@@ -1,4 +1,4 @@ -From 00ae1ee97ad3ad0624798b28c6bab94a19b3ef39 Mon Sep 17 00:00:00 2001 +From 883b6c0930410f8553b3bce0dd98131bc1694fa6 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo <[email protected]> Date: Sat, 11 Jun 2016 22:08:29 -0500 Subject: [PATCH] fix the incorrect assembling for ppc wait mnemonic
@@ -14,10 +14,10 @@ Signed-off-by: Zhenhua Luo <[email protected]> 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c -index a424dd924de..406d5b60917 100644 +index 7637d3e349e..8e074e13208 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c -@@ -6378,8 +6378,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -6947,8 +6947,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitasec", X(31,30), XRTRARB_MASK, POWER8, POWER9, {0}}, {"waitrsv", XWCPL(31,30,1,0),0xffffffff, POWER10, EXT, {0}}, {"pause_short", XWCPL(31,30,2,0),0xffffffff, POWER10, EXT, {0}},
@@ -26,7 +26,7 @@ index a424dd924de..406d5b60917 100644 {"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, -@@ -6433,7 +6431,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -7002,7 +7000,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}}, {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}},
meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch renamed from meta/recipes-devtools/binutils/binutils/0009-Use-libtool-2.4.patch +7567 -1128
2,732 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch renamed from meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch renamed from meta/recipes-devtools/binutils/binutils/0011-sync-with-OE-libtool-changes.patch +1 -1
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch renamed from meta/recipes-devtools/binutils/binutils/0012-Check-for-clang-before-checking-gcc-version.patch +5 -5
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch renamed from meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +9 -8
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch deleted +0 -75
75 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch deleted +0 -49
49 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils_2.39.bb renamed from meta/recipes-devtools/binutils/binutils_2.38.bb +0 -0
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.37.2
Part of the diff is not shown here. View the raw message.
PATCH v3 2/7 binutils-cross: Disable gprofng for when building cross binutils
This does not work in cross settings yet
(From OE-Core rev: c9d484092060f7e8431e31c64d98433b4f85c378)
--- meta/recipes-devtools/binutils/binutils-cross.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/binutils/binutils-cross.inc +1 -0
@@ -16,6 +16,7 @@ SRC_URI += "file://0002-binutils-cross-Do-not-generate-linker-script-directo.pat # and mean the linker scripts have to be relocated. EXTRA_OECONF += "--with-sysroot=${STAGING_DIR_TARGET} \ --disable-install-libbfd \ + --disable-gprofng \ --enable-poison-system-directories \ --with-lib-path==${target_base_libdir}:=${target_libdir} \ "
Signature · 1 line
2.37.2
PATCH v3 3/7 binutils: Package up gprofng
In reply to Khem Raj(From OE-Core rev: 62fad02c368aa912ae97e8dd048bd81e305a5444)
--- meta/recipes-devtools/binutils/binutils_2.39.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/binutils/binutils_2.39.bb +3 -3
@@ -56,14 +56,14 @@ PARALLEL_MAKEINST:class-nativesdk = "" # Split out libbfd-*.so and libopcodes-*.so so including perf doesn't include # extra stuff -PACKAGE_BEFORE_PN += "libbfd libopcodes" +PACKAGE_BEFORE_PN += "libbfd libopcodes gprofng" FILES:libbfd = "${libdir}/libbfd-*.so.* ${libdir}/libbfd-*.so" FILES:libopcodes = "${libdir}/libopcodes-*.so.* ${libdir}/libopcodes-*.so" - +FILES:gprofng = "${sysconfdir}/gprofng.rc ${libdir}/gprofng/libgp-*.so ${libdir}/gprofng/libgprofng.so.* ${bindir}/gp-* ${bindir}/gprofng" +FILES:${PN}-dev += "${libdir}/gprofng/libgprofng.so" SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch " USE_ALTERNATIVES_FOR:class-nativesdk = "" FILES:${PN}:append:class-nativesdk = " ${bindir}" BBCLASSEXTEND = "native nativesdk" -
Signature · 1 line
2.37.2
PATCH v3 4/7 binutils: Disable gprofng when using clang
In reply to Khem RajIt does not yet compile with clang it comes with __ builtin___snprintf_chk Not Supported formatted output of built-in functions check is failing with clang
somehow it seems to be compiler limitation. Therefore disable building this component with clang for now
(From OE-Core rev: 5f4b6afb030fe75247cc2da09cdf0ec5259673df)
--- meta/recipes-devtools/binutils/binutils_2.39.bb | 3 +++ 1 file changed, 3 insertions(+)
meta/recipes-devtools/binutils/binutils_2.39.bb +3 -0
@@ -14,6 +14,9 @@ EXTRA_OEMAKE:append:libc-musl = "\ gt_cv_func_gnugettext1_libc=yes \ gt_cv_func_gnugettext2_libc=yes \ " +# libcollector/collector.c:547:15: error: no member named '__fprintf_chk' in 'struct CollectorUtilFuncs' +EXTRA_OECONF:append:toolchain-clang = " --disable-gprofng" + EXTRA_OECONF:class-native = "--enable-targets=all \ --enable-64-bit-bfd \ --enable-install-libiberty \
Signature · 1 line
2.37.2
PATCH v3 5/7 binutils-cross-canadian: Package up new gprofng.rc file
In reply to Khem Raj--- meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +2 -0
@@ -27,4 +27,6 @@ do_install () { cross_canadian_bindirlinks } +FILES:${PN} += "${sysconfdir}/gprofng.rc" + BBCLASSEXTEND = ""
Signature · 1 line
2.37.2
PATCH v3 6/7 autoconf: Fix strict prototype errors in generated tests
In reply to Khem RajThis will fix issues with autoconf tests which fail due to lacking prototypes
--- ...totype-for-functions-with-no-paramet.patch | 64 +++++++++++++++++++ .../autoconf/autoconf_2.71.bb | 1 + 2 files changed, 65 insertions(+) create mode 100644 meta/recipes-devtools/autoconf/autoconf/0001-specify-void-prototype-for-functions-with-no-paramet.patch
meta/recipes-devtools/autoconf/autoconf/0001-specify-void-prototype-for-functions-with-no-paramet.patch new file +64 -0
@@ -0,0 +1,64 @@ +From 7ccfea413216bddd988823acf4e93421ea0f7f9f Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 16 Aug 2022 18:35:45 -0700 +Subject: [PATCH] specify void prototype for functions with no parameters + +Compilers defaulting to C99 flag such functions as warning which fails +to compile when using -Werror + +Fixes +error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/autoconf-patches/2022-08/msg00003.html] +Signed-off-by: Khem Raj <[email protected]> +--- + lib/autoconf/c.m4 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/lib/autoconf/c.m4 ++++ b/lib/autoconf/c.m4 +@@ -127,7 +127,7 @@ m4_if([$2], [main], , + [/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +-char $2 ();])], [return $2 ();])]) ++char $2 (void);])], [return $2 ();])]) + + + # AC_LANG_FUNC_LINK_TRY(C)(FUNCTION) +@@ -151,7 +151,7 @@ m4_define([AC_LANG_FUNC_LINK_TRY(C)], + #define $1 innocuous_$1 + + /* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $1 (); below. */ ++ which can conflict with char $1 (void); below. */ + + #include <limits.h> + #undef $1 +@@ -162,7 +162,7 @@ m4_define([AC_LANG_FUNC_LINK_TRY(C)], + #ifdef __cplusplus + extern "C" + #endif +-char $1 (); ++char $1 (void); + /* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +@@ -252,7 +252,7 @@ dnl other built-in extern "C" functions, + dnl when it actually happens. + [AC_LANG_PROGRAM([[$1 + namespace conftest { +- extern "C" int $2 (); ++ extern "C" int $2 (void); + }]], + [[return conftest::$2 ();]])]) + +@@ -2457,7 +2457,7 @@ using std::strcmp; + + namespace { + +-void test_exception_syntax() ++void test_exception_syntax(void) + { + try { + throw "test";
meta/recipes-devtools/autoconf/autoconf_2.71.bb +1 -0
@@ -18,6 +18,7 @@ SRC_URI = "${GNU_MIRROR}/autoconf/${BP}.tar.gz \ file://preferbash.patch \ file://autotest-automake-result-format.patch \ file://man-host-perl.patch \ + file://0001-specify-void-prototype-for-functions-with-no-paramet.patch \ " SRC_URI:append:class-native = " file://no-man.patch"
Signature · 1 line
2.37.2
PATCH v3 7/7 rsync: Add missing prototypes to function declarations
In reply to Khem Raj--- ...-prototypes-to-function-declarations.patch | 182 ++++++++++++++++++ meta/recipes-devtools/rsync/rsync_3.2.5.bb | 1 + 2 files changed, 183 insertions(+) create mode 100644 meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch new file +182 -0
@@ -0,0 +1,182 @@ +From 704a240443ca5d8024cc3b01ae6c1440fa41f54a Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Tue, 16 Aug 2022 23:42:24 -0700 +Subject: [PATCH] Add missing prototypes to function declarations + +With Clang 15+ compiler -Wstrict-prototypes is triggering warnings which +are turned into errors with -Werror, this fixes the problem by adding +missing prototypes + +Fixes errors like +| log.c:134:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] +| static void syslog_init() +| ^ +| void + +Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html] +Signed-off-by: Khem Raj <[email protected]> +--- + checksum.c | 2 +- + exclude.c | 2 +- + hlink.c | 2 +- + lib/compat.c | 1 + + lib/pool_alloc.c | 2 +- + log.c | 2 +- + main.c | 2 +- + syscall.c | 4 ++-- + zlib/crc32.c | 2 +- + zlib/trees.c | 2 +- + zlib/zutil.c | 4 ++-- + 11 files changed, 13 insertions(+), 12 deletions(-) + +diff --git a/checksum.c b/checksum.c +index fb8c0a0..174c28c 100644 +--- a/checksum.c ++++ b/checksum.c +@@ -629,7 +629,7 @@ int sum_end(char *sum) + return csum_len_for_type(cursum_type, 0); + } + +-void init_checksum_choices() ++void init_checksum_choices(void) + { + #ifdef SUPPORT_XXH3 + char buf[32816]; +diff --git a/exclude.c b/exclude.c +index adc82e2..79f5a82 100644 +--- a/exclude.c ++++ b/exclude.c +@@ -358,7 +358,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end) + memcpy(partial_string_buf, s_start, partial_string_len); + } + +-void free_implied_include_partial_string() ++void free_implied_include_partial_string(void) + { + if (partial_string_buf) { + free(partial_string_buf); +diff --git a/hlink.c b/hlink.c +index 66810a3..aea142b 100644 +--- a/hlink.c ++++ b/hlink.c +@@ -117,7 +117,7 @@ static void match_gnums(int32 *ndx_list, int ndx_count) + struct ht_int32_node *node = NULL; + int32 gnum, gnum_next; + +- qsort(ndx_list, ndx_count, sizeof ndx_list[0], (int (*)()) hlink_compare_gnum); ++ qsort(ndx_list, ndx_count, sizeof ndx_list[0], (int (*)(const void *, const void *)) hlink_compare_gnum); + + for (from = 0; from < ndx_count; from++) { + file = hlink_flist->sorted[ndx_list[from]]; +diff --git a/lib/compat.c b/lib/compat.c +index 513d79b..89b337e 100644 +--- a/lib/compat.c ++++ b/lib/compat.c +@@ -19,6 +19,7 @@ + * with this program; if not, visit the http://fsf.org website. + */ + ++#include <sys/time.h> + #include "rsync.h" + #include "itypes.h" + +diff --git a/lib/pool_alloc.c b/lib/pool_alloc.c +index a1a7245..4eae062 100644 +--- a/lib/pool_alloc.c ++++ b/lib/pool_alloc.c +@@ -9,7 +9,7 @@ struct alloc_pool + size_t size; /* extent size */ + size_t quantum; /* allocation quantum */ + struct pool_extent *extents; /* top extent is "live" */ +- void (*bomb)(); /* called if malloc fails */ ++ void (*bomb)(const char *, const char *, int); /* called if malloc fails */ + int flags; + + /* statistical data */ +diff --git a/log.c b/log.c +index 44344e2..991e359 100644 +--- a/log.c ++++ b/log.c +@@ -131,7 +131,7 @@ static void logit(int priority, const char *buf) + } + } + +-static void syslog_init() ++static void syslog_init(void) + { + int options = LOG_PID; + +diff --git a/main.c b/main.c +index 9ebfbea..affa244 100644 +--- a/main.c ++++ b/main.c +@@ -244,7 +244,7 @@ void read_del_stats(int f) + stats.deleted_files += stats.deleted_specials = read_varint(f); + } + +-static void become_copy_as_user() ++static void become_copy_as_user(void) + { + char *gname; + uid_t uid; +diff --git a/syscall.c b/syscall.c +index d92074a..92ca86d 100644 +--- a/syscall.c ++++ b/syscall.c +@@ -389,9 +389,9 @@ OFF_T do_lseek(int fd, OFF_T offset, int whence) + { + #ifdef HAVE_LSEEK64 + #if !SIZEOF_OFF64_T +- OFF_T lseek64(); ++ OFF_T lseek64(int fd, OFF_T offset, int whence); + #else +- off64_t lseek64(); ++ off64_t lseek64(int fd, off64_t offset, int whence); + #endif + return lseek64(fd, offset, whence); + #else +diff --git a/zlib/crc32.c b/zlib/crc32.c +index 05733f4..50c6c02 100644 +--- a/zlib/crc32.c ++++ b/zlib/crc32.c +@@ -187,7 +187,7 @@ local void write_table(out, table) + /* ========================================================================= + * This function can be used by asm versions of crc32() + */ +-const z_crc_t FAR * ZEXPORT get_crc_table() ++const z_crc_t FAR * ZEXPORT get_crc_table(void) + { + #ifdef DYNAMIC_CRC_TABLE + if (crc_table_empty) +diff --git a/zlib/trees.c b/zlib/trees.c +index 9c66770..0d9047e 100644 +--- a/zlib/trees.c ++++ b/zlib/trees.c +@@ -231,7 +231,7 @@ local void send_bits(s, value, length) + /* =========================================================================== + * Initialize the various 'constant' tables. + */ +-local void tr_static_init() ++local void tr_static_init(void) + { + #if defined(GEN_TREES_H) || !defined(STDC) + static int static_init_done = 0; +diff --git a/zlib/zutil.c b/zlib/zutil.c +index bbba7b2..61f8dc9 100644 +--- a/zlib/zutil.c ++++ b/zlib/zutil.c +@@ -27,12 +27,12 @@ z_const char * const z_errmsg[10] = { + ""}; + + +-const char * ZEXPORT zlibVersion() ++const char * ZEXPORT zlibVersion(void) + { + return ZLIB_VERSION; + } + +-uLong ZEXPORT zlibCompileFlags() ++uLong ZEXPORT zlibCompileFlags(void) + { + uLong flags; +
meta/recipes-devtools/rsync/rsync_3.2.5.bb +1 -0
@@ -14,6 +14,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \ file://rsyncd.conf \ file://makefile-no-rebuild.patch \ file://determism.patch \ + file://0001-Add-missing-prototypes-to-function-declarations.patch \ " SRC_URI[sha256sum] = "2ac4d21635cdf791867bc377c35ca6dda7f50d919a58be45057fd51600c69aba"
Signature · 1 line
2.37.2
Hello Khem,
I got this failure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/5719/steps/11/logs/stdio
Quoted 14,620 lines · Khem Raj
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
(From OE-Core rev:
a2458d4011e77868d6384b377a7a4cc1096c4ac3)Signed-off-by Khem Raj <[email protected]>Signed-off-by Richard Purdie <[email protected]>--- meta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.38.inc => binutils-2.39.inc} | 26 +- ....38.bb => binutils-cross-canadian_2.39.bb} | 0 ...38.bb => binutils-cross-testsuite_2.39.bb} | 0 ...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0 ...ssdk_2.38.bb => binutils-crosssdk_2.39.bb} | 0 ...s-crosssdk-Generate-relocatable-SDKs.patch | 2 +- ...o-not-generate-linker-script-directo.patch | 2 +- ...dk-Search-for-alternative-ld.so.conf.patch | 16 +- ...004-Point-scripts-location-to-libdir.patch | 10 +- ...tro-compiler-point-to-the-wrong-ins.patch} | 2 +- ...system-directories-when-cross-linki.patch} | 42 +- ...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +- ...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 8695 ++++++++++++++--- ...-in-libtool-when-sysroot-is-enabled.patch} | 2 +- ...> 0010-sync-with-OE-libtool-changes.patch} | 2 +- ...r-clang-before-checking-gcc-version.patch} | 10 +- ...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +- .../0013-Avoid-as-info-race-condition.patch | 75 - .../binutils/0014-CVE-2019-1010204.patch | 49 - .../{binutils_2.38.bb => binutils_2.39.bb} | 0 21 files changed, 7637 insertions(+), 1323 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%) rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb => binutils-crosssdk_2.39.bb} (100%) rename meta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%) rename meta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch => 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%) rename meta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%) rename meta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch => 0008-Use-libtool-2.4.patch} (75%) rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%) rename meta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch => 0010-sync-with-OE-libtool-changes.patch} (97%) rename meta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch => 0011-Check-for-clang-before-checking-gcc-version.patch} (84%) rename meta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%) delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch rename meta/recipes-devtools/binutils/{binutils_2.38.bb => binutils_2.39.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1
-1@@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "12.%" SDKGCCVERSION ?= "${GCCVERSION}" -BINUVERSION ?= "2.38%" +BINUVERSION ?= "2.39%" GDBVERSION ?= "12.%" GLIBCVERSION ?= "2.36" LINUXLIBCVERSION ?= "5.19%"meta/recipes-devtools/binutils/binutils-2.39.inc renamed from meta/recipes-devtools/binutils/binutils-2.38.inc +12
-14@@ -12,26 +12,24 @@ LIC_FILES_CHKSUM="\ # When upgrading to 2.39, please make sure there is no trailing .0, so # that upstream version check can work correctly. -PV = "2.38" -CVE_VERSION = "2.38" -SRCBRANCH ?= "binutils-2_38-branch" +PV = "2.39" +CVE_VERSION = "2.39" +SRCBRANCH ?= "binutils-2_39-branch" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" -SRCREV ?= "eed56ee299b9ef8754bb4e53f2e9cf2a7c28c04d" +SRCREV ?= "a58f83e8b85fa3c1564de530d68a14fc620c0027" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ file://0004-Point-scripts-location-to-libdir.patch \ - file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ - file://0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ - file://0007-warn-for-uses-of-system-directories-when-cross-linki.patch \ - file://0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ - file://0009-Use-libtool-2.4.patch \ - file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ - file://0011-sync-with-OE-libtool-changes.patch \ - file://0012-Check-for-clang-before-checking-gcc-version.patch \ - file://0013-Avoid-as-info-race-condition.patch \ - file://0014-CVE-2019-1010204.patch \ + file://0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ + file://0006-warn-for-uses-of-system-directories-when-cross-linki.patch \ + file://0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ + file://0008-Use-libtool-2.4.patch \ + file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ + file://0010-sync-with-OE-libtool-changes.patch \ + file://0011-Check-for-clang-before-checking-gcc-version.patch \ + file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ " S = "${WORKDIR}/git"meta/recipes-devtools/binutils/binutils-cross-canadian_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils-cross-testsuite_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-testsuite_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils-cross_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils-crosssdk_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch +1
-1@@ -1,4 +1,4 @@ -From 07bb7fbdacaf9cd6a1a252ffbc98f4e05e305d50 Mon Sep 17 00:00:00 2001 +From a0ac147aec127c66c9e38292faa50bb56d3c2a19 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:58:54 +0000 Subject: [PATCH] binutils-crosssdk: Generate relocatable SDKsmeta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch +1
-1@@ -1,4 +1,4 @@ -From f820ab7ea7e94d4df548be3388163ff2efb2ea96 Mon Sep 17 00:00:00 2001 +From fd7065bfd20364679e3c3f329b19059bbc51ab02 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 6 Mar 2017 23:37:05 -0800 Subject: [PATCH] binutils-cross: Do not generate linker script directoriesmeta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch +8
-8@@ -1,4 +1,4 @@ -From b2ccd25828b40310caeb094c0413e3a30a4dc0a5 Mon Sep 17 00:00:00 2001 +From 67735b3647f98ce0f010ff8b4f9b5c5da576cb17 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Wed, 19 Feb 2020 09:51:16 -0800 Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index b55a873d927..61db131fb0d 100644 +index d31021c13e2..29782385ca4 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@@@ -41,12 +41,12 @@ index b55a873d927..61db131fb0d 100644 + -DSYSCONFDIR="\"$(sysconfdir)\"" WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/Makefile.in b/ld/Makefile.in -index 61e93eeaf1e..860eb21a785 100644 +index ee0c98f65b0..04ee68a2c67 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -556,7 +556,8 @@ ZLIB = @zlibdir@ -lz +@@ -562,7 +562,8 @@ ZLIB = @zlibdir@ -lz ZLIBINC = @zlibinc@ ELF_CLFAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \ -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \@@ -54,13 +54,13 @@ index 61e93eeaf1e..860eb21a785 100644 + -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \ + -DSYSCONFDIR="\"$(sysconfdir)\"" - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/ldelf.c b/ld/ldelf.c -index 121c25d948f..34cbc60e5e9 100644 +index bfa0d54753a..0d61a3209ec 100644 --- a/ld/ldelf.c +++ b/ld/ldelf.c -@@ -930,7 +930,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, +@@ -936,7 +936,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, info.path = NULL; info.len = info.alloc = 0;meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch +5
-5@@ -1,4 +1,4 @@ -From 7a7b777cdfded080aab1021fa6bcdb20345f5cfd Mon Sep 17 00:00:00 2001 +From 2158e5bd4c6ea4db89e33d46ef25428e37bfc3a6 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:09:58 +0000 Subject: [PATCH] Point scripts location to libdir@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 61db131fb0d..5b5ee64d121 100644 +index 29782385ca4..062e6b6814b 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am -@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_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.@@ -25,10 +25,10 @@ index 61db131fb0d..5b5ee64d121 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index 860eb21a785..d719747919c 100644 +index 04ee68a2c67..782d4017a60 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -564,7 +564,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -570,7 +570,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_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.meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch renamed from meta/recipes-devtools/binutils/binutils/0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +1
-1@@ -1,4 +1,4 @@ -From fc9e8b99969bb32a4b009eab763bade6c554ef73 Mon Sep 17 00:00:00 2001 +From e74d765a1a95253c9247228bd7ccbcabecdd8f7e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:39:01 +0000 Subject: [PATCH] don't let the distro compiler point to the wrong installationmeta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch renamed from meta/recipes-devtools/binutils/binutils/0007-warn-for-uses-of-system-directories-when-cross-linki.patch +21
-21@@ -1,4 +1,4 @@ -From 9fb1bafb20371d82b674778d2a8b5c9444fed417 Mon Sep 17 00:00:00 2001 +From 2c43b1357db6b09d1645704afd3f45be6de0cf4d Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 15 Jan 2016 06:31:09 +0000 Subject: [PATCH] warn for uses of system directories when cross linking@@ -63,10 +63,10 @@ Signed-off-by: Khem Raj <[email protected]> 9 files changed, 88 insertions(+), 2 deletions(-) diff --git a/ld/config.in b/ld/config.in -index 26d55a00d47..ffad464783c 100644 +index d4c1fc420b5..1aece0b2c29 100644 --- a/ld/config.in +++ b/ld/config.in -@@ -43,6 +43,9 @@ +@@ -55,6 +55,9 @@ language is requested. */ #undef ENABLE_NLS@@ -77,10 +77,10 @@ index 26d55a00d47..ffad464783c 100644 #undef EXTRA_SHLIB_EXTENSION diff --git a/ld/configure b/ld/configure -index 26150d62898..1f9ec8ec580 100755 +index e58fb7f3a35..d0a467ac101 100755 --- a/ld/configure +++ b/ld/configure -@@ -831,6 +831,7 @@ with_lib_path +@@ -836,6 +836,7 @@ with_lib_path enable_targets enable_64_bit_bfd with_sysroot@@ -88,7 +88,7 @@ index 26150d62898..1f9ec8ec580 100755 enable_gold enable_got enable_compressed_debug_sections -@@ -1500,6 +1501,8 @@ Optional Features: +@@ -1514,6 +1515,8 @@ Optional Features: --enable-checking enable run-time checks --enable-targets alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)@@ -97,7 +97,7 @@ index 26150d62898..1f9ec8ec580 100755 --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-got=<type> GOT handling scheme (target, single, negative, multigot) -@@ -15312,6 +15315,19 @@ fi +@@ -15349,6 +15352,19 @@ fi@@ -118,7 +118,7 @@ index 26150d62898..1f9ec8ec580 100755 if test "${enable_gold+set}" = set; then : enableval=$enable_gold; case "${enableval}" in diff --git a/ld/configure.ac b/ld/configure.ac -index 7f4cff079b7..57d1abff870 100644 +index 4331d6b1302..e2976bc2926 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -102,6 +102,16 @@ AC_SUBST(use_sysroot)@@ -158,13 +158,13 @@ index f3086bf30de..db5064243c7 100644 enum endian_enum endian; diff --git a/ld/ld.texi b/ld/ld.texi -index fc75e9b3625..dca697d626e 100644 +index eabbec8faa9..c4680e4947e 100644 --- a/ld/ld.texi +++ b/ld/ld.texi -@@ -2892,6 +2892,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. +@@ -2947,6 +2947,18 @@ creation of the metadata note, if one had been enabled by an earlier + occurrence of the --package-metdata option. + If the linker has been built with libjansson, then the JSON string + will be validated. + +@kindex --no-poison-system-directories +@item --no-poison-system-directories@@ -209,13 +209,13 @@ index 731ae5f7aed..dd8f03fd960 100644 /* Try to open a BFD for a lang_input_statement. */ diff --git a/ld/ldlex.h b/ld/ldlex.h -index bc58fea73cc..a1595589197 100644 +index 57ade1f754b..64007ff8684 100644 --- a/ld/ldlex.h +++ b/ld/ldlex.h -@@ -164,6 +164,8 @@ enum option_values - OPTION_CTF_VARIABLES, - OPTION_NO_CTF_VARIABLES, - OPTION_CTF_SHARE_TYPES, +@@ -168,6 +168,8 @@ enum option_values + OPTION_NO_WARN_EXECSTACK, + OPTION_WARN_RWX_SEGMENTS, + OPTION_NO_WARN_RWX_SEGMENTS, + OPTION_NO_POISON_SYSTEM_DIRECTORIES, + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, };@@ -253,10 +253,10 @@ index 1ae90a77749..f40750fd816 100644 { if (error_count < MAX_ERRORS_IN_A_ROW) diff --git a/ld/lexsup.c b/ld/lexsup.c -index 5acc47ed5a0..d03c6136ccf 100644 +index 9225f71b3ce..92fb66f1fa2 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c -@@ -600,6 +600,14 @@ static const struct ld_option ld_options[] = +@@ -608,6 +608,14 @@ static const struct ld_option ld_options[] = " <method> is: share-unconflicted (default),\n" " share-duplicated"), TWO_DASHES },@@ -271,7 +271,7 @@ index 5acc47ed5a0..d03c6136ccf 100644 }; #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -1702,6 +1710,14 @@ parse_args (unsigned argc, char **argv) +@@ -1722,6 +1730,14 @@ parse_args (unsigned argc, char **argv) config.print_map_discarded = true; break;meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch renamed from meta/recipes-devtools/binutils/binutils/0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch +4
-4@@ -1,4 +1,4 @@ -From 00ae1ee97ad3ad0624798b28c6bab94a19b3ef39 Mon Sep 17 00:00:00 2001 +From 883b6c0930410f8553b3bce0dd98131bc1694fa6 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo <[email protected]> Date: Sat, 11 Jun 2016 22:08:29 -0500 Subject: [PATCH] fix the incorrect assembling for ppc wait mnemonic@@ -14,10 +14,10 @@ Signed-off-by: Zhenhua Luo <[email protected]> 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c -index a424dd924de..406d5b60917 100644 +index 7637d3e349e..8e074e13208 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c -@@ -6378,8 +6378,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -6947,8 +6947,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitasec", X(31,30), XRTRARB_MASK, POWER8, POWER9, {0}}, {"waitrsv", XWCPL(31,30,1,0),0xffffffff, POWER10, EXT, {0}}, {"pause_short", XWCPL(31,30,2,0),0xffffffff, POWER10, EXT, {0}},@@ -26,7 +26,7 @@ index a424dd924de..406d5b60917 100644 {"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, -@@ -6433,7 +6431,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -7002,7 +7000,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}}, {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}},meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch renamed from meta/recipes-devtools/binutils/binutils/0009-Use-libtool-2.4.patch +7567
-1128@@ -1,4 +1,4 @@ -From 9a0dea4d2f1f0f2c71f519e6195ef9cfacd9fda9 Mon Sep 17 00:00:00 2001 +From 0f45262ef0d656c576adbb0b0f42b8f417895008 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sun, 14 Feb 2016 17:04:07 +0000 Subject: [PATCH] Use libtool 2.4@@ -9,28 +9,75 @@ Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> --- - bfd/configure | 1333 +++++++++++++----- - bfd/configure.ac | 2 +- - binutils/configure | 1331 +++++++++++++----- - gas/configure | 1331 +++++++++++++----- - gprof/configure | 1331 +++++++++++++----- - ld/configure | 1704 +++++++++++++++++------ - libbacktrace/configure | 1534 +++++++++++++++------ - libctf/configure | 1330 +++++++++++++----- - libtool.m4 | 1093 ++++++++++----- - ltmain.sh | 2925 +++++++++++++++++++++++++++------------- - ltoptions.m4 | 2 +- - ltversion.m4 | 12 +- - lt~obsolete.m4 | 2 +- - opcodes/configure | 1331 +++++++++++++----- - zlib/configure | 1331 +++++++++++++----- - 15 files changed, 12067 insertions(+), 4525 deletions(-) + bfd/Makefile.in | 3 + + bfd/configure | 1333 +++++++++--- + bfd/configure.ac | 2 +- + binutils/Makefile.in | 3 + + binutils/configure | 1331 +++++++++--- + gas/Makefile.in | 3 + + gas/configure | 1331 +++++++++--- + gdbsupport/Makefile.in | 1 + + gprof/Makefile.in | 3 + + gprof/configure | 1331 +++++++++--- + gprofng/Makefile.in | 2 + + gprofng/configure | 1701 ++++++++++++---- + gprofng/doc/Makefile.in | 2 + + gprofng/gp-display-html/Makefile.in | 2 + + gprofng/libcollector/Makefile.in | 2 + + gprofng/libcollector/configure | 1703 ++++++++++++---- + gprofng/src/Makefile.in | 2 + + ld/Makefile.in | 3 + + ld/configure | 1704 ++++++++++++---- + libbacktrace/Makefile.in | 3 + + libbacktrace/configure | 1331 +++++++++--- + libctf/Makefile.in | 2 + + libctf/configure | 1330 +++++++++--- + libtool.m4 | 1093 ++++++---- + ltmain.sh | 2925 ++++++++++++++++++--------- + ltoptions.m4 | 2 +- + ltversion.m4 | 12 +- + lt~obsolete.m4 | 2 +- + opcodes/Makefile.in | 3 + + opcodes/configure | 1331 +++++++++--- + sim/Makefile.in | 3 + + zlib/Makefile.in | 204 +- + zlib/aclocal.m4 | 218 +- + zlib/configure | 1554 +++++++++----- + 34 files changed, 14804 insertions(+), 5671 deletions(-) +diff --git a/bfd/Makefile.in b/bfd/Makefile.in +index a26f74d7199..6edacdfeb0e 100644 +--- a/bfd/Makefile.in ++++ b/bfd/Makefile.in +@@ -346,6 +346,7 @@ DATADIRNAME = @DATADIRNAME@ + DEBUGDIR = @DEBUGDIR@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -380,6 +381,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -421,6 +423,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + all_backends = @all_backends@ diff --git a/bfd/configure b/bfd/configure -index b23c9eebfd7..fb25d046cd2 100755 +index 4f591b750d8..d90db11744b 100755 --- a/bfd/configure +++ b/bfd/configure -@@ -707,6 +707,9 @@ OTOOL +@@ -702,6 +702,9 @@ OTOOL LIPO NMEDIT DSYMUTIL@@ -40,7 +87,7 @@ index b23c9eebfd7..fb25d046cd2 100755 OBJDUMP LN_S NM -@@ -825,6 +828,7 @@ enable_static +@@ -820,6 +823,7 @@ enable_static with_pic enable_fast_install with_gnu_ld@@ -48,7 +95,7 @@ index b23c9eebfd7..fb25d046cd2 100755 enable_libtool_lock enable_plugins enable_largefile -@@ -1509,6 +1513,8 @@ Optional Packages: +@@ -1504,6 +1508,8 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no]@@ -57,7 +104,7 @@ index b23c9eebfd7..fb25d046cd2 100755 --with-mmap try using mmap for BFD input files if available --with-separate-debug-dir=DIR Look for global separate debug info in DIR -@@ -5029,8 +5035,8 @@ esac +@@ -5024,8 +5030,8 @@ esac@@ -68,7 +115,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -5070,7 +5076,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO +@@ -5065,7 +5071,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present.@@ -77,7 +124,7 @@ index b23c9eebfd7..fb25d046cd2 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5757,8 +5763,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5758,8 +5764,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -88,7 +135,7 @@ index b23c9eebfd7..fb25d046cd2 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5807,6 +5813,80 @@ esac +@@ -5808,6 +5814,80 @@ esac@@ -169,7 +216,7 @@ index b23c9eebfd7..fb25d046cd2 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5823,6 +5903,11 @@ case $reload_flag in +@@ -5824,6 +5904,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -181,7 +228,7 @@ index b23c9eebfd7..fb25d046cd2 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5991,7 +6076,8 @@ mingw* | pw32*) +@@ -5992,7 +6077,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -191,7 +238,7 @@ index b23c9eebfd7..fb25d046cd2 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -6145,6 +6231,21 @@ esac +@@ -6146,6 +6232,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -213,7 +260,7 @@ index b23c9eebfd7..fb25d046cd2 100755 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 -@@ -6160,6 +6261,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -6161,6 +6262,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -371,7 +418,7 @@ index b23c9eebfd7..fb25d046cd2 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -6174,8 +6426,10 @@ for plugin in $plugin_names; do +@@ -6175,8 +6427,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -384,7 +431,7 @@ index b23c9eebfd7..fb25d046cd2 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -6191,7 +6445,7 @@ do +@@ -6192,7 +6446,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -393,7 +440,7 @@ index b23c9eebfd7..fb25d046cd2 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6211,11 +6465,15 @@ $as_echo "no" >&6; } +@@ -6212,11 +6466,15 @@ $as_echo "no" >&6; } fi@@ -412,7 +459,7 @@ index b23c9eebfd7..fb25d046cd2 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -6231,7 +6489,7 @@ do +@@ -6232,7 +6490,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -421,7 +468,7 @@ index b23c9eebfd7..fb25d046cd2 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6250,6 +6508,10 @@ else +@@ -6251,6 +6509,10 @@ else $as_echo "no" >&6; } fi@@ -432,7 +479,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -6261,25 +6523,20 @@ ac_tool_warned=yes ;; +@@ -6262,25 +6524,20 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -468,7 +515,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -6290,6 +6547,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru +@@ -6291,6 +6548,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru@@ -532,7 +579,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -@@ -6630,8 +6944,8 @@ esac +@@ -6631,8 +6945,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@@ -543,7 +590,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6667,6 +6981,7 @@ for ac_symprfx in "" "_"; do +@@ -6668,6 +6982,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@@ -551,7 +598,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6708,6 +7023,18 @@ _LT_EOF +@@ -6709,6 +7024,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@@ -570,7 +617,7 @@ index b23c9eebfd7..fb25d046cd2 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6719,7 +7046,7 @@ _LT_EOF +@@ -6720,7 +7047,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -579,7 +626,7 @@ index b23c9eebfd7..fb25d046cd2 100755 const char *name; void *address; } -@@ -6745,8 +7072,8 @@ static const void *lt_preloaded_setup() { +@@ -6746,8 +7073,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -590,7 +637,7 @@ index b23c9eebfd7..fb25d046cd2 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6756,8 +7083,8 @@ _LT_EOF +@@ -6757,8 +7084,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -601,7 +648,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6794,6 +7121,14 @@ else +@@ -6795,6 +7122,14 @@ else $as_echo "ok" >&6; } fi@@ -616,7 +663,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -6812,6 +7147,47 @@ fi +@@ -6813,6 +7148,47 @@ fi@@ -664,7 +711,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -7021,6 +7397,123 @@ esac +@@ -7022,6 +7398,123 @@ esac need_locks="$enable_libtool_lock"@@ -788,7 +835,7 @@ index b23c9eebfd7..fb25d046cd2 100755 case $host_os in rhapsody* | darwin*) -@@ -7584,6 +8077,8 @@ _LT_EOF +@@ -7585,6 +8078,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -797,7 +844,7 @@ index b23c9eebfd7..fb25d046cd2 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -8135,8 +8630,6 @@ fi +@@ -8136,8 +8631,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -806,7 +853,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -8302,6 +8795,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8303,6 +8796,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -819,7 +866,7 @@ index b23c9eebfd7..fb25d046cd2 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -8364,7 +8863,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8365,7 +8864,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -828,7 +875,7 @@ index b23c9eebfd7..fb25d046cd2 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -8421,13 +8920,17 @@ case $host_os in +@@ -8422,13 +8921,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -852,7 +899,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # # Check to make sure the PIC flag actually works. -@@ -8488,6 +8991,11 @@ fi +@@ -8489,6 +8992,11 @@ fi@@ -864,7 +911,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # # Check to make sure the static flag actually works. # -@@ -8838,7 +9346,8 @@ _LT_EOF +@@ -8839,7 +9347,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -874,7 +921,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8937,12 +9446,12 @@ _LT_EOF +@@ -8938,12 +9447,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -889,7 +936,7 @@ index b23c9eebfd7..fb25d046cd2 100755 fi ;; esac -@@ -8956,8 +9465,8 @@ _LT_EOF +@@ -8957,8 +9466,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -900,7 +947,7 @@ index b23c9eebfd7..fb25d046cd2 100755 fi ;; -@@ -8975,8 +9484,8 @@ _LT_EOF +@@ -8976,8 +9485,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -911,7 +958,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else ld_shlibs=no fi -@@ -9022,8 +9531,8 @@ _LT_EOF +@@ -9023,8 +9532,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -922,7 +969,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else ld_shlibs=no fi -@@ -9153,7 +9662,13 @@ _LT_EOF +@@ -9154,7 +9663,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -937,7 +984,7 @@ index b23c9eebfd7..fb25d046cd2 100755 /* end confdefs.h. */ int -@@ -9166,22 +9681,29 @@ main () +@@ -9167,22 +9682,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -980,7 +1027,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -9193,7 +9715,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9194,7 +9716,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -995,7 +1042,7 @@ index b23c9eebfd7..fb25d046cd2 100755 /* end confdefs.h. */ int -@@ -9206,22 +9734,29 @@ main () +@@ -9207,22 +9735,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -1038,7 +1085,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -9266,20 +9801,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9267,20 +9802,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -1116,7 +1163,7 @@ index b23c9eebfd7..fb25d046cd2 100755 ;; darwin* | rhapsody*) -@@ -9340,7 +9918,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9341,7 +9919,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -1125,7 +1172,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -9348,7 +9926,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9349,7 +9927,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -1134,7 +1181,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else archive_cmds='$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 -@@ -9364,7 +9942,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9365,7 +9943,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -1143,7 +1190,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -9388,10 +9966,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9389,10 +9967,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -1156,7 +1203,7 @@ index b23c9eebfd7..fb25d046cd2 100755 ;; esac else -@@ -9470,23 +10048,36 @@ fi +@@ -9471,23 +10049,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -1201,7 +1248,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9571,7 +10162,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9572,7 +10163,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -1210,7 +1257,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9590,9 +10181,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9591,9 +10182,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -1222,7 +1269,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -10168,8 +10759,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10169,8 +10760,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -1234,7 +1281,7 @@ index b23c9eebfd7..fb25d046cd2 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -10202,13 +10794,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10203,13 +10795,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -1307,16 +1354,16 @@ index b23c9eebfd7..fb25d046cd2 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -11086,7 +11736,7 @@ else +@@ -11087,7 +11737,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11089 "configure" +-#line 11090 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11130,10 +11780,10 @@ else +@@ -11131,10 +11781,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -1329,16 +1376,16 @@ index b23c9eebfd7..fb25d046cd2 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -11192,7 +11842,7 @@ else +@@ -11193,7 +11843,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11195 "configure" +-#line 11196 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11236,10 +11886,10 @@ else +@@ -11237,10 +11887,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -1351,7 +1398,7 @@ index b23c9eebfd7..fb25d046cd2 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -13224,7 +13874,7 @@ SHARED_LDFLAGS= +@@ -13225,7 +13875,7 @@ SHARED_LDFLAGS= if test "$enable_shared" = "yes"; then x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` if test -n "$x"; then@@ -1360,7 +1407,7 @@ index b23c9eebfd7..fb25d046cd2 100755 fi fi -@@ -15879,13 +16529,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -15869,13 +16519,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -1381,7 +1428,7 @@ index b23c9eebfd7..fb25d046cd2 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -15900,14 +16557,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -15890,14 +16547,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -1400,7 +1447,7 @@ index b23c9eebfd7..fb25d046cd2 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -15940,12 +16600,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -15930,12 +16590,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -1414,7 +1461,7 @@ index b23c9eebfd7..fb25d046cd2 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -16000,8 +16660,13 @@ reload_flag \ +@@ -15990,8 +16650,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -1428,7 +1475,7 @@ index b23c9eebfd7..fb25d046cd2 100755 STRIP \ RANLIB \ CC \ -@@ -16011,12 +16676,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -16001,12 +16666,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -1444,7 +1491,7 @@ index b23c9eebfd7..fb25d046cd2 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -16032,7 +16699,6 @@ no_undefined_flag \ +@@ -16022,7 +16689,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -1452,7 +1499,7 @@ index b23c9eebfd7..fb25d046cd2 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -16068,6 +16734,7 @@ module_cmds \ +@@ -16058,6 +16724,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -1460,7 +1507,7 @@ index b23c9eebfd7..fb25d046cd2 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -16837,7 +17504,8 @@ $as_echo X"$file" | +@@ -16826,7 +17493,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -1470,7 +1517,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -16940,19 +17608,42 @@ SP2NL=$lt_lt_SP2NL +@@ -16929,19 +17597,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -1514,7 +1561,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -16982,6 +17673,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -16971,6 +17662,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -1527,7 +1574,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -16991,6 +17688,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -16980,6 +17677,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -1537,7 +1584,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -17105,12 +17805,12 @@ with_gcc=$GCC +@@ -17094,12 +17794,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -1553,7 +1600,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -17197,9 +17897,6 @@ inherit_rpath=$inherit_rpath +@@ -17186,9 +17886,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -1563,7 +1610,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -17215,6 +17912,9 @@ include_expsyms=$lt_include_expsyms +@@ -17204,6 +17901,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -1573,7 +1620,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -17247,210 +17947,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -17236,210 +17936,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -1948,10 +1995,10 @@ index b23c9eebfd7..fb25d046cd2 100755 chmod +x "$ofile" diff --git a/bfd/configure.ac b/bfd/configure.ac -index a9078965c40..22b5b7ea567 100644 +index 6146efb5ae3..73e5e03d016 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac -@@ -303,7 +303,7 @@ changequote(,)dnl +@@ -282,7 +282,7 @@ changequote(,)dnl x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` changequote([,])dnl if test -n "$x"; then@@ -1960,11 +2007,39 @@ index a9078965c40..22b5b7ea567 100644 fi fi +diff --git a/binutils/Makefile.in b/binutils/Makefile.in +index 78d32b350e3..ad4f2de7358 100644 +--- a/binutils/Makefile.in ++++ b/binutils/Makefile.in +@@ -492,6 +492,7 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@ + DEFS = @DEFS@ + DEMANGLER_NAME = @DEMANGLER_NAME@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DLLTOOL_DEFS = @DLLTOOL_DEFS@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ +@@ -533,6 +534,7 @@ LTLIBICONV = @LTLIBICONV@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -579,6 +581,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + am__include = @am__include@ diff --git a/binutils/configure b/binutils/configure -index 8cde216cb1f..15f3f4eb874 100755 +index 149815542f9..43952bde405 100755 --- a/binutils/configure +++ b/binutils/configure -@@ -696,8 +696,11 @@ OTOOL +@@ -698,8 +698,11 @@ OTOOL LIPO NMEDIT DSYMUTIL@@ -1976,7 +2051,7 @@ index 8cde216cb1f..15f3f4eb874 100755 OBJDUMP LN_S NM -@@ -814,6 +817,7 @@ enable_static +@@ -816,6 +819,7 @@ enable_static with_pic enable_fast_install with_gnu_ld@@ -1984,7 +2059,7 @@ index 8cde216cb1f..15f3f4eb874 100755 enable_libtool_lock enable_plugins enable_largefile -@@ -1509,6 +1513,8 @@ Optional Packages: +@@ -1514,6 +1518,8 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no]@@ -1993,7 +2068,7 @@ index 8cde216cb1f..15f3f4eb874 100755 --with-debuginfod Enable debuginfo lookups with debuginfod (auto/yes/no) --with-system-zlib use installed libz -@@ -4883,8 +4889,8 @@ esac +@@ -4893,8 +4899,8 @@ esac@@ -2004,7 +2079,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -4924,7 +4930,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO +@@ -4934,7 +4940,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present.@@ -2013,7 +2088,7 @@ index 8cde216cb1f..15f3f4eb874 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5611,8 +5617,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5627,8 +5633,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -2024,7 +2099,7 @@ index 8cde216cb1f..15f3f4eb874 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5661,6 +5667,80 @@ esac +@@ -5677,6 +5683,80 @@ esac@@ -2105,7 +2180,7 @@ index 8cde216cb1f..15f3f4eb874 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5677,6 +5757,11 @@ case $reload_flag in +@@ -5693,6 +5773,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -2117,7 +2192,7 @@ index 8cde216cb1f..15f3f4eb874 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5845,7 +5930,8 @@ mingw* | pw32*) +@@ -5861,7 +5946,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -2127,7 +2202,7 @@ index 8cde216cb1f..15f3f4eb874 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -5999,6 +6085,21 @@ esac +@@ -6015,6 +6101,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -2149,7 +2224,7 @@ index 8cde216cb1f..15f3f4eb874 100755 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 -@@ -6014,6 +6115,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -6030,6 +6131,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -2307,7 +2382,7 @@ index 8cde216cb1f..15f3f4eb874 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -6028,8 +6280,10 @@ for plugin in $plugin_names; do +@@ -6044,8 +6296,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -2320,7 +2395,7 @@ index 8cde216cb1f..15f3f4eb874 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -6045,7 +6299,7 @@ do +@@ -6061,7 +6315,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -2329,7 +2404,7 @@ index 8cde216cb1f..15f3f4eb874 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6065,11 +6319,15 @@ $as_echo "no" >&6; } +@@ -6081,11 +6335,15 @@ $as_echo "no" >&6; } fi@@ -2348,7 +2423,7 @@ index 8cde216cb1f..15f3f4eb874 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -6085,7 +6343,7 @@ do +@@ -6101,7 +6359,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -2357,7 +2432,7 @@ index 8cde216cb1f..15f3f4eb874 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6104,6 +6362,10 @@ else +@@ -6120,6 +6378,10 @@ else $as_echo "no" >&6; } fi@@ -2368,7 +2443,7 @@ index 8cde216cb1f..15f3f4eb874 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -6115,29 +6377,81 @@ ac_tool_warned=yes ;; +@@ -6131,29 +6393,81 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -2465,7 +2540,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -6484,8 +6798,8 @@ esac +@@ -6500,8 +6814,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@@ -2476,7 +2551,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6521,6 +6835,7 @@ for ac_symprfx in "" "_"; do +@@ -6537,6 +6851,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@@ -2484,7 +2559,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6562,6 +6877,18 @@ _LT_EOF +@@ -6578,6 +6893,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@@ -2503,7 +2578,7 @@ index 8cde216cb1f..15f3f4eb874 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6573,7 +6900,7 @@ _LT_EOF +@@ -6589,7 +6916,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -2512,7 +2587,7 @@ index 8cde216cb1f..15f3f4eb874 100755 const char *name; void *address; } -@@ -6599,8 +6926,8 @@ static const void *lt_preloaded_setup() { +@@ -6615,8 +6942,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -2523,7 +2598,7 @@ index 8cde216cb1f..15f3f4eb874 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6610,8 +6937,8 @@ _LT_EOF +@@ -6626,8 +6953,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -2534,7 +2609,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6648,6 +6975,19 @@ else +@@ -6664,6 +6991,19 @@ else $as_echo "ok" >&6; } fi@@ -2554,7 +2629,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -6664,6 +7004,42 @@ fi +@@ -6680,6 +7020,42 @@ fi@@ -2597,7 +2672,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -6875,6 +7251,123 @@ esac +@@ -6891,6 +7267,123 @@ esac need_locks="$enable_libtool_lock"@@ -2721,7 +2796,7 @@ index 8cde216cb1f..15f3f4eb874 100755 case $host_os in rhapsody* | darwin*) -@@ -7438,6 +7931,8 @@ _LT_EOF +@@ -7454,6 +7947,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -2730,7 +2805,7 @@ index 8cde216cb1f..15f3f4eb874 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -8020,8 +8515,6 @@ fi +@@ -8036,8 +8531,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -2739,7 +2814,7 @@ index 8cde216cb1f..15f3f4eb874 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -8187,6 +8680,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8203,6 +8696,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -2752,7 +2827,7 @@ index 8cde216cb1f..15f3f4eb874 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -8249,7 +8748,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8265,7 +8764,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -2761,7 +2836,7 @@ index 8cde216cb1f..15f3f4eb874 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -8306,13 +8805,17 @@ case $host_os in +@@ -8322,13 +8821,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -2785,7 +2860,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # # Check to make sure the PIC flag actually works. -@@ -8373,6 +8876,11 @@ fi +@@ -8389,6 +8892,11 @@ fi@@ -2797,7 +2872,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # # Check to make sure the static flag actually works. # -@@ -8723,7 +9231,8 @@ _LT_EOF +@@ -8739,7 +9247,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -2807,7 +2882,7 @@ index 8cde216cb1f..15f3f4eb874 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8822,12 +9331,12 @@ _LT_EOF +@@ -8838,12 +9347,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -2822,7 +2897,7 @@ index 8cde216cb1f..15f3f4eb874 100755 fi ;; esac -@@ -8841,8 +9350,8 @@ _LT_EOF +@@ -8857,8 +9366,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -2833,7 +2908,7 @@ index 8cde216cb1f..15f3f4eb874 100755 fi ;; -@@ -8860,8 +9369,8 @@ _LT_EOF +@@ -8876,8 +9385,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -2844,7 +2919,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else ld_shlibs=no fi -@@ -8907,8 +9416,8 @@ _LT_EOF +@@ -8923,8 +9432,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -2855,7 +2930,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else ld_shlibs=no fi -@@ -9038,7 +9547,13 @@ _LT_EOF +@@ -9054,7 +9563,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -2870,7 +2945,7 @@ index 8cde216cb1f..15f3f4eb874 100755 /* end confdefs.h. */ int -@@ -9051,22 +9566,29 @@ main () +@@ -9067,22 +9582,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -2913,7 +2988,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -9078,7 +9600,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9094,7 +9616,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -2928,7 +3003,7 @@ index 8cde216cb1f..15f3f4eb874 100755 /* end confdefs.h. */ int -@@ -9091,22 +9619,29 @@ main () +@@ -9107,22 +9635,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -2971,7 +3046,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -9151,20 +9686,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9167,20 +9702,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -3049,7 +3124,7 @@ index 8cde216cb1f..15f3f4eb874 100755 ;; darwin* | rhapsody*) -@@ -9225,7 +9803,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9241,7 +9819,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -3058,7 +3133,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -9233,7 +9811,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9249,7 +9827,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -3067,7 +3142,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else archive_cmds='$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 -@@ -9249,7 +9827,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9265,7 +9843,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -3076,7 +3151,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -9273,10 +9851,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9289,10 +9867,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -3089,7 +3164,7 @@ index 8cde216cb1f..15f3f4eb874 100755 ;; esac else -@@ -9355,23 +9933,36 @@ fi +@@ -9371,23 +9949,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -3134,7 +3209,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9456,7 +10047,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9472,7 +10063,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -3143,7 +3218,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9475,9 +10066,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9491,9 +10082,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -3155,7 +3230,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -10053,8 +10644,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10069,8 +10660,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -3167,7 +3242,7 @@ index 8cde216cb1f..15f3f4eb874 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -10087,13 +10679,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10103,13 +10695,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -3240,16 +3315,16 @@ index 8cde216cb1f..15f3f4eb874 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -10971,7 +11621,7 @@ else +@@ -10987,7 +11637,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10974 "configure" +-#line 10990 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11015,10 +11665,10 @@ else +@@ -11031,10 +11681,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -3262,16 +3337,16 @@ index 8cde216cb1f..15f3f4eb874 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -11077,7 +11727,7 @@ else +@@ -11093,7 +11743,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11080 "configure" +-#line 11096 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11121,10 +11771,10 @@ else +@@ -11137,10 +11787,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -3284,7 +3359,7 @@ index 8cde216cb1f..15f3f4eb874 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -15505,13 +16155,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -15642,13 +16292,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -3305,7 +3380,7 @@ index 8cde216cb1f..15f3f4eb874 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -15526,14 +16183,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -15663,14 +16320,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -3324,7 +3399,7 @@ index 8cde216cb1f..15f3f4eb874 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -15566,12 +16226,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -15703,12 +16363,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -3338,7 +3413,7 @@ index 8cde216cb1f..15f3f4eb874 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -15626,8 +16286,13 @@ reload_flag \ +@@ -15763,8 +16423,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -3352,7 +3427,7 @@ index 8cde216cb1f..15f3f4eb874 100755 STRIP \ RANLIB \ CC \ -@@ -15637,12 +16302,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -15774,12 +16439,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -3368,7 +3443,7 @@ index 8cde216cb1f..15f3f4eb874 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -15658,7 +16325,6 @@ no_undefined_flag \ +@@ -15795,7 +16462,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -3376,7 +3451,7 @@ index 8cde216cb1f..15f3f4eb874 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -15694,6 +16360,7 @@ module_cmds \ +@@ -15831,6 +16497,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -3384,7 +3459,7 @@ index 8cde216cb1f..15f3f4eb874 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -16459,7 +17126,8 @@ $as_echo X"$file" | +@@ -16596,7 +17263,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -3394,7 +3469,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -16562,19 +17230,42 @@ SP2NL=$lt_lt_SP2NL +@@ -16699,19 +17367,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -3438,7 +3513,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -16604,6 +17295,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -16741,6 +17432,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -3451,7 +3526,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -16613,6 +17310,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -16750,6 +17447,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -3461,7 +3536,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -16727,12 +17427,12 @@ with_gcc=$GCC +@@ -16864,12 +17564,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -3477,7 +3552,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -16819,9 +17519,6 @@ inherit_rpath=$inherit_rpath +@@ -16956,9 +17656,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -3487,7 +3562,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -16837,6 +17534,9 @@ include_expsyms=$lt_include_expsyms +@@ -16974,6 +17671,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -3497,7 +3572,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -16869,210 +17569,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -17006,210 +17706,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -3871,8 +3946,36 @@ index 8cde216cb1f..15f3f4eb874 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +diff --git a/gas/Makefile.in b/gas/Makefile.in +index c57d78f82c4..da370b21855 100644 +--- a/gas/Makefile.in ++++ b/gas/Makefile.in +@@ -373,6 +373,7 @@ CYGPATH_W = @CYGPATH_W@ + DATADIRNAME = @DATADIRNAME@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -409,6 +410,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -447,6 +449,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + am__include = @am__include@ diff --git a/gas/configure b/gas/configure -index dc6a6682aa4..10364bd81da 100755 +index 12c16faefd9..11b5127bf3a 100755 --- a/gas/configure +++ b/gas/configure @@ -681,8 +681,11 @@ OTOOL@@ -3924,7 +4027,7 @@ index dc6a6682aa4..10364bd81da 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5336,8 +5342,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5342,8 +5348,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -3935,7 +4038,7 @@ index dc6a6682aa4..10364bd81da 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5386,6 +5392,80 @@ esac +@@ -5392,6 +5398,80 @@ esac@@ -4016,7 +4119,7 @@ index dc6a6682aa4..10364bd81da 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5402,6 +5482,11 @@ case $reload_flag in +@@ -5408,6 +5488,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -4028,7 +4131,7 @@ index dc6a6682aa4..10364bd81da 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5570,7 +5655,8 @@ mingw* | pw32*) +@@ -5576,7 +5661,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -4038,7 +4141,7 @@ index dc6a6682aa4..10364bd81da 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -5724,6 +5810,21 @@ esac +@@ -5730,6 +5816,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -4060,7 +4163,7 @@ index dc6a6682aa4..10364bd81da 100755 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 -@@ -5739,6 +5840,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -5745,6 +5846,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -4218,7 +4321,7 @@ index dc6a6682aa4..10364bd81da 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -5753,8 +6005,10 @@ for plugin in $plugin_names; do +@@ -5759,8 +6011,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -4231,7 +4334,7 @@ index dc6a6682aa4..10364bd81da 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -5770,7 +6024,7 @@ do +@@ -5776,7 +6030,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -4240,7 +4343,7 @@ index dc6a6682aa4..10364bd81da 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5790,11 +6044,15 @@ $as_echo "no" >&6; } +@@ -5796,11 +6050,15 @@ $as_echo "no" >&6; } fi@@ -4259,7 +4362,7 @@ index dc6a6682aa4..10364bd81da 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -5810,7 +6068,7 @@ do +@@ -5816,7 +6074,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -4268,7 +4371,7 @@ index dc6a6682aa4..10364bd81da 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5829,6 +6087,10 @@ else +@@ -5835,6 +6093,10 @@ else $as_echo "no" >&6; } fi@@ -4279,7 +4382,7 @@ index dc6a6682aa4..10364bd81da 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -5840,29 +6102,81 @@ ac_tool_warned=yes ;; +@@ -5846,29 +6108,81 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -4376,7 +4479,7 @@ index dc6a6682aa4..10364bd81da 100755 -@@ -6209,8 +6523,8 @@ esac +@@ -6215,8 +6529,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@@ -4387,7 +4490,7 @@ index dc6a6682aa4..10364bd81da 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6246,6 +6560,7 @@ for ac_symprfx in "" "_"; do +@@ -6252,6 +6566,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@@ -4395,7 +4498,7 @@ index dc6a6682aa4..10364bd81da 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6287,6 +6602,18 @@ _LT_EOF +@@ -6293,6 +6608,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@@ -4414,7 +4517,7 @@ index dc6a6682aa4..10364bd81da 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6298,7 +6625,7 @@ _LT_EOF +@@ -6304,7 +6631,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -4423,7 +4526,7 @@ index dc6a6682aa4..10364bd81da 100755 const char *name; void *address; } -@@ -6324,8 +6651,8 @@ static const void *lt_preloaded_setup() { +@@ -6330,8 +6657,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -4434,7 +4537,7 @@ index dc6a6682aa4..10364bd81da 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6335,8 +6662,8 @@ _LT_EOF +@@ -6341,8 +6668,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -4445,7 +4548,7 @@ index dc6a6682aa4..10364bd81da 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6373,6 +6700,19 @@ else +@@ -6379,6 +6706,19 @@ else $as_echo "ok" >&6; } fi@@ -4465,7 +4568,7 @@ index dc6a6682aa4..10364bd81da 100755 -@@ -6389,6 +6729,42 @@ fi +@@ -6395,6 +6735,42 @@ fi@@ -4508,7 +4611,7 @@ index dc6a6682aa4..10364bd81da 100755 -@@ -6600,6 +6976,123 @@ esac +@@ -6606,6 +6982,123 @@ esac need_locks="$enable_libtool_lock"@@ -4632,7 +4735,7 @@ index dc6a6682aa4..10364bd81da 100755 case $host_os in rhapsody* | darwin*) -@@ -7163,6 +7656,8 @@ _LT_EOF +@@ -7169,6 +7662,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -4641,7 +4744,7 @@ index dc6a6682aa4..10364bd81da 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -7745,8 +8240,6 @@ fi +@@ -7751,8 +8246,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -4650,7 +4753,7 @@ index dc6a6682aa4..10364bd81da 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -7912,6 +8405,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7918,6 +8411,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -4663,7 +4766,7 @@ index dc6a6682aa4..10364bd81da 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -7974,7 +8473,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7980,7 +8479,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -4672,7 +4775,7 @@ index dc6a6682aa4..10364bd81da 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -8031,13 +8530,17 @@ case $host_os in +@@ -8037,13 +8536,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -4696,7 +4799,7 @@ index dc6a6682aa4..10364bd81da 100755 # # Check to make sure the PIC flag actually works. -@@ -8098,6 +8601,11 @@ fi +@@ -8104,6 +8607,11 @@ fi@@ -4708,7 +4811,7 @@ index dc6a6682aa4..10364bd81da 100755 # # Check to make sure the static flag actually works. # -@@ -8448,7 +8956,8 @@ _LT_EOF +@@ -8454,7 +8962,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -4718,7 +4821,7 @@ index dc6a6682aa4..10364bd81da 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8547,12 +9056,12 @@ _LT_EOF +@@ -8553,12 +9062,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -4733,7 +4836,7 @@ index dc6a6682aa4..10364bd81da 100755 fi ;; esac -@@ -8566,8 +9075,8 @@ _LT_EOF +@@ -8572,8 +9081,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -4744,7 +4847,7 @@ index dc6a6682aa4..10364bd81da 100755 fi ;; -@@ -8585,8 +9094,8 @@ _LT_EOF +@@ -8591,8 +9100,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -4755,7 +4858,7 @@ index dc6a6682aa4..10364bd81da 100755 else ld_shlibs=no fi -@@ -8632,8 +9141,8 @@ _LT_EOF +@@ -8638,8 +9147,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -4766,7 +4869,7 @@ index dc6a6682aa4..10364bd81da 100755 else ld_shlibs=no fi -@@ -8763,7 +9272,13 @@ _LT_EOF +@@ -8769,7 +9278,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -4781,7 +4884,7 @@ index dc6a6682aa4..10364bd81da 100755 /* end confdefs.h. */ int -@@ -8776,22 +9291,29 @@ main () +@@ -8782,22 +9297,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -4824,7 +4927,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -8803,7 +9325,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8809,7 +9331,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -4839,7 +4942,7 @@ index dc6a6682aa4..10364bd81da 100755 /* end confdefs.h. */ int -@@ -8816,22 +9344,29 @@ main () +@@ -8822,22 +9350,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -4882,7 +4985,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -8876,20 +9411,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8882,20 +9417,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -4960,7 +5063,7 @@ index dc6a6682aa4..10364bd81da 100755 ;; darwin* | rhapsody*) -@@ -8950,7 +9528,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8956,7 +9534,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -4969,7 +5072,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -8958,7 +9536,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8964,7 +9542,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -4978,7 +5081,7 @@ index dc6a6682aa4..10364bd81da 100755 else archive_cmds='$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 -@@ -8974,7 +9552,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8980,7 +9558,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -4987,7 +5090,7 @@ index dc6a6682aa4..10364bd81da 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -8998,10 +9576,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9004,10 +9582,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -5000,7 +5103,7 @@ index dc6a6682aa4..10364bd81da 100755 ;; esac else -@@ -9080,23 +9658,36 @@ fi +@@ -9086,23 +9664,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -5045,7 +5148,7 @@ index dc6a6682aa4..10364bd81da 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9181,7 +9772,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9187,7 +9778,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -5054,7 +5157,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9200,9 +9791,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9206,9 +9797,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -5066,7 +5169,7 @@ index dc6a6682aa4..10364bd81da 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -9778,8 +10369,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9784,8 +10375,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -5078,7 +5181,7 @@ index dc6a6682aa4..10364bd81da 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -9812,13 +10404,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9818,13 +10410,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -5151,16 +5254,16 @@ index dc6a6682aa4..10364bd81da 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -10696,7 +11346,7 @@ else +@@ -10702,7 +11352,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10699 "configure" +-#line 10705 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10740,10 +11390,10 @@ else +@@ -10746,10 +11396,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -5173,16 +5276,16 @@ index dc6a6682aa4..10364bd81da 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -10802,7 +11452,7 @@ else +@@ -10808,7 +11458,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10805 "configure" +-#line 10811 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10846,10 +11496,10 @@ else +@@ -10852,10 +11502,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -5195,7 +5298,7 @@ index dc6a6682aa4..10364bd81da 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -14832,13 +15482,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -14834,13 +15484,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -5216,7 +5319,7 @@ index dc6a6682aa4..10364bd81da 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -14853,14 +15510,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -14855,14 +15512,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -5235,7 +5338,7 @@ index dc6a6682aa4..10364bd81da 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -14893,12 +15553,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -14895,12 +15555,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -5249,7 +5352,7 @@ index dc6a6682aa4..10364bd81da 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -14953,8 +15613,13 @@ reload_flag \ +@@ -14955,8 +15615,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -5263,7 +5366,7 @@ index dc6a6682aa4..10364bd81da 100755 STRIP \ RANLIB \ CC \ -@@ -14964,12 +15629,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -14966,12 +15631,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -5279,7 +5382,7 @@ index dc6a6682aa4..10364bd81da 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -14985,7 +15652,6 @@ no_undefined_flag \ +@@ -14987,7 +15654,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -5287,7 +5390,7 @@ index dc6a6682aa4..10364bd81da 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -15021,6 +15687,7 @@ module_cmds \ +@@ -15023,6 +15689,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -5295,7 +5398,7 @@ index dc6a6682aa4..10364bd81da 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -15793,7 +16460,8 @@ $as_echo X"$file" | +@@ -15795,7 +16462,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -5305,7 +5408,7 @@ index dc6a6682aa4..10364bd81da 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -15896,19 +16564,42 @@ SP2NL=$lt_lt_SP2NL +@@ -15898,19 +16566,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -5349,7 +5452,7 @@ index dc6a6682aa4..10364bd81da 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -15938,6 +16629,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -15940,6 +16631,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -5362,7 +5465,7 @@ index dc6a6682aa4..10364bd81da 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -15947,6 +16644,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -15949,6 +16646,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -5372,7 +5475,7 @@ index dc6a6682aa4..10364bd81da 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -16061,12 +16761,12 @@ with_gcc=$GCC +@@ -16063,12 +16763,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -5388,7 +5491,7 @@ index dc6a6682aa4..10364bd81da 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -16153,9 +16853,6 @@ inherit_rpath=$inherit_rpath +@@ -16155,9 +16855,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -5398,7 +5501,7 @@ index dc6a6682aa4..10364bd81da 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -16171,6 +16868,9 @@ include_expsyms=$lt_include_expsyms +@@ -16173,6 +16870,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -5408,7 +5511,7 @@ index dc6a6682aa4..10364bd81da 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -16203,210 +16903,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -16205,210 +16905,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -5782,8 +5885,48 @@ index dc6a6682aa4..10364bd81da 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in +index bdceff3b56a..6aadae41031 100644 +--- a/gdbsupport/Makefile.in ++++ b/gdbsupport/Makefile.in +@@ -233,6 +233,7 @@ CATOBJEXT = @CATOBJEXT@ + CC = @CC@ + CCDEPMODE = @CCDEPMODE@ + CFLAGS = @CFLAGS@ ++CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@ + CPP = @CPP@ + CPPFLAGS = @CPPFLAGS@ + CXX = @CXX@ +diff --git a/gprof/Makefile.in b/gprof/Makefile.in +index 5ef5ece74a9..9d7ce8b62b2 100644 +--- a/gprof/Makefile.in ++++ b/gprof/Makefile.in +@@ -321,6 +321,7 @@ CYGPATH_W = @CYGPATH_W@ + DATADIRNAME = @DATADIRNAME@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -352,6 +353,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -387,6 +389,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + am__include = @am__include@ diff --git a/gprof/configure b/gprof/configure -index a7f788f0411..e7703613024 100755 +index 5a59f1c1d0e..2506887d3b0 100755 --- a/gprof/configure +++ b/gprof/configure @@ -663,8 +663,11 @@ OTOOL@@ -5835,7 +5978,7 @@ index a7f788f0411..e7703613024 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5238,8 +5244,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5244,8 +5250,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -5846,7 +5989,7 @@ index a7f788f0411..e7703613024 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5288,6 +5294,80 @@ esac +@@ -5294,6 +5300,80 @@ esac@@ -5927,7 +6070,7 @@ index a7f788f0411..e7703613024 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5304,6 +5384,11 @@ case $reload_flag in +@@ -5310,6 +5390,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -5939,7 +6082,7 @@ index a7f788f0411..e7703613024 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5472,7 +5557,8 @@ mingw* | pw32*) +@@ -5478,7 +5563,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -5949,7 +6092,7 @@ index a7f788f0411..e7703613024 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -5626,6 +5712,21 @@ esac +@@ -5632,6 +5718,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -5971,7 +6114,7 @@ index a7f788f0411..e7703613024 100755 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 -@@ -5641,6 +5742,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -5647,6 +5748,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -6129,7 +6272,7 @@ index a7f788f0411..e7703613024 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -5655,8 +5907,10 @@ for plugin in $plugin_names; do +@@ -5661,8 +5913,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -6142,7 +6285,7 @@ index a7f788f0411..e7703613024 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -5672,7 +5926,7 @@ do +@@ -5678,7 +5932,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -6151,7 +6294,7 @@ index a7f788f0411..e7703613024 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5692,11 +5946,15 @@ $as_echo "no" >&6; } +@@ -5698,11 +5952,15 @@ $as_echo "no" >&6; } fi@@ -6170,7 +6313,7 @@ index a7f788f0411..e7703613024 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -5712,7 +5970,7 @@ do +@@ -5718,7 +5976,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -6179,7 +6322,7 @@ index a7f788f0411..e7703613024 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5731,6 +5989,10 @@ else +@@ -5737,6 +5995,10 @@ else $as_echo "no" >&6; } fi@@ -6190,7 +6333,7 @@ index a7f788f0411..e7703613024 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -5742,25 +6004,19 @@ ac_tool_warned=yes ;; +@@ -5748,25 +6010,19 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -6225,7 +6368,7 @@ index a7f788f0411..e7703613024 100755 -@@ -5772,6 +6028,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru +@@ -5778,6 +6034,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru@@ -6290,7 +6433,7 @@ index a7f788f0411..e7703613024 100755 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -@@ -6111,8 +6425,8 @@ esac +@@ -6117,8 +6431,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@@ -6301,7 +6444,7 @@ index a7f788f0411..e7703613024 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6148,6 +6462,7 @@ for ac_symprfx in "" "_"; do +@@ -6154,6 +6468,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@@ -6309,7 +6452,7 @@ index a7f788f0411..e7703613024 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6189,6 +6504,18 @@ _LT_EOF +@@ -6195,6 +6510,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@@ -6328,7 +6471,7 @@ index a7f788f0411..e7703613024 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6200,7 +6527,7 @@ _LT_EOF +@@ -6206,7 +6533,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -6337,7 +6480,7 @@ index a7f788f0411..e7703613024 100755 const char *name; void *address; } -@@ -6226,8 +6553,8 @@ static const void *lt_preloaded_setup() { +@@ -6232,8 +6559,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -6348,7 +6491,7 @@ index a7f788f0411..e7703613024 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6237,8 +6564,8 @@ _LT_EOF +@@ -6243,8 +6570,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -6359,7 +6502,7 @@ index a7f788f0411..e7703613024 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6275,6 +6602,18 @@ else +@@ -6281,6 +6608,18 @@ else $as_echo "ok" >&6; } fi@@ -6378,7 +6521,7 @@ index a7f788f0411..e7703613024 100755 -@@ -6291,6 +6630,43 @@ fi +@@ -6297,6 +6636,43 @@ fi@@ -6422,7 +6565,7 @@ index a7f788f0411..e7703613024 100755 -@@ -6502,6 +6878,123 @@ esac +@@ -6508,6 +6884,123 @@ esac need_locks="$enable_libtool_lock"@@ -6546,7 +6689,7 @@ index a7f788f0411..e7703613024 100755 case $host_os in rhapsody* | darwin*) -@@ -7065,6 +7558,8 @@ _LT_EOF +@@ -7071,6 +7564,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -6555,7 +6698,7 @@ index a7f788f0411..e7703613024 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -7647,8 +8142,6 @@ fi +@@ -7653,8 +8148,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -6564,7 +6707,7 @@ index a7f788f0411..e7703613024 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -7814,6 +8307,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7820,6 +8313,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -6577,7 +6720,7 @@ index a7f788f0411..e7703613024 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -7876,7 +8375,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7882,7 +8381,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -6586,7 +6729,7 @@ index a7f788f0411..e7703613024 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -7933,13 +8432,17 @@ case $host_os in +@@ -7939,13 +8438,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -6610,7 +6753,7 @@ index a7f788f0411..e7703613024 100755 # # Check to make sure the PIC flag actually works. -@@ -8000,6 +8503,11 @@ fi +@@ -8006,6 +8509,11 @@ fi@@ -6622,7 +6765,7 @@ index a7f788f0411..e7703613024 100755 # # Check to make sure the static flag actually works. # -@@ -8350,7 +8858,8 @@ _LT_EOF +@@ -8356,7 +8864,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -6632,7 +6775,7 @@ index a7f788f0411..e7703613024 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8449,12 +8958,12 @@ _LT_EOF +@@ -8455,12 +8964,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -6647,7 +6790,7 @@ index a7f788f0411..e7703613024 100755 fi ;; esac -@@ -8468,8 +8977,8 @@ _LT_EOF +@@ -8474,8 +8983,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -6658,7 +6801,7 @@ index a7f788f0411..e7703613024 100755 fi ;; -@@ -8487,8 +8996,8 @@ _LT_EOF +@@ -8493,8 +9002,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -6669,7 +6812,7 @@ index a7f788f0411..e7703613024 100755 else ld_shlibs=no fi -@@ -8534,8 +9043,8 @@ _LT_EOF +@@ -8540,8 +9049,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -6680,7 +6823,7 @@ index a7f788f0411..e7703613024 100755 else ld_shlibs=no fi -@@ -8665,7 +9174,13 @@ _LT_EOF +@@ -8671,7 +9180,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -6695,7 +6838,7 @@ index a7f788f0411..e7703613024 100755 /* end confdefs.h. */ int -@@ -8678,22 +9193,29 @@ main () +@@ -8684,22 +9199,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -6738,7 +6881,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -8705,7 +9227,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8711,7 +9233,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -6753,7 +6896,7 @@ index a7f788f0411..e7703613024 100755 /* end confdefs.h. */ int -@@ -8718,22 +9246,29 @@ main () +@@ -8724,22 +9252,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -6796,7 +6939,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -8778,20 +9313,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8784,20 +9319,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -6874,7 +7017,7 @@ index a7f788f0411..e7703613024 100755 ;; darwin* | rhapsody*) -@@ -8852,7 +9430,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8858,7 +9436,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -6883,7 +7026,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -8860,7 +9438,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8866,7 +9444,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -6892,7 +7035,7 @@ index a7f788f0411..e7703613024 100755 else archive_cmds='$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 -@@ -8876,7 +9454,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8882,7 +9460,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -6901,7 +7044,7 @@ index a7f788f0411..e7703613024 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -8900,10 +9478,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8906,10 +9484,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -6914,7 +7057,7 @@ index a7f788f0411..e7703613024 100755 ;; esac else -@@ -8982,23 +9560,36 @@ fi +@@ -8988,23 +9566,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -6959,7 +7102,7 @@ index a7f788f0411..e7703613024 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9083,7 +9674,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9089,7 +9680,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -6968,7 +7111,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9102,9 +9693,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9108,9 +9699,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -6980,7 +7123,7 @@ index a7f788f0411..e7703613024 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -9680,8 +10271,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9686,8 +10277,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -6992,7 +7135,7 @@ index a7f788f0411..e7703613024 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -9714,13 +10306,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9720,13 +10312,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -7065,16 +7208,16 @@ index a7f788f0411..e7703613024 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -10598,7 +11248,7 @@ else +@@ -10604,7 +11254,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10601 "configure" +-#line 10607 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10642,10 +11292,10 @@ else +@@ -10648,10 +11298,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -7087,16 +7230,16 @@ index a7f788f0411..e7703613024 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -10704,7 +11354,7 @@ else +@@ -10710,7 +11360,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10707 "configure" +-#line 10713 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10748,10 +11398,10 @@ else +@@ -10754,10 +11404,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -7109,7 +7252,7 @@ index a7f788f0411..e7703613024 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -12771,13 +13421,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -12777,13 +13427,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -7130,7 +7273,7 @@ index a7f788f0411..e7703613024 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -12792,14 +13449,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -12798,14 +13455,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -7149,7 +7292,7 @@ index a7f788f0411..e7703613024 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -12832,12 +13492,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -12838,12 +13498,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -7163,7 +7306,7 @@ index a7f788f0411..e7703613024 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -12892,8 +13552,13 @@ reload_flag \ +@@ -12898,8 +13558,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -7177,7 +7320,7 @@ index a7f788f0411..e7703613024 100755 STRIP \ RANLIB \ CC \ -@@ -12903,12 +13568,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -12909,12 +13574,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -7193,7 +7336,7 @@ index a7f788f0411..e7703613024 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -12924,7 +13591,6 @@ no_undefined_flag \ +@@ -12930,7 +13597,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -7201,7 +7344,7 @@ index a7f788f0411..e7703613024 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -12960,6 +13626,7 @@ module_cmds \ +@@ -12966,6 +13632,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -7209,7 +7352,7 @@ index a7f788f0411..e7703613024 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -13725,7 +14392,8 @@ $as_echo X"$file" | +@@ -13731,7 +14398,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -7219,7 +7362,7 @@ index a7f788f0411..e7703613024 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -13828,19 +14496,42 @@ SP2NL=$lt_lt_SP2NL +@@ -13834,19 +14502,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -7263,7 +7406,7 @@ index a7f788f0411..e7703613024 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -13870,6 +14561,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -13876,6 +14567,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -7276,7 +7419,7 @@ index a7f788f0411..e7703613024 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -13879,6 +14576,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -13885,6 +14582,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -7286,7 +7429,7 @@ index a7f788f0411..e7703613024 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -13993,12 +14693,12 @@ with_gcc=$GCC +@@ -13999,12 +14699,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -7302,7 +7445,7 @@ index a7f788f0411..e7703613024 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -14085,9 +14785,6 @@ inherit_rpath=$inherit_rpath +@@ -14091,9 +14791,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -7312,7 +7455,7 @@ index a7f788f0411..e7703613024 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -14103,6 +14800,9 @@ include_expsyms=$lt_include_expsyms +@@ -14109,6 +14806,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -7322,7 +7465,7 @@ index a7f788f0411..e7703613024 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -14135,210 +14835,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -14141,210 +14841,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -7696,40 +7839,57 @@ index a7f788f0411..e7703613024 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" -diff --git a/ld/configure b/ld/configure -index 1f9ec8ec580..4a35108ce7c 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -695,8 +695,11 @@ OTOOL +diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in +index fd5279b4df1..6e74c7b302a 100644 +--- a/gprofng/Makefile.in ++++ b/gprofng/Makefile.in +@@ -253,6 +253,7 @@ CXXFLAGS = @CXXFLAGS@ + CYGPATH_W = @CYGPATH_W@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -290,6 +291,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + NM = @NM@ + NMEDIT = @NMEDIT@ +diff --git a/gprofng/configure b/gprofng/configure +index ac14d126ac0..f8d7685a72e 100755 +--- a/gprofng/configure ++++ b/gprofng/configure +@@ -672,6 +672,8 @@ OTOOL LIPO NMEDIT DSYMUTIL +MANIFEST_TOOL - RANLIB -+ac_ct_AR - AR +DLLTOOL OBJDUMP LN_S NM -@@ -823,6 +826,7 @@ enable_static +@@ -802,6 +804,7 @@ enable_static with_pic enable_fast_install with_gnu_ld +with_libtool_sysroot enable_libtool_lock - enable_plugins - enable_largefile -@@ -1530,6 +1534,8 @@ Optional Packages: + enable_werror_always + enable_gprofng_tools +@@ -1465,6 +1468,8 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-libtool-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). - --with-lib-path=dir1:dir2... set default LIB_PATH - --with-sysroot=DIR Search for usr/lib et al within DIR. + --with-jdk=PATH specify prefix directory for installed JDK. --with-system-zlib use installed libz -@@ -5368,8 +5374,8 @@ esac + +@@ -6156,8 +6161,8 @@ esac@@ -7740,7 +7900,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 -@@ -5409,7 +5415,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO +@@ -6197,7 +6202,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present.@@ -7749,7 +7909,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -6096,8 +6102,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -6890,8 +6895,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -7760,7 +7920,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -6146,6 +6152,80 @@ esac +@@ -6940,6 +6945,80 @@ esac@@ -7841,7 +8001,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -6162,6 +6242,11 @@ case $reload_flag in +@@ -6956,6 +7035,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -7853,7 +8013,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -6330,7 +6415,8 @@ mingw* | pw32*) +@@ -7124,7 +7208,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -7863,7 +8023,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -6484,6 +6570,21 @@ esac +@@ -7278,6 +7363,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -7885,7 +8045,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 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 -@@ -6499,6 +6600,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -7293,6 +7393,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -8043,7 +8203,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -6513,8 +6765,10 @@ for plugin in $plugin_names; do +@@ -7307,8 +7558,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -8056,7 +8216,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -6530,7 +6784,7 @@ do +@@ -7324,7 +7577,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -8065,7 +8225,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6550,11 +6804,15 @@ $as_echo "no" >&6; } +@@ -7344,11 +7597,15 @@ $as_echo "no" >&6; } fi@@ -8084,7 +8244,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -6570,7 +6828,7 @@ do +@@ -7364,7 +7621,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -8093,7 +8253,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6589,6 +6847,10 @@ else +@@ -7383,6 +7640,10 @@ else $as_echo "no" >&6; } fi@@ -8104,7 +8264,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -6600,25 +6862,19 @@ ac_tool_warned=yes ;; +@@ -7394,29 +7655,81 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -8136,12 +8296,16 @@ index 1f9ec8ec580..4a35108ce7c 100755 + rm -f conftest.* +: ${AR=ar} +: ${AR_FLAGS=cru} ++ ++ ++ ++ ++ ++ ++ -@@ -6630,6 +6886,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru - - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; }@@ -8194,17 +8358,10 @@ index 1f9ec8ec580..4a35108ce7c 100755 +else + archiver_list_spec=$lt_cv_ar_at_file +fi -+ -+ -+ -+ -+ -+ -+ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. - set dummy ${ac_tool_prefix}strip; ac_word=$2 -@@ -6969,8 +7283,8 @@ esac + + + +@@ -7763,8 +8076,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@@ -8215,7 +8372,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -7006,6 +7320,7 @@ for ac_symprfx in "" "_"; do +@@ -7800,6 +8113,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@@ -8223,7 +8380,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -7047,6 +7362,18 @@ _LT_EOF +@@ -7841,6 +8155,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@@ -8242,7 +8399,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 #ifdef __cplusplus extern "C" { #endif -@@ -7058,7 +7385,7 @@ _LT_EOF +@@ -7852,7 +8178,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -8251,7 +8408,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 const char *name; void *address; } -@@ -7084,8 +7411,8 @@ static const void *lt_preloaded_setup() { +@@ -7878,8 +8204,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -8262,7 +8419,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -7095,8 +7422,8 @@ _LT_EOF +@@ -7889,8 +8215,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -8273,7 +8430,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -7133,6 +7460,17 @@ else +@@ -7927,6 +8253,13 @@ else $as_echo "ok" >&6; } fi@@ -8284,14 +8441,10 @@ index 1f9ec8ec580..4a35108ce7c 100755 + nm_file_list_spec='@' +fi + -+ -+ -+ -+ -@@ -7149,6 +7487,44 @@ fi +@@ -7946,6 +8279,48 @@ fi@@ -8301,6 +8454,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 + + + ++ +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } +@@ -8333,10 +8487,13 @@ index 1f9ec8ec580..4a35108ce7c 100755 + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } ++ ++ ++ - -@@ -7360,6 +7736,123 @@ esac + # Check whether --enable-libtool-lock was given. +@@ -8154,6 +8529,123 @@ esac need_locks="$enable_libtool_lock"@@ -8460,7 +8617,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 case $host_os inLines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch renamed from meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +1
-1Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch renamed from meta/recipes-devtools/binutils/binutils/0011-sync-with-OE-libtool-changes.patch +1
-1Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch renamed from meta/recipes-devtools/binutils/binutils/0012-Check-for-clang-before-checking-gcc-version.patch +5
-5Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch renamed from meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +9
-8Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch deleted +0
-75Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch deleted +0
-49Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils_2.39.bb renamed from meta/recipes-devtools/binutils/binutils_2.38.bb +0
-0The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.37.2
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Part of the diff is not shown here. View the raw message.
Quoted 7 lines · Alexandre Belloni
Hello Khem,
I got this failure:
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/5719/steps/11/logs/stdio
yeah, sadly gprofng assumes glibc. So I think best option right now is to disable it on musl systems.
I have sent an incremental patch. Please stage that along.
Quoted 14,627 lines · Khem Raj
Quoted 14,614 lines
Details of changes [1]
[1] https://sourceware.org/pipermail/binutils/2022-August/122246.html
(From OE-Core rev:
a2458d4011e77868d6384b377a7a4cc1096c4ac3)Signed-off-by Khem Raj <[email protected]>Signed-off-by Richard Purdie <[email protected]>--- meta/conf/distro/include/tcmode-default.inc | 2 +- .../{binutils-2.38.inc => binutils-2.39.inc} | 26 +- ....38.bb => binutils-cross-canadian_2.39.bb} | 0 ...38.bb => binutils-cross-testsuite_2.39.bb} | 0 ...s-cross_2.38.bb => binutils-cross_2.39.bb} | 0 ...ssdk_2.38.bb => binutils-crosssdk_2.39.bb} | 0 ...s-crosssdk-Generate-relocatable-SDKs.patch | 2 +- ...o-not-generate-linker-script-directo.patch | 2 +- ...dk-Search-for-alternative-ld.so.conf.patch | 16 +- ...004-Point-scripts-location-to-libdir.patch | 10 +- ...tro-compiler-point-to-the-wrong-ins.patch} | 2 +- ...system-directories-when-cross-linki.patch} | 42 +- ...ct-assembling-for-ppc-wait-mnemonic.patch} | 8 +- ...l-2.4.patch => 0008-Use-libtool-2.4.patch} | 8695 ++++++++++++++--- ...-in-libtool-when-sysroot-is-enabled.patch} | 2 +- ...> 0010-sync-with-OE-libtool-changes.patch} | 2 +- ...r-clang-before-checking-gcc-version.patch} | 10 +- ...RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 17 +- .../0013-Avoid-as-info-race-condition.patch | 75 - .../binutils/0014-CVE-2019-1010204.patch | 49 - .../{binutils_2.38.bb => binutils_2.39.bb} | 0 21 files changed, 7637 insertions(+), 1323 deletions(-) rename meta/recipes-devtools/binutils/{binutils-2.38.inc => binutils-2.39.inc} (60%) rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.38.bb => binutils-cross-canadian_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross-testsuite_2.38.bb => binutils-cross-testsuite_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-cross_2.38.bb => binutils-cross_2.39.bb} (100%) rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.38.bb => binutils-crosssdk_2.39.bb} (100%) rename meta/recipes-devtools/binutils/binutils/{0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (94%) rename meta/recipes-devtools/binutils/binutils/{0007-warn-for-uses-of-system-directories-when-cross-linki.patch => 0006-warn-for-uses-of-system-directories-when-cross-linki.patch} (91%) rename meta/recipes-devtools/binutils/binutils/{0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (85%) rename meta/recipes-devtools/binutils/binutils/{0009-Use-libtool-2.4.patch => 0008-Use-libtool-2.4.patch} (75%) rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (96%) rename meta/recipes-devtools/binutils/binutils/{0011-sync-with-OE-libtool-changes.patch => 0010-sync-with-OE-libtool-changes.patch} (97%) rename meta/recipes-devtools/binutils/binutils/{0012-Check-for-clang-before-checking-gcc-version.patch => 0011-Check-for-clang-before-checking-gcc-version.patch} (84%) rename meta/recipes-devtools/binutils/binutils/{0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (70%) delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch rename meta/recipes-devtools/binutils/{binutils_2.38.bb => binutils_2.39.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1
-1@@ -18,7 +18,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "12.%" SDKGCCVERSION ?= "${GCCVERSION}" -BINUVERSION ?= "2.38%" +BINUVERSION ?= "2.39%" GDBVERSION ?= "12.%" GLIBCVERSION ?= "2.36" LINUXLIBCVERSION ?= "5.19%"meta/recipes-devtools/binutils/binutils-2.39.inc renamed from meta/recipes-devtools/binutils/binutils-2.38.inc +12
-14@@ -12,26 +12,24 @@ LIC_FILES_CHKSUM="\ # When upgrading to 2.39, please make sure there is no trailing .0, so # that upstream version check can work correctly. -PV = "2.38" -CVE_VERSION = "2.38" -SRCBRANCH ?= "binutils-2_38-branch" +PV = "2.39" +CVE_VERSION = "2.39" +SRCBRANCH ?= "binutils-2_39-branch" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" -SRCREV ?= "eed56ee299b9ef8754bb4e53f2e9cf2a7c28c04d" +SRCREV ?= "a58f83e8b85fa3c1564de530d68a14fc620c0027" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ file://0004-Point-scripts-location-to-libdir.patch \ - file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ - file://0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ - file://0007-warn-for-uses-of-system-directories-when-cross-linki.patch \ - file://0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ - file://0009-Use-libtool-2.4.patch \ - file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ - file://0011-sync-with-OE-libtool-changes.patch \ - file://0012-Check-for-clang-before-checking-gcc-version.patch \ - file://0013-Avoid-as-info-race-condition.patch \ - file://0014-CVE-2019-1010204.patch \ + file://0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ + file://0006-warn-for-uses-of-system-directories-when-cross-linki.patch \ + file://0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ + file://0008-Use-libtool-2.4.patch \ + file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ + file://0010-sync-with-OE-libtool-changes.patch \ + file://0011-Check-for-clang-before-checking-gcc-version.patch \ + file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ " S = "${WORKDIR}/git"meta/recipes-devtools/binutils/binutils-cross-canadian_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils-cross-testsuite_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross-testsuite_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils-cross_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils-crosssdk_2.39.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.38.bb +0
-0meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch +1
-1@@ -1,4 +1,4 @@ -From 07bb7fbdacaf9cd6a1a252ffbc98f4e05e305d50 Mon Sep 17 00:00:00 2001 +From a0ac147aec127c66c9e38292faa50bb56d3c2a19 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:58:54 +0000 Subject: [PATCH] binutils-crosssdk: Generate relocatable SDKsmeta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch +1
-1@@ -1,4 +1,4 @@ -From f820ab7ea7e94d4df548be3388163ff2efb2ea96 Mon Sep 17 00:00:00 2001 +From fd7065bfd20364679e3c3f329b19059bbc51ab02 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 6 Mar 2017 23:37:05 -0800 Subject: [PATCH] binutils-cross: Do not generate linker script directoriesmeta/recipes-devtools/binutils/binutils/0003-binutils-nativesdk-Search-for-alternative-ld.so.conf.patch +8
-8@@ -1,4 +1,4 @@ -From b2ccd25828b40310caeb094c0413e3a30a4dc0a5 Mon Sep 17 00:00:00 2001 +From 67735b3647f98ce0f010ff8b4f9b5c5da576cb17 Mon Sep 17 00:00:00 2001 From: Richard Purdie <[email protected]> Date: Wed, 19 Feb 2020 09:51:16 -0800 Subject: [PATCH] binutils-nativesdk: Search for alternative ld.so.conf in SDK@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <[email protected]> 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index b55a873d927..61db131fb0d 100644 +index d31021c13e2..29782385ca4 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -42,7 +42,8 @@ ZLIBINC = @zlibinc@@@ -41,12 +41,12 @@ index b55a873d927..61db131fb0d 100644 + -DSYSCONFDIR="\"$(sysconfdir)\"" WARN_CFLAGS = @WARN_CFLAGS@ NO_WERROR = @NO_WERROR@ - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/Makefile.in b/ld/Makefile.in -index 61e93eeaf1e..860eb21a785 100644 +index ee0c98f65b0..04ee68a2c67 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -556,7 +556,8 @@ ZLIB = @zlibdir@ -lz +@@ -562,7 +562,8 @@ ZLIB = @zlibdir@ -lz ZLIBINC = @zlibinc@ ELF_CLFAGS = -DELF_LIST_OPTIONS=@elf_list_options@ \ -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \@@ -54,13 +54,13 @@ index 61e93eeaf1e..860eb21a785 100644 + -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ \ + -DSYSCONFDIR="\"$(sysconfdir)\"" - AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) + AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) diff --git a/ld/ldelf.c b/ld/ldelf.c -index 121c25d948f..34cbc60e5e9 100644 +index bfa0d54753a..0d61a3209ec 100644 --- a/ld/ldelf.c +++ b/ld/ldelf.c -@@ -930,7 +930,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, +@@ -936,7 +936,7 @@ ldelf_check_ld_so_conf (const struct bfd_link_needed_list *l, int force, info.path = NULL; info.len = info.alloc = 0;meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch +5
-5@@ -1,4 +1,4 @@ -From 7a7b777cdfded080aab1021fa6bcdb20345f5cfd Mon Sep 17 00:00:00 2001 +From 2158e5bd4c6ea4db89e33d46ef25428e37bfc3a6 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:09:58 +0000 Subject: [PATCH] Point scripts location to libdir@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 61db131fb0d..5b5ee64d121 100644 +index 29782385ca4..062e6b6814b 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am -@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -51,7 +51,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_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.@@ -25,10 +25,10 @@ index 61db131fb0d..5b5ee64d121 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index 860eb21a785..d719747919c 100644 +index 04ee68a2c67..782d4017a60 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -564,7 +564,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -570,7 +570,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_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.meta/recipes-devtools/binutils/binutils/0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch renamed from meta/recipes-devtools/binutils/binutils/0006-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +1
-1@@ -1,4 +1,4 @@ -From fc9e8b99969bb32a4b009eab763bade6c554ef73 Mon Sep 17 00:00:00 2001 +From e74d765a1a95253c9247228bd7ccbcabecdd8f7e Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Mon, 2 Mar 2015 01:39:01 +0000 Subject: [PATCH] don't let the distro compiler point to the wrong installationmeta/recipes-devtools/binutils/binutils/0006-warn-for-uses-of-system-directories-when-cross-linki.patch renamed from meta/recipes-devtools/binutils/binutils/0007-warn-for-uses-of-system-directories-when-cross-linki.patch +21
-21@@ -1,4 +1,4 @@ -From 9fb1bafb20371d82b674778d2a8b5c9444fed417 Mon Sep 17 00:00:00 2001 +From 2c43b1357db6b09d1645704afd3f45be6de0cf4d Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 15 Jan 2016 06:31:09 +0000 Subject: [PATCH] warn for uses of system directories when cross linking@@ -63,10 +63,10 @@ Signed-off-by: Khem Raj <[email protected]> 9 files changed, 88 insertions(+), 2 deletions(-) diff --git a/ld/config.in b/ld/config.in -index 26d55a00d47..ffad464783c 100644 +index d4c1fc420b5..1aece0b2c29 100644 --- a/ld/config.in +++ b/ld/config.in -@@ -43,6 +43,9 @@ +@@ -55,6 +55,9 @@ language is requested. */ #undef ENABLE_NLS@@ -77,10 +77,10 @@ index 26d55a00d47..ffad464783c 100644 #undef EXTRA_SHLIB_EXTENSION diff --git a/ld/configure b/ld/configure -index 26150d62898..1f9ec8ec580 100755 +index e58fb7f3a35..d0a467ac101 100755 --- a/ld/configure +++ b/ld/configure -@@ -831,6 +831,7 @@ with_lib_path +@@ -836,6 +836,7 @@ with_lib_path enable_targets enable_64_bit_bfd with_sysroot@@ -88,7 +88,7 @@ index 26150d62898..1f9ec8ec580 100755 enable_gold enable_got enable_compressed_debug_sections -@@ -1500,6 +1501,8 @@ Optional Features: +@@ -1514,6 +1515,8 @@ Optional Features: --enable-checking enable run-time checks --enable-targets alternative target configurations --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)@@ -97,7 +97,7 @@ index 26150d62898..1f9ec8ec580 100755 --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-got=<type> GOT handling scheme (target, single, negative, multigot) -@@ -15312,6 +15315,19 @@ fi +@@ -15349,6 +15352,19 @@ fi@@ -118,7 +118,7 @@ index 26150d62898..1f9ec8ec580 100755 if test "${enable_gold+set}" = set; then : enableval=$enable_gold; case "${enableval}" in diff --git a/ld/configure.ac b/ld/configure.ac -index 7f4cff079b7..57d1abff870 100644 +index 4331d6b1302..e2976bc2926 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -102,6 +102,16 @@ AC_SUBST(use_sysroot)@@ -158,13 +158,13 @@ index f3086bf30de..db5064243c7 100644 enum endian_enum endian; diff --git a/ld/ld.texi b/ld/ld.texi -index fc75e9b3625..dca697d626e 100644 +index eabbec8faa9..c4680e4947e 100644 --- a/ld/ld.texi +++ b/ld/ld.texi -@@ -2892,6 +2892,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. +@@ -2947,6 +2947,18 @@ creation of the metadata note, if one had been enabled by an earlier + occurrence of the --package-metdata option. + If the linker has been built with libjansson, then the JSON string + will be validated. + +@kindex --no-poison-system-directories +@item --no-poison-system-directories@@ -209,13 +209,13 @@ index 731ae5f7aed..dd8f03fd960 100644 /* Try to open a BFD for a lang_input_statement. */ diff --git a/ld/ldlex.h b/ld/ldlex.h -index bc58fea73cc..a1595589197 100644 +index 57ade1f754b..64007ff8684 100644 --- a/ld/ldlex.h +++ b/ld/ldlex.h -@@ -164,6 +164,8 @@ enum option_values - OPTION_CTF_VARIABLES, - OPTION_NO_CTF_VARIABLES, - OPTION_CTF_SHARE_TYPES, +@@ -168,6 +168,8 @@ enum option_values + OPTION_NO_WARN_EXECSTACK, + OPTION_WARN_RWX_SEGMENTS, + OPTION_NO_WARN_RWX_SEGMENTS, + OPTION_NO_POISON_SYSTEM_DIRECTORIES, + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, };@@ -253,10 +253,10 @@ index 1ae90a77749..f40750fd816 100644 { if (error_count < MAX_ERRORS_IN_A_ROW) diff --git a/ld/lexsup.c b/ld/lexsup.c -index 5acc47ed5a0..d03c6136ccf 100644 +index 9225f71b3ce..92fb66f1fa2 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c -@@ -600,6 +600,14 @@ static const struct ld_option ld_options[] = +@@ -608,6 +608,14 @@ static const struct ld_option ld_options[] = " <method> is: share-unconflicted (default),\n" " share-duplicated"), TWO_DASHES },@@ -271,7 +271,7 @@ index 5acc47ed5a0..d03c6136ccf 100644 }; #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -1702,6 +1710,14 @@ parse_args (unsigned argc, char **argv) +@@ -1722,6 +1730,14 @@ parse_args (unsigned argc, char **argv) config.print_map_discarded = true; break;meta/recipes-devtools/binutils/binutils/0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch renamed from meta/recipes-devtools/binutils/binutils/0008-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch +4
-4@@ -1,4 +1,4 @@ -From 00ae1ee97ad3ad0624798b28c6bab94a19b3ef39 Mon Sep 17 00:00:00 2001 +From 883b6c0930410f8553b3bce0dd98131bc1694fa6 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo <[email protected]> Date: Sat, 11 Jun 2016 22:08:29 -0500 Subject: [PATCH] fix the incorrect assembling for ppc wait mnemonic@@ -14,10 +14,10 @@ Signed-off-by: Zhenhua Luo <[email protected]> 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c -index a424dd924de..406d5b60917 100644 +index 7637d3e349e..8e074e13208 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c -@@ -6378,8 +6378,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -6947,8 +6947,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitasec", X(31,30), XRTRARB_MASK, POWER8, POWER9, {0}}, {"waitrsv", XWCPL(31,30,1,0),0xffffffff, POWER10, EXT, {0}}, {"pause_short", XWCPL(31,30,2,0),0xffffffff, POWER10, EXT, {0}},@@ -26,7 +26,7 @@ index a424dd924de..406d5b60917 100644 {"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, -@@ -6433,7 +6431,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { +@@ -7002,7 +7000,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}}, {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, EXT, {0}},meta/recipes-devtools/binutils/binutils/0008-Use-libtool-2.4.patch renamed from meta/recipes-devtools/binutils/binutils/0009-Use-libtool-2.4.patch +7567
-1128@@ -1,4 +1,4 @@ -From 9a0dea4d2f1f0f2c71f519e6195ef9cfacd9fda9 Mon Sep 17 00:00:00 2001 +From 0f45262ef0d656c576adbb0b0f42b8f417895008 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Sun, 14 Feb 2016 17:04:07 +0000 Subject: [PATCH] Use libtool 2.4@@ -9,28 +9,75 @@ Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> --- - bfd/configure | 1333 +++++++++++++----- - bfd/configure.ac | 2 +- - binutils/configure | 1331 +++++++++++++----- - gas/configure | 1331 +++++++++++++----- - gprof/configure | 1331 +++++++++++++----- - ld/configure | 1704 +++++++++++++++++------ - libbacktrace/configure | 1534 +++++++++++++++------ - libctf/configure | 1330 +++++++++++++----- - libtool.m4 | 1093 ++++++++++----- - ltmain.sh | 2925 +++++++++++++++++++++++++++------------- - ltoptions.m4 | 2 +- - ltversion.m4 | 12 +- - lt~obsolete.m4 | 2 +- - opcodes/configure | 1331 +++++++++++++----- - zlib/configure | 1331 +++++++++++++----- - 15 files changed, 12067 insertions(+), 4525 deletions(-) + bfd/Makefile.in | 3 + + bfd/configure | 1333 +++++++++--- + bfd/configure.ac | 2 +- + binutils/Makefile.in | 3 + + binutils/configure | 1331 +++++++++--- + gas/Makefile.in | 3 + + gas/configure | 1331 +++++++++--- + gdbsupport/Makefile.in | 1 + + gprof/Makefile.in | 3 + + gprof/configure | 1331 +++++++++--- + gprofng/Makefile.in | 2 + + gprofng/configure | 1701 ++++++++++++---- + gprofng/doc/Makefile.in | 2 + + gprofng/gp-display-html/Makefile.in | 2 + + gprofng/libcollector/Makefile.in | 2 + + gprofng/libcollector/configure | 1703 ++++++++++++---- + gprofng/src/Makefile.in | 2 + + ld/Makefile.in | 3 + + ld/configure | 1704 ++++++++++++---- + libbacktrace/Makefile.in | 3 + + libbacktrace/configure | 1331 +++++++++--- + libctf/Makefile.in | 2 + + libctf/configure | 1330 +++++++++--- + libtool.m4 | 1093 ++++++---- + ltmain.sh | 2925 ++++++++++++++++++--------- + ltoptions.m4 | 2 +- + ltversion.m4 | 12 +- + lt~obsolete.m4 | 2 +- + opcodes/Makefile.in | 3 + + opcodes/configure | 1331 +++++++++--- + sim/Makefile.in | 3 + + zlib/Makefile.in | 204 +- + zlib/aclocal.m4 | 218 +- + zlib/configure | 1554 +++++++++----- + 34 files changed, 14804 insertions(+), 5671 deletions(-) +diff --git a/bfd/Makefile.in b/bfd/Makefile.in +index a26f74d7199..6edacdfeb0e 100644 +--- a/bfd/Makefile.in ++++ b/bfd/Makefile.in +@@ -346,6 +346,7 @@ DATADIRNAME = @DATADIRNAME@ + DEBUGDIR = @DEBUGDIR@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -380,6 +381,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -421,6 +423,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + all_backends = @all_backends@ diff --git a/bfd/configure b/bfd/configure -index b23c9eebfd7..fb25d046cd2 100755 +index 4f591b750d8..d90db11744b 100755 --- a/bfd/configure +++ b/bfd/configure -@@ -707,6 +707,9 @@ OTOOL +@@ -702,6 +702,9 @@ OTOOL LIPO NMEDIT DSYMUTIL@@ -40,7 +87,7 @@ index b23c9eebfd7..fb25d046cd2 100755 OBJDUMP LN_S NM -@@ -825,6 +828,7 @@ enable_static +@@ -820,6 +823,7 @@ enable_static with_pic enable_fast_install with_gnu_ld@@ -48,7 +95,7 @@ index b23c9eebfd7..fb25d046cd2 100755 enable_libtool_lock enable_plugins enable_largefile -@@ -1509,6 +1513,8 @@ Optional Packages: +@@ -1504,6 +1508,8 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no]@@ -57,7 +104,7 @@ index b23c9eebfd7..fb25d046cd2 100755 --with-mmap try using mmap for BFD input files if available --with-separate-debug-dir=DIR Look for global separate debug info in DIR -@@ -5029,8 +5035,8 @@ esac +@@ -5024,8 +5030,8 @@ esac@@ -68,7 +115,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -5070,7 +5076,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO +@@ -5065,7 +5071,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present.@@ -77,7 +124,7 @@ index b23c9eebfd7..fb25d046cd2 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5757,8 +5763,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5758,8 +5764,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -88,7 +135,7 @@ index b23c9eebfd7..fb25d046cd2 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5807,6 +5813,80 @@ esac +@@ -5808,6 +5814,80 @@ esac@@ -169,7 +216,7 @@ index b23c9eebfd7..fb25d046cd2 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5823,6 +5903,11 @@ case $reload_flag in +@@ -5824,6 +5904,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -181,7 +228,7 @@ index b23c9eebfd7..fb25d046cd2 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5991,7 +6076,8 @@ mingw* | pw32*) +@@ -5992,7 +6077,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -191,7 +238,7 @@ index b23c9eebfd7..fb25d046cd2 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -6145,6 +6231,21 @@ esac +@@ -6146,6 +6232,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -213,7 +260,7 @@ index b23c9eebfd7..fb25d046cd2 100755 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 -@@ -6160,6 +6261,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -6161,6 +6262,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -371,7 +418,7 @@ index b23c9eebfd7..fb25d046cd2 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -6174,8 +6426,10 @@ for plugin in $plugin_names; do +@@ -6175,8 +6427,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -384,7 +431,7 @@ index b23c9eebfd7..fb25d046cd2 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -6191,7 +6445,7 @@ do +@@ -6192,7 +6446,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -393,7 +440,7 @@ index b23c9eebfd7..fb25d046cd2 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6211,11 +6465,15 @@ $as_echo "no" >&6; } +@@ -6212,11 +6466,15 @@ $as_echo "no" >&6; } fi@@ -412,7 +459,7 @@ index b23c9eebfd7..fb25d046cd2 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -6231,7 +6489,7 @@ do +@@ -6232,7 +6490,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -421,7 +468,7 @@ index b23c9eebfd7..fb25d046cd2 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6250,6 +6508,10 @@ else +@@ -6251,6 +6509,10 @@ else $as_echo "no" >&6; } fi@@ -432,7 +479,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -6261,25 +6523,20 @@ ac_tool_warned=yes ;; +@@ -6262,25 +6524,20 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -468,7 +515,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -6290,6 +6547,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru +@@ -6291,6 +6548,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru@@ -532,7 +579,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -@@ -6630,8 +6944,8 @@ esac +@@ -6631,8 +6945,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@@ -543,7 +590,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6667,6 +6981,7 @@ for ac_symprfx in "" "_"; do +@@ -6668,6 +6982,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@@ -551,7 +598,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6708,6 +7023,18 @@ _LT_EOF +@@ -6709,6 +7024,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@@ -570,7 +617,7 @@ index b23c9eebfd7..fb25d046cd2 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6719,7 +7046,7 @@ _LT_EOF +@@ -6720,7 +7047,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -579,7 +626,7 @@ index b23c9eebfd7..fb25d046cd2 100755 const char *name; void *address; } -@@ -6745,8 +7072,8 @@ static const void *lt_preloaded_setup() { +@@ -6746,8 +7073,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -590,7 +637,7 @@ index b23c9eebfd7..fb25d046cd2 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6756,8 +7083,8 @@ _LT_EOF +@@ -6757,8 +7084,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -601,7 +648,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6794,6 +7121,14 @@ else +@@ -6795,6 +7122,14 @@ else $as_echo "ok" >&6; } fi@@ -616,7 +663,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -6812,6 +7147,47 @@ fi +@@ -6813,6 +7148,47 @@ fi@@ -664,7 +711,7 @@ index b23c9eebfd7..fb25d046cd2 100755 -@@ -7021,6 +7397,123 @@ esac +@@ -7022,6 +7398,123 @@ esac need_locks="$enable_libtool_lock"@@ -788,7 +835,7 @@ index b23c9eebfd7..fb25d046cd2 100755 case $host_os in rhapsody* | darwin*) -@@ -7584,6 +8077,8 @@ _LT_EOF +@@ -7585,6 +8078,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -797,7 +844,7 @@ index b23c9eebfd7..fb25d046cd2 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -8135,8 +8630,6 @@ fi +@@ -8136,8 +8631,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -806,7 +853,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -8302,6 +8795,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8303,6 +8796,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -819,7 +866,7 @@ index b23c9eebfd7..fb25d046cd2 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -8364,7 +8863,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8365,7 +8864,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -828,7 +875,7 @@ index b23c9eebfd7..fb25d046cd2 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -8421,13 +8920,17 @@ case $host_os in +@@ -8422,13 +8921,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -852,7 +899,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # # Check to make sure the PIC flag actually works. -@@ -8488,6 +8991,11 @@ fi +@@ -8489,6 +8992,11 @@ fi@@ -864,7 +911,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # # Check to make sure the static flag actually works. # -@@ -8838,7 +9346,8 @@ _LT_EOF +@@ -8839,7 +9347,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -874,7 +921,7 @@ index b23c9eebfd7..fb25d046cd2 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8937,12 +9446,12 @@ _LT_EOF +@@ -8938,12 +9447,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -889,7 +936,7 @@ index b23c9eebfd7..fb25d046cd2 100755 fi ;; esac -@@ -8956,8 +9465,8 @@ _LT_EOF +@@ -8957,8 +9466,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -900,7 +947,7 @@ index b23c9eebfd7..fb25d046cd2 100755 fi ;; -@@ -8975,8 +9484,8 @@ _LT_EOF +@@ -8976,8 +9485,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -911,7 +958,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else ld_shlibs=no fi -@@ -9022,8 +9531,8 @@ _LT_EOF +@@ -9023,8 +9532,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -922,7 +969,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else ld_shlibs=no fi -@@ -9153,7 +9662,13 @@ _LT_EOF +@@ -9154,7 +9663,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -937,7 +984,7 @@ index b23c9eebfd7..fb25d046cd2 100755 /* end confdefs.h. */ int -@@ -9166,22 +9681,29 @@ main () +@@ -9167,22 +9682,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -980,7 +1027,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -9193,7 +9715,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9194,7 +9716,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -995,7 +1042,7 @@ index b23c9eebfd7..fb25d046cd2 100755 /* end confdefs.h. */ int -@@ -9206,22 +9734,29 @@ main () +@@ -9207,22 +9735,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -1038,7 +1085,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -9266,20 +9801,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9267,20 +9802,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -1116,7 +1163,7 @@ index b23c9eebfd7..fb25d046cd2 100755 ;; darwin* | rhapsody*) -@@ -9340,7 +9918,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9341,7 +9919,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -1125,7 +1172,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -9348,7 +9926,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9349,7 +9927,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -1134,7 +1181,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else archive_cmds='$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 -@@ -9364,7 +9942,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9365,7 +9943,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -1143,7 +1190,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -9388,10 +9966,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9389,10 +9967,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -1156,7 +1203,7 @@ index b23c9eebfd7..fb25d046cd2 100755 ;; esac else -@@ -9470,23 +10048,36 @@ fi +@@ -9471,23 +10049,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -1201,7 +1248,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9571,7 +10162,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9572,7 +10163,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -1210,7 +1257,7 @@ index b23c9eebfd7..fb25d046cd2 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9590,9 +10181,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9591,9 +10182,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -1222,7 +1269,7 @@ index b23c9eebfd7..fb25d046cd2 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -10168,8 +10759,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10169,8 +10760,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -1234,7 +1281,7 @@ index b23c9eebfd7..fb25d046cd2 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -10202,13 +10794,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10203,13 +10795,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -1307,16 +1354,16 @@ index b23c9eebfd7..fb25d046cd2 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -11086,7 +11736,7 @@ else +@@ -11087,7 +11737,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11089 "configure" +-#line 11090 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11130,10 +11780,10 @@ else +@@ -11131,10 +11781,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -1329,16 +1376,16 @@ index b23c9eebfd7..fb25d046cd2 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -11192,7 +11842,7 @@ else +@@ -11193,7 +11843,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11195 "configure" +-#line 11196 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11236,10 +11886,10 @@ else +@@ -11237,10 +11887,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -1351,7 +1398,7 @@ index b23c9eebfd7..fb25d046cd2 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -13224,7 +13874,7 @@ SHARED_LDFLAGS= +@@ -13225,7 +13875,7 @@ SHARED_LDFLAGS= if test "$enable_shared" = "yes"; then x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` if test -n "$x"; then@@ -1360,7 +1407,7 @@ index b23c9eebfd7..fb25d046cd2 100755 fi fi -@@ -15879,13 +16529,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -15869,13 +16519,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -1381,7 +1428,7 @@ index b23c9eebfd7..fb25d046cd2 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -15900,14 +16557,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -15890,14 +16547,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -1400,7 +1447,7 @@ index b23c9eebfd7..fb25d046cd2 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -15940,12 +16600,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -15930,12 +16590,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -1414,7 +1461,7 @@ index b23c9eebfd7..fb25d046cd2 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -16000,8 +16660,13 @@ reload_flag \ +@@ -15990,8 +16650,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -1428,7 +1475,7 @@ index b23c9eebfd7..fb25d046cd2 100755 STRIP \ RANLIB \ CC \ -@@ -16011,12 +16676,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -16001,12 +16666,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -1444,7 +1491,7 @@ index b23c9eebfd7..fb25d046cd2 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -16032,7 +16699,6 @@ no_undefined_flag \ +@@ -16022,7 +16689,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -1452,7 +1499,7 @@ index b23c9eebfd7..fb25d046cd2 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -16068,6 +16734,7 @@ module_cmds \ +@@ -16058,6 +16724,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -1460,7 +1507,7 @@ index b23c9eebfd7..fb25d046cd2 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -16837,7 +17504,8 @@ $as_echo X"$file" | +@@ -16826,7 +17493,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -1470,7 +1517,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -16940,19 +17608,42 @@ SP2NL=$lt_lt_SP2NL +@@ -16929,19 +17597,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -1514,7 +1561,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -16982,6 +17673,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -16971,6 +17662,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -1527,7 +1574,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -16991,6 +17688,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -16980,6 +17677,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -1537,7 +1584,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -17105,12 +17805,12 @@ with_gcc=$GCC +@@ -17094,12 +17794,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -1553,7 +1600,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -17197,9 +17897,6 @@ inherit_rpath=$inherit_rpath +@@ -17186,9 +17886,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -1563,7 +1610,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -17215,6 +17912,9 @@ include_expsyms=$lt_include_expsyms +@@ -17204,6 +17901,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -1573,7 +1620,7 @@ index b23c9eebfd7..fb25d046cd2 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -17247,210 +17947,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -17236,210 +17936,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -1948,10 +1995,10 @@ index b23c9eebfd7..fb25d046cd2 100755 chmod +x "$ofile" diff --git a/bfd/configure.ac b/bfd/configure.ac -index a9078965c40..22b5b7ea567 100644 +index 6146efb5ae3..73e5e03d016 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac -@@ -303,7 +303,7 @@ changequote(,)dnl +@@ -282,7 +282,7 @@ changequote(,)dnl x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` changequote([,])dnl if test -n "$x"; then@@ -1960,11 +2007,39 @@ index a9078965c40..22b5b7ea567 100644 fi fi +diff --git a/binutils/Makefile.in b/binutils/Makefile.in +index 78d32b350e3..ad4f2de7358 100644 +--- a/binutils/Makefile.in ++++ b/binutils/Makefile.in +@@ -492,6 +492,7 @@ DEBUGINFOD_LIBS = @DEBUGINFOD_LIBS@ + DEFS = @DEFS@ + DEMANGLER_NAME = @DEMANGLER_NAME@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DLLTOOL_DEFS = @DLLTOOL_DEFS@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ +@@ -533,6 +534,7 @@ LTLIBICONV = @LTLIBICONV@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -579,6 +581,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + am__include = @am__include@ diff --git a/binutils/configure b/binutils/configure -index 8cde216cb1f..15f3f4eb874 100755 +index 149815542f9..43952bde405 100755 --- a/binutils/configure +++ b/binutils/configure -@@ -696,8 +696,11 @@ OTOOL +@@ -698,8 +698,11 @@ OTOOL LIPO NMEDIT DSYMUTIL@@ -1976,7 +2051,7 @@ index 8cde216cb1f..15f3f4eb874 100755 OBJDUMP LN_S NM -@@ -814,6 +817,7 @@ enable_static +@@ -816,6 +819,7 @@ enable_static with_pic enable_fast_install with_gnu_ld@@ -1984,7 +2059,7 @@ index 8cde216cb1f..15f3f4eb874 100755 enable_libtool_lock enable_plugins enable_largefile -@@ -1509,6 +1513,8 @@ Optional Packages: +@@ -1514,6 +1518,8 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no]@@ -1993,7 +2068,7 @@ index 8cde216cb1f..15f3f4eb874 100755 --with-debuginfod Enable debuginfo lookups with debuginfod (auto/yes/no) --with-system-zlib use installed libz -@@ -4883,8 +4889,8 @@ esac +@@ -4893,8 +4899,8 @@ esac@@ -2004,7 +2079,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -4924,7 +4930,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO +@@ -4934,7 +4940,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present.@@ -2013,7 +2088,7 @@ index 8cde216cb1f..15f3f4eb874 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5611,8 +5617,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5627,8 +5633,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -2024,7 +2099,7 @@ index 8cde216cb1f..15f3f4eb874 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5661,6 +5667,80 @@ esac +@@ -5677,6 +5683,80 @@ esac@@ -2105,7 +2180,7 @@ index 8cde216cb1f..15f3f4eb874 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5677,6 +5757,11 @@ case $reload_flag in +@@ -5693,6 +5773,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -2117,7 +2192,7 @@ index 8cde216cb1f..15f3f4eb874 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5845,7 +5930,8 @@ mingw* | pw32*) +@@ -5861,7 +5946,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -2127,7 +2202,7 @@ index 8cde216cb1f..15f3f4eb874 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -5999,6 +6085,21 @@ esac +@@ -6015,6 +6101,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -2149,7 +2224,7 @@ index 8cde216cb1f..15f3f4eb874 100755 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 -@@ -6014,6 +6115,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -6030,6 +6131,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -2307,7 +2382,7 @@ index 8cde216cb1f..15f3f4eb874 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -6028,8 +6280,10 @@ for plugin in $plugin_names; do +@@ -6044,8 +6296,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -2320,7 +2395,7 @@ index 8cde216cb1f..15f3f4eb874 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -6045,7 +6299,7 @@ do +@@ -6061,7 +6315,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -2329,7 +2404,7 @@ index 8cde216cb1f..15f3f4eb874 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6065,11 +6319,15 @@ $as_echo "no" >&6; } +@@ -6081,11 +6335,15 @@ $as_echo "no" >&6; } fi@@ -2348,7 +2423,7 @@ index 8cde216cb1f..15f3f4eb874 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -6085,7 +6343,7 @@ do +@@ -6101,7 +6359,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -2357,7 +2432,7 @@ index 8cde216cb1f..15f3f4eb874 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6104,6 +6362,10 @@ else +@@ -6120,6 +6378,10 @@ else $as_echo "no" >&6; } fi@@ -2368,7 +2443,7 @@ index 8cde216cb1f..15f3f4eb874 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -6115,29 +6377,81 @@ ac_tool_warned=yes ;; +@@ -6131,29 +6393,81 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -2465,7 +2540,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -6484,8 +6798,8 @@ esac +@@ -6500,8 +6814,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@@ -2476,7 +2551,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6521,6 +6835,7 @@ for ac_symprfx in "" "_"; do +@@ -6537,6 +6851,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@@ -2484,7 +2559,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6562,6 +6877,18 @@ _LT_EOF +@@ -6578,6 +6893,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@@ -2503,7 +2578,7 @@ index 8cde216cb1f..15f3f4eb874 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6573,7 +6900,7 @@ _LT_EOF +@@ -6589,7 +6916,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -2512,7 +2587,7 @@ index 8cde216cb1f..15f3f4eb874 100755 const char *name; void *address; } -@@ -6599,8 +6926,8 @@ static const void *lt_preloaded_setup() { +@@ -6615,8 +6942,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -2523,7 +2598,7 @@ index 8cde216cb1f..15f3f4eb874 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6610,8 +6937,8 @@ _LT_EOF +@@ -6626,8 +6953,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -2534,7 +2609,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6648,6 +6975,19 @@ else +@@ -6664,6 +6991,19 @@ else $as_echo "ok" >&6; } fi@@ -2554,7 +2629,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -6664,6 +7004,42 @@ fi +@@ -6680,6 +7020,42 @@ fi@@ -2597,7 +2672,7 @@ index 8cde216cb1f..15f3f4eb874 100755 -@@ -6875,6 +7251,123 @@ esac +@@ -6891,6 +7267,123 @@ esac need_locks="$enable_libtool_lock"@@ -2721,7 +2796,7 @@ index 8cde216cb1f..15f3f4eb874 100755 case $host_os in rhapsody* | darwin*) -@@ -7438,6 +7931,8 @@ _LT_EOF +@@ -7454,6 +7947,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -2730,7 +2805,7 @@ index 8cde216cb1f..15f3f4eb874 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -8020,8 +8515,6 @@ fi +@@ -8036,8 +8531,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -2739,7 +2814,7 @@ index 8cde216cb1f..15f3f4eb874 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -8187,6 +8680,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8203,6 +8696,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -2752,7 +2827,7 @@ index 8cde216cb1f..15f3f4eb874 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -8249,7 +8748,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -8265,7 +8764,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -2761,7 +2836,7 @@ index 8cde216cb1f..15f3f4eb874 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -8306,13 +8805,17 @@ case $host_os in +@@ -8322,13 +8821,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -2785,7 +2860,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # # Check to make sure the PIC flag actually works. -@@ -8373,6 +8876,11 @@ fi +@@ -8389,6 +8892,11 @@ fi@@ -2797,7 +2872,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # # Check to make sure the static flag actually works. # -@@ -8723,7 +9231,8 @@ _LT_EOF +@@ -8739,7 +9247,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -2807,7 +2882,7 @@ index 8cde216cb1f..15f3f4eb874 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8822,12 +9331,12 @@ _LT_EOF +@@ -8838,12 +9347,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -2822,7 +2897,7 @@ index 8cde216cb1f..15f3f4eb874 100755 fi ;; esac -@@ -8841,8 +9350,8 @@ _LT_EOF +@@ -8857,8 +9366,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -2833,7 +2908,7 @@ index 8cde216cb1f..15f3f4eb874 100755 fi ;; -@@ -8860,8 +9369,8 @@ _LT_EOF +@@ -8876,8 +9385,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -2844,7 +2919,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else ld_shlibs=no fi -@@ -8907,8 +9416,8 @@ _LT_EOF +@@ -8923,8 +9432,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -2855,7 +2930,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else ld_shlibs=no fi -@@ -9038,7 +9547,13 @@ _LT_EOF +@@ -9054,7 +9563,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -2870,7 +2945,7 @@ index 8cde216cb1f..15f3f4eb874 100755 /* end confdefs.h. */ int -@@ -9051,22 +9566,29 @@ main () +@@ -9067,22 +9582,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -2913,7 +2988,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -9078,7 +9600,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9094,7 +9616,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -2928,7 +3003,7 @@ index 8cde216cb1f..15f3f4eb874 100755 /* end confdefs.h. */ int -@@ -9091,22 +9619,29 @@ main () +@@ -9107,22 +9635,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -2971,7 +3046,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -9151,20 +9686,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9167,20 +9702,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -3049,7 +3124,7 @@ index 8cde216cb1f..15f3f4eb874 100755 ;; darwin* | rhapsody*) -@@ -9225,7 +9803,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9241,7 +9819,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -3058,7 +3133,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -9233,7 +9811,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9249,7 +9827,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -3067,7 +3142,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else archive_cmds='$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 -@@ -9249,7 +9827,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9265,7 +9843,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -3076,7 +3151,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -9273,10 +9851,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9289,10 +9867,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -3089,7 +3164,7 @@ index 8cde216cb1f..15f3f4eb874 100755 ;; esac else -@@ -9355,23 +9933,36 @@ fi +@@ -9371,23 +9949,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -3134,7 +3209,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9456,7 +10047,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9472,7 +10063,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -3143,7 +3218,7 @@ index 8cde216cb1f..15f3f4eb874 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9475,9 +10066,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9491,9 +10082,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -3155,7 +3230,7 @@ index 8cde216cb1f..15f3f4eb874 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -10053,8 +10644,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10069,8 +10660,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -3167,7 +3242,7 @@ index 8cde216cb1f..15f3f4eb874 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -10087,13 +10679,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -10103,13 +10695,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -3240,16 +3315,16 @@ index 8cde216cb1f..15f3f4eb874 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -10971,7 +11621,7 @@ else +@@ -10987,7 +11637,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10974 "configure" +-#line 10990 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11015,10 +11665,10 @@ else +@@ -11031,10 +11681,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -3262,16 +3337,16 @@ index 8cde216cb1f..15f3f4eb874 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -11077,7 +11727,7 @@ else +@@ -11093,7 +11743,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 11080 "configure" +-#line 11096 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -11121,10 +11771,10 @@ else +@@ -11137,10 +11787,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -3284,7 +3359,7 @@ index 8cde216cb1f..15f3f4eb874 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -15505,13 +16155,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -15642,13 +16292,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -3305,7 +3380,7 @@ index 8cde216cb1f..15f3f4eb874 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -15526,14 +16183,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -15663,14 +16320,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -3324,7 +3399,7 @@ index 8cde216cb1f..15f3f4eb874 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -15566,12 +16226,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -15703,12 +16363,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -3338,7 +3413,7 @@ index 8cde216cb1f..15f3f4eb874 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -15626,8 +16286,13 @@ reload_flag \ +@@ -15763,8 +16423,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -3352,7 +3427,7 @@ index 8cde216cb1f..15f3f4eb874 100755 STRIP \ RANLIB \ CC \ -@@ -15637,12 +16302,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -15774,12 +16439,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -3368,7 +3443,7 @@ index 8cde216cb1f..15f3f4eb874 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -15658,7 +16325,6 @@ no_undefined_flag \ +@@ -15795,7 +16462,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -3376,7 +3451,7 @@ index 8cde216cb1f..15f3f4eb874 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -15694,6 +16360,7 @@ module_cmds \ +@@ -15831,6 +16497,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -3384,7 +3459,7 @@ index 8cde216cb1f..15f3f4eb874 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -16459,7 +17126,8 @@ $as_echo X"$file" | +@@ -16596,7 +17263,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -3394,7 +3469,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -16562,19 +17230,42 @@ SP2NL=$lt_lt_SP2NL +@@ -16699,19 +17367,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -3438,7 +3513,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -16604,6 +17295,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -16741,6 +17432,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -3451,7 +3526,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -16613,6 +17310,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -16750,6 +17447,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -3461,7 +3536,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -16727,12 +17427,12 @@ with_gcc=$GCC +@@ -16864,12 +17564,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -3477,7 +3552,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -16819,9 +17519,6 @@ inherit_rpath=$inherit_rpath +@@ -16956,9 +17656,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -3487,7 +3562,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -16837,6 +17534,9 @@ include_expsyms=$lt_include_expsyms +@@ -16974,6 +17671,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -3497,7 +3572,7 @@ index 8cde216cb1f..15f3f4eb874 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -16869,210 +17569,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -17006,210 +17706,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -3871,8 +3946,36 @@ index 8cde216cb1f..15f3f4eb874 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +diff --git a/gas/Makefile.in b/gas/Makefile.in +index c57d78f82c4..da370b21855 100644 +--- a/gas/Makefile.in ++++ b/gas/Makefile.in +@@ -373,6 +373,7 @@ CYGPATH_W = @CYGPATH_W@ + DATADIRNAME = @DATADIRNAME@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -409,6 +410,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -447,6 +449,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + am__include = @am__include@ diff --git a/gas/configure b/gas/configure -index dc6a6682aa4..10364bd81da 100755 +index 12c16faefd9..11b5127bf3a 100755 --- a/gas/configure +++ b/gas/configure @@ -681,8 +681,11 @@ OTOOL@@ -3924,7 +4027,7 @@ index dc6a6682aa4..10364bd81da 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5336,8 +5342,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5342,8 +5348,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -3935,7 +4038,7 @@ index dc6a6682aa4..10364bd81da 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5386,6 +5392,80 @@ esac +@@ -5392,6 +5398,80 @@ esac@@ -4016,7 +4119,7 @@ index dc6a6682aa4..10364bd81da 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5402,6 +5482,11 @@ case $reload_flag in +@@ -5408,6 +5488,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -4028,7 +4131,7 @@ index dc6a6682aa4..10364bd81da 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5570,7 +5655,8 @@ mingw* | pw32*) +@@ -5576,7 +5661,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -4038,7 +4141,7 @@ index dc6a6682aa4..10364bd81da 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -5724,6 +5810,21 @@ esac +@@ -5730,6 +5816,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -4060,7 +4163,7 @@ index dc6a6682aa4..10364bd81da 100755 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 -@@ -5739,6 +5840,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -5745,6 +5846,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -4218,7 +4321,7 @@ index dc6a6682aa4..10364bd81da 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -5753,8 +6005,10 @@ for plugin in $plugin_names; do +@@ -5759,8 +6011,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -4231,7 +4334,7 @@ index dc6a6682aa4..10364bd81da 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -5770,7 +6024,7 @@ do +@@ -5776,7 +6030,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -4240,7 +4343,7 @@ index dc6a6682aa4..10364bd81da 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5790,11 +6044,15 @@ $as_echo "no" >&6; } +@@ -5796,11 +6050,15 @@ $as_echo "no" >&6; } fi@@ -4259,7 +4362,7 @@ index dc6a6682aa4..10364bd81da 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -5810,7 +6068,7 @@ do +@@ -5816,7 +6074,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -4268,7 +4371,7 @@ index dc6a6682aa4..10364bd81da 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5829,6 +6087,10 @@ else +@@ -5835,6 +6093,10 @@ else $as_echo "no" >&6; } fi@@ -4279,7 +4382,7 @@ index dc6a6682aa4..10364bd81da 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -5840,29 +6102,81 @@ ac_tool_warned=yes ;; +@@ -5846,29 +6108,81 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -4376,7 +4479,7 @@ index dc6a6682aa4..10364bd81da 100755 -@@ -6209,8 +6523,8 @@ esac +@@ -6215,8 +6529,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@@ -4387,7 +4490,7 @@ index dc6a6682aa4..10364bd81da 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6246,6 +6560,7 @@ for ac_symprfx in "" "_"; do +@@ -6252,6 +6566,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@@ -4395,7 +4498,7 @@ index dc6a6682aa4..10364bd81da 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6287,6 +6602,18 @@ _LT_EOF +@@ -6293,6 +6608,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@@ -4414,7 +4517,7 @@ index dc6a6682aa4..10364bd81da 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6298,7 +6625,7 @@ _LT_EOF +@@ -6304,7 +6631,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -4423,7 +4526,7 @@ index dc6a6682aa4..10364bd81da 100755 const char *name; void *address; } -@@ -6324,8 +6651,8 @@ static const void *lt_preloaded_setup() { +@@ -6330,8 +6657,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -4434,7 +4537,7 @@ index dc6a6682aa4..10364bd81da 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6335,8 +6662,8 @@ _LT_EOF +@@ -6341,8 +6668,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -4445,7 +4548,7 @@ index dc6a6682aa4..10364bd81da 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6373,6 +6700,19 @@ else +@@ -6379,6 +6706,19 @@ else $as_echo "ok" >&6; } fi@@ -4465,7 +4568,7 @@ index dc6a6682aa4..10364bd81da 100755 -@@ -6389,6 +6729,42 @@ fi +@@ -6395,6 +6735,42 @@ fi@@ -4508,7 +4611,7 @@ index dc6a6682aa4..10364bd81da 100755 -@@ -6600,6 +6976,123 @@ esac +@@ -6606,6 +6982,123 @@ esac need_locks="$enable_libtool_lock"@@ -4632,7 +4735,7 @@ index dc6a6682aa4..10364bd81da 100755 case $host_os in rhapsody* | darwin*) -@@ -7163,6 +7656,8 @@ _LT_EOF +@@ -7169,6 +7662,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -4641,7 +4744,7 @@ index dc6a6682aa4..10364bd81da 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -7745,8 +8240,6 @@ fi +@@ -7751,8 +8246,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -4650,7 +4753,7 @@ index dc6a6682aa4..10364bd81da 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -7912,6 +8405,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7918,6 +8411,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -4663,7 +4766,7 @@ index dc6a6682aa4..10364bd81da 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -7974,7 +8473,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7980,7 +8479,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -4672,7 +4775,7 @@ index dc6a6682aa4..10364bd81da 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -8031,13 +8530,17 @@ case $host_os in +@@ -8037,13 +8536,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -4696,7 +4799,7 @@ index dc6a6682aa4..10364bd81da 100755 # # Check to make sure the PIC flag actually works. -@@ -8098,6 +8601,11 @@ fi +@@ -8104,6 +8607,11 @@ fi@@ -4708,7 +4811,7 @@ index dc6a6682aa4..10364bd81da 100755 # # Check to make sure the static flag actually works. # -@@ -8448,7 +8956,8 @@ _LT_EOF +@@ -8454,7 +8962,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -4718,7 +4821,7 @@ index dc6a6682aa4..10364bd81da 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8547,12 +9056,12 @@ _LT_EOF +@@ -8553,12 +9062,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -4733,7 +4836,7 @@ index dc6a6682aa4..10364bd81da 100755 fi ;; esac -@@ -8566,8 +9075,8 @@ _LT_EOF +@@ -8572,8 +9081,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -4744,7 +4847,7 @@ index dc6a6682aa4..10364bd81da 100755 fi ;; -@@ -8585,8 +9094,8 @@ _LT_EOF +@@ -8591,8 +9100,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -4755,7 +4858,7 @@ index dc6a6682aa4..10364bd81da 100755 else ld_shlibs=no fi -@@ -8632,8 +9141,8 @@ _LT_EOF +@@ -8638,8 +9147,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -4766,7 +4869,7 @@ index dc6a6682aa4..10364bd81da 100755 else ld_shlibs=no fi -@@ -8763,7 +9272,13 @@ _LT_EOF +@@ -8769,7 +9278,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -4781,7 +4884,7 @@ index dc6a6682aa4..10364bd81da 100755 /* end confdefs.h. */ int -@@ -8776,22 +9291,29 @@ main () +@@ -8782,22 +9297,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -4824,7 +4927,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -8803,7 +9325,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8809,7 +9331,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -4839,7 +4942,7 @@ index dc6a6682aa4..10364bd81da 100755 /* end confdefs.h. */ int -@@ -8816,22 +9344,29 @@ main () +@@ -8822,22 +9350,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -4882,7 +4985,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -8876,20 +9411,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8882,20 +9417,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -4960,7 +5063,7 @@ index dc6a6682aa4..10364bd81da 100755 ;; darwin* | rhapsody*) -@@ -8950,7 +9528,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8956,7 +9534,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -4969,7 +5072,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -8958,7 +9536,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8964,7 +9542,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -4978,7 +5081,7 @@ index dc6a6682aa4..10364bd81da 100755 else archive_cmds='$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 -@@ -8974,7 +9552,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8980,7 +9558,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -4987,7 +5090,7 @@ index dc6a6682aa4..10364bd81da 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -8998,10 +9576,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -9004,10 +9582,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -5000,7 +5103,7 @@ index dc6a6682aa4..10364bd81da 100755 ;; esac else -@@ -9080,23 +9658,36 @@ fi +@@ -9086,23 +9664,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -5045,7 +5148,7 @@ index dc6a6682aa4..10364bd81da 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9181,7 +9772,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9187,7 +9778,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -5054,7 +5157,7 @@ index dc6a6682aa4..10364bd81da 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9200,9 +9791,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9206,9 +9797,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -5066,7 +5169,7 @@ index dc6a6682aa4..10364bd81da 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -9778,8 +10369,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9784,8 +10375,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -5078,7 +5181,7 @@ index dc6a6682aa4..10364bd81da 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -9812,13 +10404,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9818,13 +10410,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -5151,16 +5254,16 @@ index dc6a6682aa4..10364bd81da 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -10696,7 +11346,7 @@ else +@@ -10702,7 +11352,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10699 "configure" +-#line 10705 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10740,10 +11390,10 @@ else +@@ -10746,10 +11396,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -5173,16 +5276,16 @@ index dc6a6682aa4..10364bd81da 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -10802,7 +11452,7 @@ else +@@ -10808,7 +11458,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10805 "configure" +-#line 10811 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10846,10 +11496,10 @@ else +@@ -10852,10 +11502,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -5195,7 +5298,7 @@ index dc6a6682aa4..10364bd81da 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -14832,13 +15482,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -14834,13 +15484,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -5216,7 +5319,7 @@ index dc6a6682aa4..10364bd81da 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -14853,14 +15510,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -14855,14 +15512,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -5235,7 +5338,7 @@ index dc6a6682aa4..10364bd81da 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -14893,12 +15553,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -14895,12 +15555,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -5249,7 +5352,7 @@ index dc6a6682aa4..10364bd81da 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -14953,8 +15613,13 @@ reload_flag \ +@@ -14955,8 +15615,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -5263,7 +5366,7 @@ index dc6a6682aa4..10364bd81da 100755 STRIP \ RANLIB \ CC \ -@@ -14964,12 +15629,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -14966,12 +15631,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -5279,7 +5382,7 @@ index dc6a6682aa4..10364bd81da 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -14985,7 +15652,6 @@ no_undefined_flag \ +@@ -14987,7 +15654,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -5287,7 +5390,7 @@ index dc6a6682aa4..10364bd81da 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -15021,6 +15687,7 @@ module_cmds \ +@@ -15023,6 +15689,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -5295,7 +5398,7 @@ index dc6a6682aa4..10364bd81da 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -15793,7 +16460,8 @@ $as_echo X"$file" | +@@ -15795,7 +16462,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -5305,7 +5408,7 @@ index dc6a6682aa4..10364bd81da 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -15896,19 +16564,42 @@ SP2NL=$lt_lt_SP2NL +@@ -15898,19 +16566,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -5349,7 +5452,7 @@ index dc6a6682aa4..10364bd81da 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -15938,6 +16629,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -15940,6 +16631,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -5362,7 +5465,7 @@ index dc6a6682aa4..10364bd81da 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -15947,6 +16644,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -15949,6 +16646,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -5372,7 +5475,7 @@ index dc6a6682aa4..10364bd81da 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -16061,12 +16761,12 @@ with_gcc=$GCC +@@ -16063,12 +16763,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -5388,7 +5491,7 @@ index dc6a6682aa4..10364bd81da 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -16153,9 +16853,6 @@ inherit_rpath=$inherit_rpath +@@ -16155,9 +16855,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -5398,7 +5501,7 @@ index dc6a6682aa4..10364bd81da 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -16171,6 +16868,9 @@ include_expsyms=$lt_include_expsyms +@@ -16173,6 +16870,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -5408,7 +5511,7 @@ index dc6a6682aa4..10364bd81da 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -16203,210 +16903,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -16205,210 +16905,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -5782,8 +5885,48 @@ index dc6a6682aa4..10364bd81da 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" +diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in +index bdceff3b56a..6aadae41031 100644 +--- a/gdbsupport/Makefile.in ++++ b/gdbsupport/Makefile.in +@@ -233,6 +233,7 @@ CATOBJEXT = @CATOBJEXT@ + CC = @CC@ + CCDEPMODE = @CCDEPMODE@ + CFLAGS = @CFLAGS@ ++CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@ + CPP = @CPP@ + CPPFLAGS = @CPPFLAGS@ + CXX = @CXX@ +diff --git a/gprof/Makefile.in b/gprof/Makefile.in +index 5ef5ece74a9..9d7ce8b62b2 100644 +--- a/gprof/Makefile.in ++++ b/gprof/Makefile.in +@@ -321,6 +321,7 @@ CYGPATH_W = @CYGPATH_W@ + DATADIRNAME = @DATADIRNAME@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -352,6 +353,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + MKINSTALLDIRS = @MKINSTALLDIRS@ + MSGFMT = @MSGFMT@ +@@ -387,6 +389,7 @@ abs_builddir = @abs_builddir@ + abs_srcdir = @abs_srcdir@ + abs_top_builddir = @abs_top_builddir@ + abs_top_srcdir = @abs_top_srcdir@ ++ac_ct_AR = @ac_ct_AR@ + ac_ct_CC = @ac_ct_CC@ + ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ + am__include = @am__include@ diff --git a/gprof/configure b/gprof/configure -index a7f788f0411..e7703613024 100755 +index 5a59f1c1d0e..2506887d3b0 100755 --- a/gprof/configure +++ b/gprof/configure @@ -663,8 +663,11 @@ OTOOL@@ -5835,7 +5978,7 @@ index a7f788f0411..e7703613024 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -5238,8 +5244,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -5244,8 +5250,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -5846,7 +5989,7 @@ index a7f788f0411..e7703613024 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -5288,6 +5294,80 @@ esac +@@ -5294,6 +5300,80 @@ esac@@ -5927,7 +6070,7 @@ index a7f788f0411..e7703613024 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -5304,6 +5384,11 @@ case $reload_flag in +@@ -5310,6 +5390,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -5939,7 +6082,7 @@ index a7f788f0411..e7703613024 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -5472,7 +5557,8 @@ mingw* | pw32*) +@@ -5478,7 +5563,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -5949,7 +6092,7 @@ index a7f788f0411..e7703613024 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -5626,6 +5712,21 @@ esac +@@ -5632,6 +5718,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -5971,7 +6114,7 @@ index a7f788f0411..e7703613024 100755 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 -@@ -5641,6 +5742,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -5647,6 +5748,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -6129,7 +6272,7 @@ index a7f788f0411..e7703613024 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -5655,8 +5907,10 @@ for plugin in $plugin_names; do +@@ -5661,8 +5913,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -6142,7 +6285,7 @@ index a7f788f0411..e7703613024 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -5672,7 +5926,7 @@ do +@@ -5678,7 +5932,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -6151,7 +6294,7 @@ index a7f788f0411..e7703613024 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5692,11 +5946,15 @@ $as_echo "no" >&6; } +@@ -5698,11 +5952,15 @@ $as_echo "no" >&6; } fi@@ -6170,7 +6313,7 @@ index a7f788f0411..e7703613024 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -5712,7 +5970,7 @@ do +@@ -5718,7 +5976,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -6179,7 +6322,7 @@ index a7f788f0411..e7703613024 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -5731,6 +5989,10 @@ else +@@ -5737,6 +5995,10 @@ else $as_echo "no" >&6; } fi@@ -6190,7 +6333,7 @@ index a7f788f0411..e7703613024 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -5742,25 +6004,19 @@ ac_tool_warned=yes ;; +@@ -5748,25 +6010,19 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -6225,7 +6368,7 @@ index a7f788f0411..e7703613024 100755 -@@ -5772,6 +6028,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru +@@ -5778,6 +6034,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru@@ -6290,7 +6433,7 @@ index a7f788f0411..e7703613024 100755 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -@@ -6111,8 +6425,8 @@ esac +@@ -6117,8 +6431,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@@ -6301,7 +6444,7 @@ index a7f788f0411..e7703613024 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -6148,6 +6462,7 @@ for ac_symprfx in "" "_"; do +@@ -6154,6 +6468,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@@ -6309,7 +6452,7 @@ index a7f788f0411..e7703613024 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -6189,6 +6504,18 @@ _LT_EOF +@@ -6195,6 +6510,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@@ -6328,7 +6471,7 @@ index a7f788f0411..e7703613024 100755 #ifdef __cplusplus extern "C" { #endif -@@ -6200,7 +6527,7 @@ _LT_EOF +@@ -6206,7 +6533,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -6337,7 +6480,7 @@ index a7f788f0411..e7703613024 100755 const char *name; void *address; } -@@ -6226,8 +6553,8 @@ static const void *lt_preloaded_setup() { +@@ -6232,8 +6559,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -6348,7 +6491,7 @@ index a7f788f0411..e7703613024 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -6237,8 +6564,8 @@ _LT_EOF +@@ -6243,8 +6570,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -6359,7 +6502,7 @@ index a7f788f0411..e7703613024 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -6275,6 +6602,18 @@ else +@@ -6281,6 +6608,18 @@ else $as_echo "ok" >&6; } fi@@ -6378,7 +6521,7 @@ index a7f788f0411..e7703613024 100755 -@@ -6291,6 +6630,43 @@ fi +@@ -6297,6 +6636,43 @@ fi@@ -6422,7 +6565,7 @@ index a7f788f0411..e7703613024 100755 -@@ -6502,6 +6878,123 @@ esac +@@ -6508,6 +6884,123 @@ esac need_locks="$enable_libtool_lock"@@ -6546,7 +6689,7 @@ index a7f788f0411..e7703613024 100755 case $host_os in rhapsody* | darwin*) -@@ -7065,6 +7558,8 @@ _LT_EOF +@@ -7071,6 +7564,8 @@ _LT_EOF $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5@@ -6555,7 +6698,7 @@ index a7f788f0411..e7703613024 100755 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF -@@ -7647,8 +8142,6 @@ fi +@@ -7653,8 +8148,6 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static=@@ -6564,7 +6707,7 @@ index a7f788f0411..e7703613024 100755 if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' -@@ -7814,6 +8307,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7820,6 +8313,12 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;;@@ -6577,7 +6720,7 @@ index a7f788f0411..e7703613024 100755 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) -@@ -7876,7 +8375,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } +@@ -7882,7 +8381,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in@@ -6586,7 +6729,7 @@ index a7f788f0411..e7703613024 100755 lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; -@@ -7933,13 +8432,17 @@ case $host_os in +@@ -7939,13 +8438,17 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac@@ -6610,7 +6753,7 @@ index a7f788f0411..e7703613024 100755 # # Check to make sure the PIC flag actually works. -@@ -8000,6 +8503,11 @@ fi +@@ -8006,6 +8509,11 @@ fi@@ -6622,7 +6765,7 @@ index a7f788f0411..e7703613024 100755 # # Check to make sure the static flag actually works. # -@@ -8350,7 +8858,8 @@ _LT_EOF +@@ -8356,7 +8864,8 @@ _LT_EOF allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes@@ -6632,7 +6775,7 @@ index a7f788f0411..e7703613024 100755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -@@ -8449,12 +8958,12 @@ _LT_EOF +@@ -8455,12 +8964,12 @@ _LT_EOF whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld='-rpath $libdir'@@ -6647,7 +6790,7 @@ index a7f788f0411..e7703613024 100755 fi ;; esac -@@ -8468,8 +8977,8 @@ _LT_EOF +@@ -8474,8 +8983,8 @@ _LT_EOF archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else@@ -6658,7 +6801,7 @@ index a7f788f0411..e7703613024 100755 fi ;; -@@ -8487,8 +8996,8 @@ _LT_EOF +@@ -8493,8 +9002,8 @@ _LT_EOF _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -6669,7 +6812,7 @@ index a7f788f0411..e7703613024 100755 else ld_shlibs=no fi -@@ -8534,8 +9043,8 @@ _LT_EOF +@@ -8540,8 +9049,8 @@ _LT_EOF *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then@@ -6680,7 +6823,7 @@ index a7f788f0411..e7703613024 100755 else ld_shlibs=no fi -@@ -8665,7 +9174,13 @@ _LT_EOF +@@ -8671,7 +9180,13 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable.@@ -6695,7 +6838,7 @@ index a7f788f0411..e7703613024 100755 /* end confdefs.h. */ int -@@ -8678,22 +9193,29 @@ main () +@@ -8684,22 +9199,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -6738,7 +6881,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$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" -@@ -8705,7 +9227,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8711,7 +9233,13 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable.@@ -6753,7 +6896,7 @@ index a7f788f0411..e7703613024 100755 /* end confdefs.h. */ int -@@ -8718,22 +9246,29 @@ main () +@@ -8724,22 +9252,29 @@ main () _ACEOF if ac_fn_c_try_link "$LINENO"; then :@@ -6796,7 +6939,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, -@@ -8778,20 +9313,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8784,20 +9319,63 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs.@@ -6874,7 +7017,7 @@ index a7f788f0411..e7703613024 100755 ;; darwin* | rhapsody*) -@@ -8852,7 +9430,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8858,7 +9436,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*)@@ -6883,7 +7026,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no -@@ -8860,7 +9438,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8866,7 +9444,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux9*) if test "$GCC" = yes; then@@ -6892,7 +7035,7 @@ index a7f788f0411..e7703613024 100755 else archive_cmds='$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 -@@ -8876,7 +9454,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8882,7 +9460,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then@@ -6901,7 +7044,7 @@ index a7f788f0411..e7703613024 100755 else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi -@@ -8900,10 +9478,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +@@ -8906,10 +9484,10 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*)@@ -6914,7 +7057,7 @@ index a7f788f0411..e7703613024 100755 ;; esac else -@@ -8982,23 +9560,36 @@ fi +@@ -8988,23 +9566,36 @@ fi irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then@@ -6959,7 +7102,7 @@ index a7f788f0411..e7703613024 100755 else archive_cmds='$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' archive_expsym_cmds='$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' -@@ -9083,7 +9674,7 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9089,7 +9680,7 @@ rm -f core conftest.err conftest.$ac_objext \ osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'@@ -6968,7 +7111,7 @@ index a7f788f0411..e7703613024 100755 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' -@@ -9102,9 +9693,9 @@ rm -f core conftest.err conftest.$ac_objext \ +@@ -9108,9 +9699,9 @@ rm -f core conftest.err conftest.$ac_objext \ no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}'@@ -6980,7 +7123,7 @@ index a7f788f0411..e7703613024 100755 else case `$CC -V 2>&1` in *"Compilers 5.0"*) -@@ -9680,8 +10271,9 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9686,8 +10277,9 @@ cygwin* | mingw* | pw32* | cegcc*) need_version=no need_lib_prefix=no@@ -6992,7 +7135,7 @@ index a7f788f0411..e7703613024 100755 library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ -@@ -9714,13 +10306,71 @@ cygwin* | mingw* | pw32* | cegcc*) +@@ -9720,13 +10312,71 @@ cygwin* | mingw* | pw32* | cegcc*) library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac@@ -7065,16 +7208,16 @@ index a7f788f0411..e7703613024 100755 # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; -@@ -10598,7 +11248,7 @@ else +@@ -10604,7 +11254,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10601 "configure" +-#line 10607 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10642,10 +11292,10 @@ else +@@ -10648,10 +11298,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -7087,16 +7230,16 @@ index a7f788f0411..e7703613024 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -10704,7 +11354,7 @@ else +@@ -10710,7 +11360,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF --#line 10707 "configure" +-#line 10713 "configure" +#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H -@@ -10748,10 +11398,10 @@ else +@@ -10754,10 +11404,10 @@ else /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))@@ -7109,7 +7252,7 @@ index a7f788f0411..e7703613024 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -12771,13 +13421,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -12777,13 +13427,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'@@ -7130,7 +7273,7 @@ index a7f788f0411..e7703613024 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -12792,14 +13449,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -12798,14 +13455,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'@@ -7149,7 +7292,7 @@ index a7f788f0411..e7703613024 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -12832,12 +13492,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -12838,12 +13498,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'@@ -7163,7 +7306,7 @@ index a7f788f0411..e7703613024 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -12892,8 +13552,13 @@ reload_flag \ +@@ -12898,8 +13558,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \@@ -7177,7 +7320,7 @@ index a7f788f0411..e7703613024 100755 STRIP \ RANLIB \ CC \ -@@ -12903,12 +13568,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -12909,12 +13574,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \@@ -7193,7 +7336,7 @@ index a7f788f0411..e7703613024 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -12924,7 +13591,6 @@ no_undefined_flag \ +@@ -12930,7 +13597,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \@@ -7201,7 +7344,7 @@ index a7f788f0411..e7703613024 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -12960,6 +13626,7 @@ module_cmds \ +@@ -12966,6 +13632,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \@@ -7209,7 +7352,7 @@ index a7f788f0411..e7703613024 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -13725,7 +14392,8 @@ $as_echo X"$file" | +@@ -13731,7 +14398,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,@@ -7219,7 +7362,7 @@ index a7f788f0411..e7703613024 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -13828,19 +14496,42 @@ SP2NL=$lt_lt_SP2NL +@@ -13834,19 +14502,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP@@ -7263,7 +7406,7 @@ index a7f788f0411..e7703613024 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -13870,6 +14561,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -13876,6 +14567,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix@@ -7276,7 +7419,7 @@ index a7f788f0411..e7703613024 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -13879,6 +14576,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -13885,6 +14582,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks@@ -7286,7 +7429,7 @@ index a7f788f0411..e7703613024 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -13993,12 +14693,12 @@ with_gcc=$GCC +@@ -13999,12 +14699,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag@@ -7302,7 +7445,7 @@ index a7f788f0411..e7703613024 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -14085,9 +14785,6 @@ inherit_rpath=$inherit_rpath +@@ -14091,9 +14791,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs@@ -7312,7 +7455,7 @@ index a7f788f0411..e7703613024 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -14103,6 +14800,9 @@ include_expsyms=$lt_include_expsyms +@@ -14109,6 +14806,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds@@ -7322,7 +7465,7 @@ index a7f788f0411..e7703613024 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -14135,210 +14835,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -14141,210 +14841,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too?@@ -7696,40 +7839,57 @@ index a7f788f0411..e7703613024 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" -diff --git a/ld/configure b/ld/configure -index 1f9ec8ec580..4a35108ce7c 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -695,8 +695,11 @@ OTOOL +diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in +index fd5279b4df1..6e74c7b302a 100644 +--- a/gprofng/Makefile.in ++++ b/gprofng/Makefile.in +@@ -253,6 +253,7 @@ CXXFLAGS = @CXXFLAGS@ + CYGPATH_W = @CYGPATH_W@ + DEFS = @DEFS@ + DEPDIR = @DEPDIR@ ++DLLTOOL = @DLLTOOL@ + DSYMUTIL = @DSYMUTIL@ + DUMPBIN = @DUMPBIN@ + ECHO_C = @ECHO_C@ +@@ -290,6 +291,7 @@ LN_S = @LN_S@ + LTLIBOBJS = @LTLIBOBJS@ + MAINT = @MAINT@ + MAKEINFO = @MAKEINFO@ ++MANIFEST_TOOL = @MANIFEST_TOOL@ + MKDIR_P = @MKDIR_P@ + NM = @NM@ + NMEDIT = @NMEDIT@ +diff --git a/gprofng/configure b/gprofng/configure +index ac14d126ac0..f8d7685a72e 100755 +--- a/gprofng/configure ++++ b/gprofng/configure +@@ -672,6 +672,8 @@ OTOOL LIPO NMEDIT DSYMUTIL +MANIFEST_TOOL - RANLIB -+ac_ct_AR - AR +DLLTOOL OBJDUMP LN_S NM -@@ -823,6 +826,7 @@ enable_static +@@ -802,6 +804,7 @@ enable_static with_pic enable_fast_install with_gnu_ld +with_libtool_sysroot enable_libtool_lock - enable_plugins - enable_largefile -@@ -1530,6 +1534,8 @@ Optional Packages: + enable_werror_always + enable_gprofng_tools +@@ -1465,6 +1468,8 @@ Optional Packages: --with-pic try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-libtool-sysroot=DIR Search for dependent libraries within DIR + (or the compiler's sysroot if not specified). - --with-lib-path=dir1:dir2... set default LIB_PATH - --with-sysroot=DIR Search for usr/lib et al within DIR. + --with-jdk=PATH specify prefix directory for installed JDK. --with-system-zlib use installed libz -@@ -5368,8 +5374,8 @@ esac + +@@ -6156,8 +6161,8 @@ esac@@ -7740,7 +7900,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 -@@ -5409,7 +5415,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO +@@ -6197,7 +6202,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present.@@ -7749,7 +7909,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -@@ -6096,8 +6102,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; +@@ -6890,8 +6895,8 @@ $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c"@@ -7760,7 +7920,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -@@ -6146,6 +6152,80 @@ esac +@@ -6940,6 +6945,80 @@ esac@@ -7841,7 +8001,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : -@@ -6162,6 +6242,11 @@ case $reload_flag in +@@ -6956,6 +7035,11 @@ case $reload_flag in esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in@@ -7853,7 +8013,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -@@ -6330,7 +6415,8 @@ mingw* | pw32*) +@@ -7124,7 +7208,8 @@ mingw* | pw32*) lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else@@ -7863,7 +8023,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; -@@ -6484,6 +6570,21 @@ esac +@@ -7278,6 +7363,21 @@ esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; }@@ -7885,7 +8045,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 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 -@@ -6499,6 +6600,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown +@@ -7293,6 +7393,157 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown@@ -8043,7 +8203,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 plugin_option= plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll" for plugin in $plugin_names; do -@@ -6513,8 +6765,10 @@ for plugin in $plugin_names; do +@@ -7307,8 +7558,10 @@ for plugin in $plugin_names; do done if test -n "$ac_tool_prefix"; then@@ -8056,7 +8216,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : -@@ -6530,7 +6784,7 @@ do +@@ -7324,7 +7577,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -8065,7 +8225,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6550,11 +6804,15 @@ $as_echo "no" >&6; } +@@ -7344,11 +7597,15 @@ $as_echo "no" >&6; } fi@@ -8084,7 +8244,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : -@@ -6570,7 +6828,7 @@ do +@@ -7364,7 +7621,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then@@ -8093,7 +8253,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi -@@ -6589,6 +6847,10 @@ else +@@ -7383,6 +7640,10 @@ else $as_echo "no" >&6; } fi@@ -8104,7 +8264,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 if test "x$ac_ct_AR" = x; then AR="false" else -@@ -6600,25 +6862,19 @@ ac_tool_warned=yes ;; +@@ -7394,29 +7655,81 @@ ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi@@ -8136,12 +8296,16 @@ index 1f9ec8ec580..4a35108ce7c 100755 + rm -f conftest.* +: ${AR=ar} +: ${AR_FLAGS=cru} ++ ++ ++ ++ ++ ++ ++ -@@ -6630,6 +6886,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru - - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 +$as_echo_n "checking for archiver @FILE support... " >&6; }@@ -8194,17 +8358,10 @@ index 1f9ec8ec580..4a35108ce7c 100755 +else + archiver_list_spec=$lt_cv_ar_at_file +fi -+ -+ -+ -+ -+ -+ -+ - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. - set dummy ${ac_tool_prefix}strip; ac_word=$2 -@@ -6969,8 +7283,8 @@ esac + + + +@@ -7763,8 +8076,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@@ -8215,7 +8372,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 # Handle CRLF in mingw tool chain opt_cr= -@@ -7006,6 +7320,7 @@ for ac_symprfx in "" "_"; do +@@ -7800,6 +8113,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@@ -8223,7 +8380,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 # Check to see that the pipe works correctly. pipe_works=no -@@ -7047,6 +7362,18 @@ _LT_EOF +@@ -7841,6 +8155,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@@ -8242,7 +8399,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 #ifdef __cplusplus extern "C" { #endif -@@ -7058,7 +7385,7 @@ _LT_EOF +@@ -7852,7 +8178,7 @@ _LT_EOF cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */@@ -8251,7 +8408,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 const char *name; void *address; } -@@ -7084,8 +7411,8 @@ static const void *lt_preloaded_setup() { +@@ -7878,8 +8204,8 @@ static const void *lt_preloaded_setup() { _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext@@ -8262,7 +8419,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -@@ -7095,8 +7422,8 @@ _LT_EOF +@@ -7889,8 +8215,8 @@ _LT_EOF test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi@@ -8273,7 +8430,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 else echo "cannot find nm_test_func in $nlist" >&5 fi -@@ -7133,6 +7460,17 @@ else +@@ -7927,6 +8253,13 @@ else $as_echo "ok" >&6; } fi@@ -8284,14 +8441,10 @@ index 1f9ec8ec580..4a35108ce7c 100755 + nm_file_list_spec='@' +fi + -+ -+ -+ -+ -@@ -7149,6 +7487,44 @@ fi +@@ -7946,6 +8279,48 @@ fi@@ -8301,6 +8454,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 + + + ++ +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 +$as_echo_n "checking for sysroot... " >&6; } +@@ -8333,10 +8487,13 @@ index 1f9ec8ec580..4a35108ce7c 100755 + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 +$as_echo "${lt_sysroot:-no}" >&6; } ++ ++ ++ - -@@ -7360,6 +7736,123 @@ esac + # Check whether --enable-libtool-lock was given. +@@ -8154,6 +8529,123 @@ esac need_locks="$enable_libtool_lock"@@ -8460,7 +8617,7 @@ index 1f9ec8ec580..4a35108ce7c 100755 case $host_os inLines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch renamed from meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +1
-1Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0010-sync-with-OE-libtool-changes.patch renamed from meta/recipes-devtools/binutils/binutils/0011-sync-with-OE-libtool-changes.patch +1
-1Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0011-Check-for-clang-before-checking-gcc-version.patch renamed from meta/recipes-devtools/binutils/binutils/0012-Check-for-clang-before-checking-gcc-version.patch +5
-5Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch renamed from meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +9
-8Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0013-Avoid-as-info-race-condition.patch deleted +0
-75Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0014-CVE-2019-1010204.patch deleted +0
-49Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils_2.39.bb renamed from meta/recipes-devtools/binutils/binutils_2.38.bb +0
-1Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Quoted 6 lines
2.37.2
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Part of the diff is not shown here. View the raw message.