summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-07-06 17:26:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-08 16:39:09 +0100
commit3f4f5c14ac8088d523c8c884f3dfb5f7ea1e5fdc (patch)
treea498a134a7c56bab7fe6cb7b9b37cb463b4515e6 /meta/recipes-devtools/binutils
parentcd16591d6cb5d37d027ac16211904d4d7db3033e (diff)
downloadpoky-3f4f5c14ac8088d523c8c884f3dfb5f7ea1e5fdc.tar.gz
binutils: upgrade from 2.21 to 2.21.1
(From OE-Core rev: 4810404f22d7cf8849dc32da68dd33a156cac407) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_2.21.1.bb (renamed from meta/recipes-devtools/binutils/binutils-cross_2.21.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1.bb (renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/110-arm-eabi-conf.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-2.19.1-ld-sysroot.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-poison.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-poison.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-pr12366.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-pr12366.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-100-uclibc-conf.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-001_ld_makefile_patch.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-006_better_file_error.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-gas-needs-libm.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/libiberty_path_fix.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/libtool-2.4-update.patch)1725
-rw-r--r--meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch (renamed from meta/recipes-devtools/binutils/binutils-2.21/libtool-rpath-fix.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.21.1.bb (renamed from meta/recipes-devtools/binutils/binutils_2.21.bb)7
17 files changed, 871 insertions, 861 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1.bb
index 7dad2a620b..7dad2a620b 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1.bb
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.21.bb b/meta/recipes-devtools/binutils/binutils-cross_2.21.1.bb
index 01d99db419..01d99db419 100644
--- a/meta/recipes-devtools/binutils/binutils-cross_2.21.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.21.1.bb
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1.bb
index 0d6efffa2f..0d6efffa2f 100644
--- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1.bb
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/110-arm-eabi-conf.patch b/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch
index dc496137d0..dc496137d0 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/110-arm-eabi-conf.patch
+++ b/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-2.19.1-ld-sysroot.patch b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch
index 1a640eac39..1a640eac39 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-2.19.1-ld-sysroot.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-poison.patch b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch
index 759aa88c59..759aa88c59 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-poison.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-pr12366.patch b/meta/recipes-devtools/binutils/binutils/binutils-pr12366.patch
index c11a802941..c11a802941 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-pr12366.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-pr12366.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-100-uclibc-conf.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch
index 3f627c691e..3f627c691e 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-100-uclibc-conf.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-001_ld_makefile_patch.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch
index 07312d70bf..07312d70bf 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-001_ld_makefile_patch.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-006_better_file_error.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch
index 35835b3986..35835b3986 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-006_better_file_error.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
index 3944f2e0b8..3944f2e0b8 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-gas-needs-libm.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch
index 58315798d6..58315798d6 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-gas-needs-libm.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch
index 16c775c550..16c775c550 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/libiberty_path_fix.patch b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
index 3772dfbed7..3772dfbed7 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/libiberty_path_fix.patch
+++ b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/libtool-2.4-update.patch b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch
index 1f49db0d3b..fc1735e0d9 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/libtool-2.4-update.patch
+++ b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch
@@ -1,9 +1,9 @@
1Upstream-Status: Inappropriate [embedded specific] 1Upstream-Status: Inappropriate [embedded specific]
2 2
3Index: binutils-2.21/libtool.m4 3Index: binutils-2.21.1/libtool.m4
4=================================================================== 4===================================================================
5--- binutils-2.21.orig/libtool.m4 2010-01-09 13:11:31.000000000 -0800 5--- binutils-2.21.1.orig/libtool.m4
6+++ binutils-2.21/libtool.m4 2011-01-07 10:49:16.396101000 -0800 6+++ binutils-2.21.1/libtool.m4
7@@ -1,7 +1,8 @@ 7@@ -1,7 +1,8 @@
8 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 8 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
9 # 9 #
@@ -24,7 +24,7 @@ Index: binutils-2.21/libtool.m4
24 # Written by Gordon Matzigkeit, 1996 24 # Written by Gordon Matzigkeit, 1996
25 # 25 #
26 # This file is part of GNU Libtool. 26 # This file is part of GNU Libtool.
27@@ -37,7 +39,7 @@ 27@@ -37,7 +39,7 @@ m4_define([_LT_COPYING], [dnl
28 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 28 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29 ]) 29 ])
30 30
@@ -33,7 +33,7 @@ Index: binutils-2.21/libtool.m4
33 33
34 34
35 # LT_PREREQ(VERSION) 35 # LT_PREREQ(VERSION)
36@@ -92,7 +94,8 @@ 36@@ -92,7 +94,8 @@ _LT_SET_OPTIONS([$0], [$1])
37 LIBTOOL_DEPS="$ltmain" 37 LIBTOOL_DEPS="$ltmain"
38 38
39 # Always use our own libtool. 39 # Always use our own libtool.
@@ -43,7 +43,7 @@ Index: binutils-2.21/libtool.m4
43 AC_SUBST(LIBTOOL)dnl 43 AC_SUBST(LIBTOOL)dnl
44 44
45 _LT_SETUP 45 _LT_SETUP
46@@ -166,10 +169,13 @@ 46@@ -166,10 +169,13 @@ _LT_DECL([], [exeext], [0], [Executable
47 dnl 47 dnl
48 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 48 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
49 m4_require([_LT_CHECK_SHELL_FEATURES])dnl 49 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
@@ -57,7 +57,7 @@ Index: binutils-2.21/libtool.m4
57 57
58 _LT_CONFIG_LIBTOOL_INIT([ 58 _LT_CONFIG_LIBTOOL_INIT([
59 # See if we are running on zsh, and set the options which allow our 59 # See if we are running on zsh, and set the options which allow our
60@@ -199,7 +205,7 @@ 60@@ -199,7 +205,7 @@ aix3*)
61 esac 61 esac
62 62
63 # Global variables: 63 # Global variables:
@@ -66,7 +66,7 @@ Index: binutils-2.21/libtool.m4
66 can_build_shared=yes 66 can_build_shared=yes
67 67
68 # All known linkers require a `.a' archive for static linking (except MSVC, 68 # All known linkers require a `.a' archive for static linking (except MSVC,
69@@ -632,7 +638,7 @@ 69@@ -632,7 +638,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_
70 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) 70 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
71 configured by $[0], generated by m4_PACKAGE_STRING. 71 configured by $[0], generated by m4_PACKAGE_STRING.
72 72
@@ -75,7 +75,7 @@ Index: binutils-2.21/libtool.m4
75 This config.lt script is free software; the Free Software Foundation 75 This config.lt script is free software; the Free Software Foundation
76 gives unlimited permision to copy, distribute and modify it." 76 gives unlimited permision to copy, distribute and modify it."
77 77
78@@ -746,15 +752,12 @@ 78@@ -746,15 +752,12 @@ _LT_EOF
79 # if finds mixed CR/LF and LF-only lines. Since sed operates in 79 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80 # text mode, it properly converts lines to CR/LF. This bash problem 80 # text mode, it properly converts lines to CR/LF. This bash problem
81 # is reportedly fixed, but why not run on old versions too? 81 # is reportedly fixed, but why not run on old versions too?
@@ -95,7 +95,7 @@ Index: binutils-2.21/libtool.m4
95 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 95 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
96 chmod +x "$ofile" 96 chmod +x "$ofile"
97 ], 97 ],
98@@ -980,6 +983,8 @@ 98@@ -980,6 +983,8 @@ _LT_EOF
99 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD 99 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
100 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD 100 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
101 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD 101 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
@@ -104,7 +104,7 @@ Index: binutils-2.21/libtool.m4
104 cat > conftest.c << _LT_EOF 104 cat > conftest.c << _LT_EOF
105 int main() { return 0;} 105 int main() { return 0;}
106 _LT_EOF 106 _LT_EOF
107@@ -1069,30 +1074,41 @@ 107@@ -1069,30 +1074,41 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
108 fi 108 fi
109 ]) 109 ])
110 110
@@ -162,7 +162,7 @@ Index: binutils-2.21/libtool.m4
162 ])# _LT_SYS_MODULE_PATH_AIX 162 ])# _LT_SYS_MODULE_PATH_AIX
163 163
164 164
165@@ -1117,7 +1133,7 @@ 165@@ -1117,7 +1133,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
166 166
167 AC_MSG_CHECKING([how to print strings]) 167 AC_MSG_CHECKING([how to print strings])
168 # Test print first, because it will be a builtin if present. 168 # Test print first, because it will be a builtin if present.
@@ -171,7 +171,7 @@ Index: binutils-2.21/libtool.m4
171 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 171 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
172 ECHO='print -r --' 172 ECHO='print -r --'
173 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 173 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
174@@ -1161,6 +1177,39 @@ 174@@ -1161,6 +1177,39 @@ _LT_DECL([], [ECHO], [1], [An echo progr
175 ])# _LT_PROG_ECHO_BACKSLASH 175 ])# _LT_PROG_ECHO_BACKSLASH
176 176
177 177
@@ -211,7 +211,7 @@ Index: binutils-2.21/libtool.m4
211 # _LT_ENABLE_LOCK 211 # _LT_ENABLE_LOCK
212 # --------------- 212 # ---------------
213 m4_defun([_LT_ENABLE_LOCK], 213 m4_defun([_LT_ENABLE_LOCK],
214@@ -1307,14 +1356,47 @@ 214@@ -1307,14 +1356,47 @@ need_locks="$enable_libtool_lock"
215 ])# _LT_ENABLE_LOCK 215 ])# _LT_ENABLE_LOCK
216 216
217 217
@@ -264,7 +264,7 @@ Index: binutils-2.21/libtool.m4
264 264
265 AC_CHECK_TOOL(STRIP, strip, :) 265 AC_CHECK_TOOL(STRIP, strip, :)
266 test -z "$STRIP" && STRIP=: 266 test -z "$STRIP" && STRIP=:
267@@ -1610,7 +1692,7 @@ 267@@ -1610,7 +1692,7 @@ else
268 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 268 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
269 lt_status=$lt_dlunknown 269 lt_status=$lt_dlunknown
270 cat > conftest.$ac_ext <<_LT_EOF 270 cat > conftest.$ac_ext <<_LT_EOF
@@ -273,7 +273,7 @@ Index: binutils-2.21/libtool.m4
273 #include "confdefs.h" 273 #include "confdefs.h"
274 274
275 #if HAVE_DLFCN_H 275 #if HAVE_DLFCN_H
276@@ -1654,10 +1736,10 @@ 276@@ -1654,10 +1736,10 @@ else
277 /* When -fvisbility=hidden is used, assume the code has been annotated 277 /* When -fvisbility=hidden is used, assume the code has been annotated
278 correspondingly for the symbols needed. */ 278 correspondingly for the symbols needed. */
279 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 279 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -286,7 +286,7 @@ Index: binutils-2.21/libtool.m4
286 int main () 286 int main ()
287 { 287 {
288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 288 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
289@@ -2197,8 +2279,9 @@ 289@@ -2197,8 +2279,9 @@ cygwin* | mingw* | pw32* | cegcc*)
290 need_version=no 290 need_version=no
291 need_lib_prefix=no 291 need_lib_prefix=no
292 292
@@ -298,7 +298,7 @@ Index: binutils-2.21/libtool.m4
298 library_names_spec='$libname.dll.a' 298 library_names_spec='$libname.dll.a'
299 # DLL is installed to $(libdir)/../bin by postinstall_cmds 299 # DLL is installed to $(libdir)/../bin by postinstall_cmds
300 postinstall_cmds='base_file=`basename \${file}`~ 300 postinstall_cmds='base_file=`basename \${file}`~
301@@ -2231,13 +2314,71 @@ 301@@ -2231,13 +2314,71 @@ m4_if([$1], [],[
302 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 302 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
303 ;; 303 ;;
304 esac 304 esac
@@ -371,7 +371,7 @@ Index: binutils-2.21/libtool.m4
371 # FIXME: first we should search . and the directory the executable is in 371 # FIXME: first we should search . and the directory the executable is in
372 shlibpath_var=PATH 372 shlibpath_var=PATH
373 ;; 373 ;;
374@@ -2333,7 +2474,7 @@ 374@@ -2333,7 +2474,7 @@ haiku*)
375 soname_spec='${libname}${release}${shared_ext}$major' 375 soname_spec='${libname}${release}${shared_ext}$major'
376 shlibpath_var=LIBRARY_PATH 376 shlibpath_var=LIBRARY_PATH
377 shlibpath_overrides_runpath=yes 377 shlibpath_overrides_runpath=yes
@@ -380,7 +380,7 @@ Index: binutils-2.21/libtool.m4
380 hardcode_into_libs=yes 380 hardcode_into_libs=yes
381 ;; 381 ;;
382 382
383@@ -2941,6 +3082,11 @@ 383@@ -2941,6 +3082,11 @@ case $reload_flag in
384 esac 384 esac
385 reload_cmds='$LD$reload_flag -o $output$reload_objs' 385 reload_cmds='$LD$reload_flag -o $output$reload_objs'
386 case $host_os in 386 case $host_os in
@@ -392,7 +392,7 @@ Index: binutils-2.21/libtool.m4
392 darwin*) 392 darwin*)
393 if test "$GCC" = yes; then 393 if test "$GCC" = yes; then
394 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 394 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
395@@ -3007,7 +3153,8 @@ 395@@ -3007,7 +3153,8 @@ mingw* | pw32*)
396 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 396 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
397 lt_cv_file_magic_cmd='func_win32_libid' 397 lt_cv_file_magic_cmd='func_win32_libid'
398 else 398 else
@@ -402,7 +402,7 @@ Index: binutils-2.21/libtool.m4
402 lt_cv_file_magic_cmd='$OBJDUMP -f' 402 lt_cv_file_magic_cmd='$OBJDUMP -f'
403 fi 403 fi
404 ;; 404 ;;
405@@ -3158,6 +3305,21 @@ 405@@ -3158,6 +3305,21 @@ tpf*)
406 ;; 406 ;;
407 esac 407 esac
408 ]) 408 ])
@@ -424,7 +424,7 @@ Index: binutils-2.21/libtool.m4
424 file_magic_cmd=$lt_cv_file_magic_cmd 424 file_magic_cmd=$lt_cv_file_magic_cmd
425 deplibs_check_method=$lt_cv_deplibs_check_method 425 deplibs_check_method=$lt_cv_deplibs_check_method
426 test -z "$deplibs_check_method" && deplibs_check_method=unknown 426 test -z "$deplibs_check_method" && deplibs_check_method=unknown
427@@ -3165,7 +3327,11 @@ 427@@ -3165,7 +3327,11 @@ test -z "$deplibs_check_method" && depli
428 _LT_DECL([], [deplibs_check_method], [1], 428 _LT_DECL([], [deplibs_check_method], [1],
429 [Method to check whether dependent libraries are shared objects]) 429 [Method to check whether dependent libraries are shared objects])
430 _LT_DECL([], [file_magic_cmd], [1], 430 _LT_DECL([], [file_magic_cmd], [1],
@@ -437,7 +437,7 @@ Index: binutils-2.21/libtool.m4
437 ])# _LT_CHECK_MAGIC_METHOD 437 ])# _LT_CHECK_MAGIC_METHOD
438 438
439 439
440@@ -3268,6 +3434,67 @@ 440@@ -3268,6 +3434,67 @@ dnl aclocal-1.4 backwards compatibility:
441 dnl AC_DEFUN([AM_PROG_NM], []) 441 dnl AC_DEFUN([AM_PROG_NM], [])
442 dnl AC_DEFUN([AC_PROG_NM], []) 442 dnl AC_DEFUN([AC_PROG_NM], [])
443 443
@@ -505,7 +505,7 @@ Index: binutils-2.21/libtool.m4
505 505
506 # LT_LIB_M 506 # LT_LIB_M
507 # -------- 507 # --------
508@@ -3394,8 +3621,8 @@ 508@@ -3394,8 +3621,8 @@ esac
509 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 509 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
510 510
511 # Transform an extracted symbol line into symbol name and symbol address 511 # Transform an extracted symbol line into symbol name and symbol address
@@ -516,7 +516,7 @@ Index: binutils-2.21/libtool.m4
516 516
517 # Handle CRLF in mingw tool chain 517 # Handle CRLF in mingw tool chain
518 opt_cr= 518 opt_cr=
519@@ -3431,6 +3658,7 @@ 519@@ -3431,6 +3658,7 @@ for ac_symprfx in "" "_"; do
520 else 520 else
521 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 521 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
522 fi 522 fi
@@ -524,7 +524,7 @@ Index: binutils-2.21/libtool.m4
524 524
525 # Check to see that the pipe works correctly. 525 # Check to see that the pipe works correctly.
526 pipe_works=no 526 pipe_works=no
527@@ -3464,6 +3692,18 @@ 527@@ -3464,6 +3692,18 @@ _LT_EOF
528 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 528 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
529 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 529 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
530 cat <<_LT_EOF > conftest.$ac_ext 530 cat <<_LT_EOF > conftest.$ac_ext
@@ -543,7 +543,7 @@ Index: binutils-2.21/libtool.m4
543 #ifdef __cplusplus 543 #ifdef __cplusplus
544 extern "C" { 544 extern "C" {
545 #endif 545 #endif
546@@ -3475,7 +3715,7 @@ 546@@ -3475,7 +3715,7 @@ _LT_EOF
547 cat <<_LT_EOF >> conftest.$ac_ext 547 cat <<_LT_EOF >> conftest.$ac_ext
548 548
549 /* The mapping between symbol names and symbols. */ 549 /* The mapping between symbol names and symbols. */
@@ -552,7 +552,7 @@ Index: binutils-2.21/libtool.m4
552 const char *name; 552 const char *name;
553 void *address; 553 void *address;
554 } 554 }
555@@ -3501,15 +3741,15 @@ 555@@ -3501,15 +3741,15 @@ static const void *lt_preloaded_setup()
556 _LT_EOF 556 _LT_EOF
557 # Now try linking the two files. 557 # Now try linking the two files.
558 mv conftest.$ac_objext conftstm.$ac_objext 558 mv conftest.$ac_objext conftstm.$ac_objext
@@ -572,7 +572,7 @@ Index: binutils-2.21/libtool.m4
572 else 572 else
573 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD 573 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
574 fi 574 fi
575@@ -3542,6 +3782,13 @@ 575@@ -3542,6 +3782,13 @@ else
576 AC_MSG_RESULT(ok) 576 AC_MSG_RESULT(ok)
577 fi 577 fi
578 578
@@ -586,7 +586,7 @@ Index: binutils-2.21/libtool.m4
586 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], 586 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
587 [Take the output of nm and produce a listing of raw symbols and C names]) 587 [Take the output of nm and produce a listing of raw symbols and C names])
588 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], 588 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
589@@ -3552,6 +3799,8 @@ 589@@ -3552,6 +3799,8 @@ _LT_DECL([global_symbol_to_c_name_addres
590 _LT_DECL([global_symbol_to_c_name_address_lib_prefix], 590 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
591 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], 591 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
592 [Transform the output of nm in a C name address pair when lib prefix is needed]) 592 [Transform the output of nm in a C name address pair when lib prefix is needed])
@@ -595,7 +595,7 @@ Index: binutils-2.21/libtool.m4
595 ]) # _LT_CMD_GLOBAL_SYMBOLS 595 ]) # _LT_CMD_GLOBAL_SYMBOLS
596 596
597 597
598@@ -3563,7 +3812,6 @@ 598@@ -3563,7 +3812,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)=
599 _LT_TAGVAR(lt_prog_compiler_pic, $1)= 599 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
600 _LT_TAGVAR(lt_prog_compiler_static, $1)= 600 _LT_TAGVAR(lt_prog_compiler_static, $1)=
601 601
@@ -603,7 +603,7 @@ Index: binutils-2.21/libtool.m4
603 m4_if([$1], [CXX], [ 603 m4_if([$1], [CXX], [
604 # C++ specific cases for pic, static, wl, etc. 604 # C++ specific cases for pic, static, wl, etc.
605 if test "$GXX" = yes; then 605 if test "$GXX" = yes; then
606@@ -3668,6 +3916,12 @@ 606@@ -3668,6 +3916,12 @@ m4_if([$1], [CXX], [
607 ;; 607 ;;
608 esac 608 esac
609 ;; 609 ;;
@@ -616,7 +616,7 @@ Index: binutils-2.21/libtool.m4
616 dgux*) 616 dgux*)
617 case $cc_basename in 617 case $cc_basename in
618 ec++*) 618 ec++*)
619@@ -3820,7 +4074,7 @@ 619@@ -3820,7 +4074,7 @@ m4_if([$1], [CXX], [
620 ;; 620 ;;
621 solaris*) 621 solaris*)
622 case $cc_basename in 622 case $cc_basename in
@@ -625,7 +625,7 @@ Index: binutils-2.21/libtool.m4
625 # Sun C++ 4.2, 5.x and Centerline C++ 625 # Sun C++ 4.2, 5.x and Centerline C++
626 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 626 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
627 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 627 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
628@@ -4042,6 +4296,12 @@ 628@@ -4042,6 +4296,12 @@ m4_if([$1], [CXX], [
629 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' 629 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
630 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' 630 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
631 ;; 631 ;;
@@ -638,7 +638,7 @@ Index: binutils-2.21/libtool.m4
638 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 638 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
639 # Portland Group compilers (*not* the Pentium gcc compiler, 639 # Portland Group compilers (*not* the Pentium gcc compiler,
640 # which looks to be a dead project) 640 # which looks to be a dead project)
641@@ -4104,7 +4364,7 @@ 641@@ -4104,7 +4364,7 @@ m4_if([$1], [CXX], [
642 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 642 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
643 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 643 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
644 case $cc_basename in 644 case $cc_basename in
@@ -647,7 +647,7 @@ Index: binutils-2.21/libtool.m4
647 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; 647 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
648 *) 648 *)
649 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; 649 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
650@@ -4161,9 +4421,11 @@ 650@@ -4161,9 +4421,11 @@ case $host_os in
651 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" 651 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
652 ;; 652 ;;
653 esac 653 esac
@@ -662,7 +662,7 @@ Index: binutils-2.21/libtool.m4
662 662
663 # 663 #
664 # Check to make sure the PIC flag actually works. 664 # Check to make sure the PIC flag actually works.
665@@ -4182,6 +4444,8 @@ 665@@ -4182,6 +4444,8 @@ fi
666 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], 666 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
667 [Additional compiler flags for building library objects]) 667 [Additional compiler flags for building library objects])
668 668
@@ -671,7 +671,7 @@ Index: binutils-2.21/libtool.m4
671 # 671 #
672 # Check to make sure the static flag actually works. 672 # Check to make sure the static flag actually works.
673 # 673 #
674@@ -4202,6 +4466,7 @@ 674@@ -4202,6 +4466,7 @@ _LT_TAGDECL([link_static_flag], [lt_prog
675 m4_defun([_LT_LINKER_SHLIBS], 675 m4_defun([_LT_LINKER_SHLIBS],
676 [AC_REQUIRE([LT_PATH_LD])dnl 676 [AC_REQUIRE([LT_PATH_LD])dnl
677 AC_REQUIRE([LT_PATH_NM])dnl 677 AC_REQUIRE([LT_PATH_NM])dnl
@@ -679,7 +679,7 @@ Index: binutils-2.21/libtool.m4
679 m4_require([_LT_FILEUTILS_DEFAULTS])dnl 679 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
680 m4_require([_LT_DECL_EGREP])dnl 680 m4_require([_LT_DECL_EGREP])dnl
681 m4_require([_LT_DECL_SED])dnl 681 m4_require([_LT_DECL_SED])dnl
682@@ -4210,6 +4475,7 @@ 682@@ -4210,6 +4475,7 @@ m4_require([_LT_TAG_COMPILER])dnl
683 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 683 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
684 m4_if([$1], [CXX], [ 684 m4_if([$1], [CXX], [
685 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 685 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
@@ -687,7 +687,7 @@ Index: binutils-2.21/libtool.m4
687 case $host_os in 687 case $host_os in
688 aix[[4-9]]*) 688 aix[[4-9]]*)
689 # If we're using GNU nm, then we don't want the "-C" option. 689 # If we're using GNU nm, then we don't want the "-C" option.
690@@ -4224,15 +4490,20 @@ 690@@ -4224,15 +4490,20 @@ m4_if([$1], [CXX], [
691 ;; 691 ;;
692 pw32*) 692 pw32*)
693 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 693 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
@@ -713,7 +713,7 @@ Index: binutils-2.21/libtool.m4
713 ], [ 713 ], [
714 runpath_var= 714 runpath_var=
715 _LT_TAGVAR(allow_undefined_flag, $1)= 715 _LT_TAGVAR(allow_undefined_flag, $1)=
716@@ -4400,7 +4671,8 @@ 716@@ -4400,7 +4671,8 @@ _LT_EOF
717 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported 717 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
718 _LT_TAGVAR(always_export_symbols, $1)=no 718 _LT_TAGVAR(always_export_symbols, $1)=no
719 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes 719 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
@@ -723,7 +723,7 @@ Index: binutils-2.21/libtool.m4
723 723
724 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 724 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
725 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 725 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
726@@ -4448,7 +4720,7 @@ 726@@ -4448,7 +4720,7 @@ _LT_EOF
727 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 727 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
728 && test "$tmp_diet" = no 728 && test "$tmp_diet" = no
729 then 729 then
@@ -732,7 +732,7 @@ Index: binutils-2.21/libtool.m4
732 tmp_sharedflag='-shared' 732 tmp_sharedflag='-shared'
733 case $cc_basename,$host_cpu in 733 case $cc_basename,$host_cpu in
734 pgcc*) # Portland Group C compiler 734 pgcc*) # Portland Group C compiler
735@@ -4499,12 +4771,12 @@ 735@@ -4499,12 +4771,12 @@ _LT_EOF
736 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' 736 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
737 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= 737 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
738 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' 738 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
@@ -747,7 +747,7 @@ Index: binutils-2.21/libtool.m4
747 fi 747 fi
748 ;; 748 ;;
749 esac 749 esac
750@@ -4518,8 +4790,8 @@ 750@@ -4518,8 +4790,8 @@ _LT_EOF
751 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 751 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
752 wlarc= 752 wlarc=
753 else 753 else
@@ -758,7 +758,7 @@ Index: binutils-2.21/libtool.m4
758 fi 758 fi
759 ;; 759 ;;
760 760
761@@ -4537,8 +4809,8 @@ 761@@ -4537,8 +4809,8 @@ _LT_EOF
762 762
763 _LT_EOF 763 _LT_EOF
764 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 764 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -769,7 +769,7 @@ Index: binutils-2.21/libtool.m4
769 else 769 else
770 _LT_TAGVAR(ld_shlibs, $1)=no 770 _LT_TAGVAR(ld_shlibs, $1)=no
771 fi 771 fi
772@@ -4584,8 +4856,8 @@ 772@@ -4584,8 +4856,8 @@ _LT_EOF
773 773
774 *) 774 *)
775 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 775 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -780,7 +780,7 @@ Index: binutils-2.21/libtool.m4
780 else 780 else
781 _LT_TAGVAR(ld_shlibs, $1)=no 781 _LT_TAGVAR(ld_shlibs, $1)=no
782 fi 782 fi
783@@ -4715,7 +4987,7 @@ 783@@ -4715,7 +4987,7 @@ _LT_EOF
784 _LT_TAGVAR(allow_undefined_flag, $1)='-berok' 784 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
785 # Determine the default libpath from the value encoded in an 785 # Determine the default libpath from the value encoded in an
786 # empty executable. 786 # empty executable.
@@ -789,7 +789,7 @@ Index: binutils-2.21/libtool.m4
789 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 789 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
790 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 790 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
791 else 791 else
792@@ -4726,7 +4998,7 @@ 792@@ -4726,7 +4998,7 @@ _LT_EOF
793 else 793 else
794 # Determine the default libpath from the value encoded in an 794 # Determine the default libpath from the value encoded in an
795 # empty executable. 795 # empty executable.
@@ -798,7 +798,7 @@ Index: binutils-2.21/libtool.m4
798 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 798 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
799 # Warning - without using the other run time loading flags, 799 # Warning - without using the other run time loading flags,
800 # -berok will link without error, but may produce a broken library. 800 # -berok will link without error, but may produce a broken library.
801@@ -4770,20 +5042,63 @@ 801@@ -4770,20 +5042,63 @@ _LT_EOF
802 # Microsoft Visual C++. 802 # Microsoft Visual C++.
803 # hardcode_libdir_flag_spec is actually meaningless, as there is 803 # hardcode_libdir_flag_spec is actually meaningless, as there is
804 # no search path for DLLs. 804 # no search path for DLLs.
@@ -876,7 +876,7 @@ Index: binutils-2.21/libtool.m4
876 ;; 876 ;;
877 877
878 darwin* | rhapsody*) 878 darwin* | rhapsody*)
879@@ -4821,7 +5136,7 @@ 879@@ -4821,7 +5136,7 @@ _LT_EOF
880 880
881 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 881 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
882 freebsd* | dragonfly*) 882 freebsd* | dragonfly*)
@@ -885,7 +885,7 @@ Index: binutils-2.21/libtool.m4
885 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' 885 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
886 _LT_TAGVAR(hardcode_direct, $1)=yes 886 _LT_TAGVAR(hardcode_direct, $1)=yes
887 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no 887 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
888@@ -4829,7 +5144,7 @@ 888@@ -4829,7 +5144,7 @@ _LT_EOF
889 889
890 hpux9*) 890 hpux9*)
891 if test "$GCC" = yes; then 891 if test "$GCC" = yes; then
@@ -894,7 +894,7 @@ Index: binutils-2.21/libtool.m4
894 else 894 else
895 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 895 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
896 fi 896 fi
897@@ -4845,7 +5160,7 @@ 897@@ -4845,7 +5160,7 @@ _LT_EOF
898 898
899 hpux10*) 899 hpux10*)
900 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 900 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -903,7 +903,7 @@ Index: binutils-2.21/libtool.m4
903 else 903 else
904 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 904 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
905 fi 905 fi
906@@ -4869,10 +5184,10 @@ 906@@ -4869,10 +5184,10 @@ _LT_EOF
907 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 907 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
908 ;; 908 ;;
909 ia64*) 909 ia64*)
@@ -916,7 +916,7 @@ Index: binutils-2.21/libtool.m4
916 ;; 916 ;;
917 esac 917 esac
918 else 918 else
919@@ -4919,16 +5234,31 @@ 919@@ -4919,16 +5234,31 @@ _LT_EOF
920 920
921 irix5* | irix6* | nonstopux*) 921 irix5* | irix6* | nonstopux*)
922 if test "$GCC" = yes; then 922 if test "$GCC" = yes; then
@@ -955,7 +955,7 @@ Index: binutils-2.21/libtool.m4
955 else 955 else
956 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 956 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
957 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 957 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
958@@ -5013,7 +5343,7 @@ 958@@ -5013,7 +5343,7 @@ _LT_EOF
959 osf4* | osf5*) # as osf3* with the addition of -msym flag 959 osf4* | osf5*) # as osf3* with the addition of -msym flag
960 if test "$GCC" = yes; then 960 if test "$GCC" = yes; then
961 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' 961 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
@@ -964,7 +964,7 @@ Index: binutils-2.21/libtool.m4
964 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 964 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
965 else 965 else
966 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' 966 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
967@@ -5032,9 +5362,9 @@ 967@@ -5032,9 +5362,9 @@ _LT_EOF
968 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' 968 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
969 if test "$GCC" = yes; then 969 if test "$GCC" = yes; then
970 wlarc='${wl}' 970 wlarc='${wl}'
@@ -976,7 +976,7 @@ Index: binutils-2.21/libtool.m4
976 else 976 else
977 case `$CC -V 2>&1` in 977 case `$CC -V 2>&1` in
978 *"Compilers 5.0"*) 978 *"Compilers 5.0"*)
979@@ -5306,8 +5636,6 @@ 979@@ -5306,8 +5636,6 @@ _LT_TAGDECL([], [inherit_rpath], [0],
980 to runtime path list]) 980 to runtime path list])
981 _LT_TAGDECL([], [link_all_deplibs], [0], 981 _LT_TAGDECL([], [link_all_deplibs], [0],
982 [Whether libtool must link a program against all its dependency libraries]) 982 [Whether libtool must link a program against all its dependency libraries])
@@ -985,7 +985,7 @@ Index: binutils-2.21/libtool.m4
985 _LT_TAGDECL([], [always_export_symbols], [0], 985 _LT_TAGDECL([], [always_export_symbols], [0],
986 [Set to "yes" if exported symbols are required]) 986 [Set to "yes" if exported symbols are required])
987 _LT_TAGDECL([], [export_symbols_cmds], [2], 987 _LT_TAGDECL([], [export_symbols_cmds], [2],
988@@ -5318,6 +5646,8 @@ 988@@ -5318,6 +5646,8 @@ _LT_TAGDECL([], [include_expsyms], [1],
989 [Symbols that must always be exported]) 989 [Symbols that must always be exported])
990 _LT_TAGDECL([], [prelink_cmds], [2], 990 _LT_TAGDECL([], [prelink_cmds], [2],
991 [Commands necessary for linking programs (against libraries) with templates]) 991 [Commands necessary for linking programs (against libraries) with templates])
@@ -994,7 +994,7 @@ Index: binutils-2.21/libtool.m4
994 _LT_TAGDECL([], [file_list_spec], [1], 994 _LT_TAGDECL([], [file_list_spec], [1],
995 [Specify filename containing input files]) 995 [Specify filename containing input files])
996 dnl FIXME: Not yet implemented 996 dnl FIXME: Not yet implemented
997@@ -5419,6 +5749,7 @@ 997@@ -5419,6 +5749,7 @@ CC="$lt_save_CC"
998 m4_defun([_LT_LANG_CXX_CONFIG], 998 m4_defun([_LT_LANG_CXX_CONFIG],
999 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 999 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1000 m4_require([_LT_DECL_EGREP])dnl 1000 m4_require([_LT_DECL_EGREP])dnl
@@ -1002,7 +1002,7 @@ Index: binutils-2.21/libtool.m4
1002 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 1002 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1003 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 1003 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1004 (test "X$CXX" != "Xg++"))) ; then 1004 (test "X$CXX" != "Xg++"))) ; then
1005@@ -5480,6 +5811,7 @@ 1005@@ -5480,6 +5811,7 @@ if test "$_lt_caught_CXX_error" != yes;
1006 1006
1007 # Allow CC to be a program name with arguments. 1007 # Allow CC to be a program name with arguments.
1008 lt_save_CC=$CC 1008 lt_save_CC=$CC
@@ -1010,7 +1010,7 @@ Index: binutils-2.21/libtool.m4
1010 lt_save_LD=$LD 1010 lt_save_LD=$LD
1011 lt_save_GCC=$GCC 1011 lt_save_GCC=$GCC
1012 GCC=$GXX 1012 GCC=$GXX
1013@@ -5497,6 +5829,7 @@ 1013@@ -5497,6 +5829,7 @@ if test "$_lt_caught_CXX_error" != yes;
1014 fi 1014 fi
1015 test -z "${LDCXX+set}" || LD=$LDCXX 1015 test -z "${LDCXX+set}" || LD=$LDCXX
1016 CC=${CXX-"c++"} 1016 CC=${CXX-"c++"}
@@ -1018,7 +1018,7 @@ Index: binutils-2.21/libtool.m4
1018 compiler=$CC 1018 compiler=$CC
1019 _LT_TAGVAR(compiler, $1)=$CC 1019 _LT_TAGVAR(compiler, $1)=$CC
1020 _LT_CC_BASENAME([$compiler]) 1020 _LT_CC_BASENAME([$compiler])
1021@@ -5518,8 +5851,8 @@ 1021@@ -5518,8 +5851,8 @@ if test "$_lt_caught_CXX_error" != yes;
1022 # Check if GNU C++ uses GNU ld as the underlying linker, since the 1022 # Check if GNU C++ uses GNU ld as the underlying linker, since the
1023 # archiving commands below assume that GNU ld is being used. 1023 # archiving commands below assume that GNU ld is being used.
1024 if test "$with_gnu_ld" = yes; then 1024 if test "$with_gnu_ld" = yes; then
@@ -1029,7 +1029,7 @@ Index: binutils-2.21/libtool.m4
1029 1029
1030 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' 1030 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
1031 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 1031 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
1032@@ -5660,7 +5993,7 @@ 1032@@ -5660,7 +5993,7 @@ if test "$_lt_caught_CXX_error" != yes;
1033 _LT_TAGVAR(allow_undefined_flag, $1)='-berok' 1033 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
1034 # Determine the default libpath from the value encoded in an empty 1034 # Determine the default libpath from the value encoded in an empty
1035 # executable. 1035 # executable.
@@ -1038,7 +1038,7 @@ Index: binutils-2.21/libtool.m4
1038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1038 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1039 1039
1040 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 1040 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1041@@ -5672,7 +6005,7 @@ 1041@@ -5672,7 +6005,7 @@ if test "$_lt_caught_CXX_error" != yes;
1042 else 1042 else
1043 # Determine the default libpath from the value encoded in an 1043 # Determine the default libpath from the value encoded in an
1044 # empty executable. 1044 # empty executable.
@@ -1047,7 +1047,7 @@ Index: binutils-2.21/libtool.m4
1047 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" 1047 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1048 # Warning - without using the other run time loading flags, 1048 # Warning - without using the other run time loading flags,
1049 # -berok will link without error, but may produce a broken library. 1049 # -berok will link without error, but may produce a broken library.
1050@@ -5714,29 +6047,75 @@ 1050@@ -5714,29 +6047,75 @@ if test "$_lt_caught_CXX_error" != yes;
1051 ;; 1051 ;;
1052 1052
1053 cygwin* | mingw* | pw32* | cegcc*) 1053 cygwin* | mingw* | pw32* | cegcc*)
@@ -1146,7 +1146,7 @@ Index: binutils-2.21/libtool.m4
1146 darwin* | rhapsody*) 1146 darwin* | rhapsody*)
1147 _LT_DARWIN_LINKER_FEATURES($1) 1147 _LT_DARWIN_LINKER_FEATURES($1)
1148 ;; 1148 ;;
1149@@ -5811,7 +6190,7 @@ 1149@@ -5811,7 +6190,7 @@ if test "$_lt_caught_CXX_error" != yes;
1150 ;; 1150 ;;
1151 *) 1151 *)
1152 if test "$GXX" = yes; then 1152 if test "$GXX" = yes; then
@@ -1155,7 +1155,7 @@ Index: binutils-2.21/libtool.m4
1155 else 1155 else
1156 # FIXME: insert proper C++ library support 1156 # FIXME: insert proper C++ library support
1157 _LT_TAGVAR(ld_shlibs, $1)=no 1157 _LT_TAGVAR(ld_shlibs, $1)=no
1158@@ -5882,10 +6261,10 @@ 1158@@ -5882,10 +6261,10 @@ if test "$_lt_caught_CXX_error" != yes;
1159 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 1159 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1160 ;; 1160 ;;
1161 ia64*) 1161 ia64*)
@@ -1168,7 +1168,7 @@ Index: binutils-2.21/libtool.m4
1168 ;; 1168 ;;
1169 esac 1169 esac
1170 fi 1170 fi
1171@@ -5926,9 +6305,9 @@ 1171@@ -5926,9 +6305,9 @@ if test "$_lt_caught_CXX_error" != yes;
1172 *) 1172 *)
1173 if test "$GXX" = yes; then 1173 if test "$GXX" = yes; then
1174 if test "$with_gnu_ld" = no; then 1174 if test "$with_gnu_ld" = no; then
@@ -1180,7 +1180,7 @@ Index: binutils-2.21/libtool.m4
1180 fi 1180 fi
1181 fi 1181 fi
1182 _LT_TAGVAR(link_all_deplibs, $1)=yes 1182 _LT_TAGVAR(link_all_deplibs, $1)=yes
1183@@ -5998,20 +6377,20 @@ 1183@@ -5998,20 +6377,20 @@ if test "$_lt_caught_CXX_error" != yes;
1184 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ 1184 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
1185 rm -rf $tpldir~ 1185 rm -rf $tpldir~
1186 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 1186 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
@@ -1205,7 +1205,7 @@ Index: binutils-2.21/libtool.m4
1205 ;; 1205 ;;
1206 *) # Version 6 and above use weak symbols 1206 *) # Version 6 and above use weak symbols
1207 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 1207 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1208@@ -6206,7 +6585,7 @@ 1208@@ -6206,7 +6585,7 @@ if test "$_lt_caught_CXX_error" != yes;
1209 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 1209 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1210 ;; 1210 ;;
1211 *) 1211 *)
@@ -1214,7 +1214,7 @@ Index: binutils-2.21/libtool.m4
1214 ;; 1214 ;;
1215 esac 1215 esac
1216 1216
1217@@ -6252,7 +6631,7 @@ 1217@@ -6252,7 +6631,7 @@ if test "$_lt_caught_CXX_error" != yes;
1218 1218
1219 solaris*) 1219 solaris*)
1220 case $cc_basename in 1220 case $cc_basename in
@@ -1223,7 +1223,7 @@ Index: binutils-2.21/libtool.m4
1223 # Sun C++ 4.2, 5.x and Centerline C++ 1223 # Sun C++ 4.2, 5.x and Centerline C++
1224 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes 1224 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
1225 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' 1225 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
1226@@ -6293,9 +6672,9 @@ 1226@@ -6293,9 +6672,9 @@ if test "$_lt_caught_CXX_error" != yes;
1227 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 1227 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1228 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' 1228 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
1229 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 1229 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
@@ -1235,7 +1235,7 @@ Index: binutils-2.21/libtool.m4
1235 1235
1236 # Commands to make compiler produce verbose output that lists 1236 # Commands to make compiler produce verbose output that lists
1237 # what "hidden" libraries, object files and flags are used when 1237 # what "hidden" libraries, object files and flags are used when
1238@@ -6424,6 +6803,7 @@ 1238@@ -6424,6 +6803,7 @@ if test "$_lt_caught_CXX_error" != yes;
1239 fi # test -n "$compiler" 1239 fi # test -n "$compiler"
1240 1240
1241 CC=$lt_save_CC 1241 CC=$lt_save_CC
@@ -1243,7 +1243,7 @@ Index: binutils-2.21/libtool.m4
1243 LDCXX=$LD 1243 LDCXX=$LD
1244 LD=$lt_save_LD 1244 LD=$lt_save_LD
1245 GCC=$lt_save_GCC 1245 GCC=$lt_save_GCC
1246@@ -6438,6 +6818,29 @@ 1246@@ -6438,6 +6818,29 @@ AC_LANG_POP
1247 ])# _LT_LANG_CXX_CONFIG 1247 ])# _LT_LANG_CXX_CONFIG
1248 1248
1249 1249
@@ -1273,7 +1273,7 @@ Index: binutils-2.21/libtool.m4
1273 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) 1273 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
1274 # --------------------------------- 1274 # ---------------------------------
1275 # Figure out "hidden" library dependencies from verbose 1275 # Figure out "hidden" library dependencies from verbose
1276@@ -6446,6 +6849,7 @@ 1276@@ -6446,6 +6849,7 @@ AC_LANG_POP
1277 # objects, libraries and library flags. 1277 # objects, libraries and library flags.
1278 m4_defun([_LT_SYS_HIDDEN_LIBDEPS], 1278 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
1279 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 1279 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
@@ -1281,7 +1281,7 @@ Index: binutils-2.21/libtool.m4
1281 # Dependencies to place before and after the object being linked: 1281 # Dependencies to place before and after the object being linked:
1282 _LT_TAGVAR(predep_objects, $1)= 1282 _LT_TAGVAR(predep_objects, $1)=
1283 _LT_TAGVAR(postdep_objects, $1)= 1283 _LT_TAGVAR(postdep_objects, $1)=
1284@@ -6496,6 +6900,13 @@ 1284@@ -6496,6 +6900,13 @@ public class foo {
1285 }; 1285 };
1286 _LT_EOF 1286 _LT_EOF
1287 ]) 1287 ])
@@ -1295,7 +1295,7 @@ Index: binutils-2.21/libtool.m4
1295 dnl Parse the compiler output and extract the necessary 1295 dnl Parse the compiler output and extract the necessary
1296 dnl objects, libraries and library flags. 1296 dnl objects, libraries and library flags.
1297 if AC_TRY_EVAL(ac_compile); then 1297 if AC_TRY_EVAL(ac_compile); then
1298@@ -6507,7 +6918,7 @@ 1298@@ -6507,7 +6918,7 @@ if AC_TRY_EVAL(ac_compile); then
1299 pre_test_object_deps_done=no 1299 pre_test_object_deps_done=no
1300 1300
1301 for p in `eval "$output_verbose_link_cmd"`; do 1301 for p in `eval "$output_verbose_link_cmd"`; do
@@ -1304,7 +1304,7 @@ Index: binutils-2.21/libtool.m4
1304 1304
1305 -L* | -R* | -l*) 1305 -L* | -R* | -l*)
1306 # Some compilers place space between "-{L,R}" and the path. 1306 # Some compilers place space between "-{L,R}" and the path.
1307@@ -6516,13 +6927,22 @@ 1307@@ -6516,13 +6927,22 @@ if AC_TRY_EVAL(ac_compile); then
1308 test $p = "-R"; then 1308 test $p = "-R"; then
1309 prev=$p 1309 prev=$p
1310 continue 1310 continue
@@ -1331,7 +1331,7 @@ Index: binutils-2.21/libtool.m4
1331 # Internal compiler library paths should come after those 1331 # Internal compiler library paths should come after those
1332 # provided the user. The postdeps already come after the 1332 # provided the user. The postdeps already come after the
1333 # user supplied libs so there is no need to process them. 1333 # user supplied libs so there is no need to process them.
1334@@ -6542,8 +6962,10 @@ 1334@@ -6542,8 +6962,10 @@ if AC_TRY_EVAL(ac_compile); then
1335 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" 1335 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
1336 fi 1336 fi
1337 fi 1337 fi
@@ -1342,7 +1342,7 @@ Index: binutils-2.21/libtool.m4
1342 *.$objext) 1342 *.$objext)
1343 # This assumes that the test object file only shows up 1343 # This assumes that the test object file only shows up
1344 # once in the compiler output. 1344 # once in the compiler output.
1345@@ -6579,6 +7001,7 @@ 1345@@ -6579,6 +7001,7 @@ else
1346 fi 1346 fi
1347 1347
1348 $RM -f confest.$objext 1348 $RM -f confest.$objext
@@ -1350,7 +1350,7 @@ Index: binutils-2.21/libtool.m4
1350 1350
1351 # PORTME: override above test on systems where it is broken 1351 # PORTME: override above test on systems where it is broken
1352 m4_if([$1], [CXX], 1352 m4_if([$1], [CXX],
1353@@ -6615,7 +7038,7 @@ 1353@@ -6615,7 +7038,7 @@ linux*)
1354 1354
1355 solaris*) 1355 solaris*)
1356 case $cc_basename in 1356 case $cc_basename in
@@ -1359,7 +1359,7 @@ Index: binutils-2.21/libtool.m4
1359 # The more standards-conforming stlport4 library is 1359 # The more standards-conforming stlport4 library is
1360 # incompatible with the Cstd library. Avoid specifying 1360 # incompatible with the Cstd library. Avoid specifying
1361 # it if it's in CXXFLAGS. Ignore libCrun as 1361 # it if it's in CXXFLAGS. Ignore libCrun as
1362@@ -6728,7 +7151,9 @@ 1362@@ -6728,7 +7151,9 @@ if test "$_lt_disable_F77" != yes; then
1363 # Allow CC to be a program name with arguments. 1363 # Allow CC to be a program name with arguments.
1364 lt_save_CC="$CC" 1364 lt_save_CC="$CC"
1365 lt_save_GCC=$GCC 1365 lt_save_GCC=$GCC
@@ -1369,7 +1369,7 @@ Index: binutils-2.21/libtool.m4
1369 compiler=$CC 1369 compiler=$CC
1370 _LT_TAGVAR(compiler, $1)=$CC 1370 _LT_TAGVAR(compiler, $1)=$CC
1371 _LT_CC_BASENAME([$compiler]) 1371 _LT_CC_BASENAME([$compiler])
1372@@ -6782,6 +7207,7 @@ 1372@@ -6782,6 +7207,7 @@ if test "$_lt_disable_F77" != yes; then
1373 1373
1374 GCC=$lt_save_GCC 1374 GCC=$lt_save_GCC
1375 CC="$lt_save_CC" 1375 CC="$lt_save_CC"
@@ -1377,7 +1377,7 @@ Index: binutils-2.21/libtool.m4
1377 fi # test "$_lt_disable_F77" != yes 1377 fi # test "$_lt_disable_F77" != yes
1378 1378
1379 AC_LANG_POP 1379 AC_LANG_POP
1380@@ -6858,7 +7284,9 @@ 1380@@ -6858,7 +7284,9 @@ if test "$_lt_disable_FC" != yes; then
1381 # Allow CC to be a program name with arguments. 1381 # Allow CC to be a program name with arguments.
1382 lt_save_CC="$CC" 1382 lt_save_CC="$CC"
1383 lt_save_GCC=$GCC 1383 lt_save_GCC=$GCC
@@ -1387,7 +1387,7 @@ Index: binutils-2.21/libtool.m4
1387 compiler=$CC 1387 compiler=$CC
1388 GCC=$ac_cv_fc_compiler_gnu 1388 GCC=$ac_cv_fc_compiler_gnu
1389 1389
1390@@ -6914,7 +7342,8 @@ 1390@@ -6914,7 +7342,8 @@ if test "$_lt_disable_FC" != yes; then
1391 fi # test -n "$compiler" 1391 fi # test -n "$compiler"
1392 1392
1393 GCC=$lt_save_GCC 1393 GCC=$lt_save_GCC
@@ -1397,7 +1397,7 @@ Index: binutils-2.21/libtool.m4
1397 fi # test "$_lt_disable_FC" != yes 1397 fi # test "$_lt_disable_FC" != yes
1398 1398
1399 AC_LANG_POP 1399 AC_LANG_POP
1400@@ -6951,10 +7380,12 @@ 1400@@ -6951,10 +7380,12 @@ _LT_COMPILER_BOILERPLATE
1401 _LT_LINKER_BOILERPLATE 1401 _LT_LINKER_BOILERPLATE
1402 1402
1403 # Allow CC to be a program name with arguments. 1403 # Allow CC to be a program name with arguments.
@@ -1411,7 +1411,7 @@ Index: binutils-2.21/libtool.m4
1411 compiler=$CC 1411 compiler=$CC
1412 _LT_TAGVAR(compiler, $1)=$CC 1412 _LT_TAGVAR(compiler, $1)=$CC
1413 _LT_TAGVAR(LD, $1)="$LD" 1413 _LT_TAGVAR(LD, $1)="$LD"
1414@@ -6985,7 +7416,8 @@ 1414@@ -6985,7 +7416,8 @@ fi
1415 AC_LANG_RESTORE 1415 AC_LANG_RESTORE
1416 1416
1417 GCC=$lt_save_GCC 1417 GCC=$lt_save_GCC
@@ -1421,7 +1421,7 @@ Index: binutils-2.21/libtool.m4
1421 ])# _LT_LANG_GCJ_CONFIG 1421 ])# _LT_LANG_GCJ_CONFIG
1422 1422
1423 1423
1424@@ -7020,9 +7452,11 @@ 1424@@ -7020,9 +7452,11 @@ _LT_LINKER_BOILERPLATE
1425 1425
1426 # Allow CC to be a program name with arguments. 1426 # Allow CC to be a program name with arguments.
1427 lt_save_CC="$CC" 1427 lt_save_CC="$CC"
@@ -1433,7 +1433,7 @@ Index: binutils-2.21/libtool.m4
1433 compiler=$CC 1433 compiler=$CC
1434 _LT_TAGVAR(compiler, $1)=$CC 1434 _LT_TAGVAR(compiler, $1)=$CC
1435 _LT_CC_BASENAME([$compiler]) 1435 _LT_CC_BASENAME([$compiler])
1436@@ -7035,7 +7469,8 @@ 1436@@ -7035,7 +7469,8 @@ fi
1437 1437
1438 GCC=$lt_save_GCC 1438 GCC=$lt_save_GCC
1439 AC_LANG_RESTORE 1439 AC_LANG_RESTORE
@@ -1443,7 +1443,7 @@ Index: binutils-2.21/libtool.m4
1443 ])# _LT_LANG_RC_CONFIG 1443 ])# _LT_LANG_RC_CONFIG
1444 1444
1445 1445
1446@@ -7094,6 +7529,15 @@ 1446@@ -7094,6 +7529,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object
1447 AC_SUBST([OBJDUMP]) 1447 AC_SUBST([OBJDUMP])
1448 ]) 1448 ])
1449 1449
@@ -1459,7 +1459,7 @@ Index: binutils-2.21/libtool.m4
1459 1459
1460 # _LT_DECL_SED 1460 # _LT_DECL_SED
1461 # ------------ 1461 # ------------
1462@@ -7187,8 +7631,8 @@ 1462@@ -7187,8 +7631,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES],
1463 # Try some XSI features 1463 # Try some XSI features
1464 xsi_shell=no 1464 xsi_shell=no
1465 ( _lt_dummy="a/b/c" 1465 ( _lt_dummy="a/b/c"
@@ -1470,7 +1470,7 @@ Index: binutils-2.21/libtool.m4
1470 && eval 'test $(( 1 + 1 )) -eq 2 \ 1470 && eval 'test $(( 1 + 1 )) -eq 2 \
1471 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 1471 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
1472 && xsi_shell=yes 1472 && xsi_shell=yes
1473@@ -7227,206 +7671,162 @@ 1473@@ -7227,206 +7671,162 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn
1474 ])# _LT_CHECK_SHELL_FEATURES 1474 ])# _LT_CHECK_SHELL_FEATURES
1475 1475
1476 1476
@@ -1823,10 +1823,10 @@ Index: binutils-2.21/libtool.m4
1823+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], 1823+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
1824+ [0], [convert $build files to toolchain format])dnl 1824+ [0], [convert $build files to toolchain format])dnl
1825+])# _LT_PATH_CONVERSION_FUNCTIONS 1825+])# _LT_PATH_CONVERSION_FUNCTIONS
1826Index: binutils-2.21/ltmain.sh 1826Index: binutils-2.21.1/ltmain.sh
1827=================================================================== 1827===================================================================
1828--- binutils-2.21.orig/ltmain.sh 2010-01-09 13:11:32.000000000 -0800 1828--- binutils-2.21.1.orig/ltmain.sh
1829+++ binutils-2.21/ltmain.sh 2011-01-07 10:49:16.406101000 -0800 1829+++ binutils-2.21.1/ltmain.sh
1830@@ -1,10 +1,9 @@ 1830@@ -1,10 +1,9 @@
1831-# Generated from ltmain.m4sh. 1831-# Generated from ltmain.m4sh.
1832 1832
@@ -1872,7 +1872,7 @@ Index: binutils-2.21/ltmain.sh
1872 1872
1873 # Be Bourne compatible 1873 # Be Bourne compatible
1874 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1874 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1875@@ -106,9 +106,6 @@ 1875@@ -106,9 +106,6 @@ _LTECHO_EOF'
1876 } 1876 }
1877 1877
1878 # NLS nuisances: We save the old values to restore during execute mode. 1878 # NLS nuisances: We save the old values to restore during execute mode.
@@ -1882,7 +1882,7 @@ Index: binutils-2.21/ltmain.sh
1882 lt_user_locale= 1882 lt_user_locale=
1883 lt_safe_locale= 1883 lt_safe_locale=
1884 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES 1884 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
1885@@ -121,15 +118,13 @@ 1885@@ -121,15 +118,13 @@ do
1886 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" 1886 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
1887 fi" 1887 fi"
1888 done 1888 done
@@ -1901,7 +1901,7 @@ Index: binutils-2.21/ltmain.sh
1901 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh 1901 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
1902 # is ksh but when the shell is invoked as "sh" and the current value of 1902 # is ksh but when the shell is invoked as "sh" and the current value of
1903 # the _XPG environment variable is not equal to 1 (one), the special 1903 # the _XPG environment variable is not equal to 1 (one), the special
1904@@ -140,7 +135,7 @@ 1904@@ -140,7 +135,7 @@ progpath="$0"
1905 1905
1906 1906
1907 : ${CP="cp -f"} 1907 : ${CP="cp -f"}
@@ -1910,7 +1910,7 @@ Index: binutils-2.21/ltmain.sh
1910 : ${EGREP="/bin/grep -E"} 1910 : ${EGREP="/bin/grep -E"}
1911 : ${FGREP="/bin/grep -F"} 1911 : ${FGREP="/bin/grep -F"}
1912 : ${GREP="/bin/grep"} 1912 : ${GREP="/bin/grep"}
1913@@ -149,7 +144,7 @@ 1913@@ -149,7 +144,7 @@ progpath="$0"
1914 : ${MKDIR="mkdir"} 1914 : ${MKDIR="mkdir"}
1915 : ${MV="mv -f"} 1915 : ${MV="mv -f"}
1916 : ${RM="rm -f"} 1916 : ${RM="rm -f"}
@@ -1919,7 +1919,7 @@ Index: binutils-2.21/ltmain.sh
1919 : ${SHELL="${CONFIG_SHELL-/bin/sh}"} 1919 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
1920 : ${Xsed="$SED -e 1s/^X//"} 1920 : ${Xsed="$SED -e 1s/^X//"}
1921 1921
1922@@ -169,6 +164,27 @@ 1922@@ -169,6 +164,27 @@ IFS=" $lt_nl"
1923 dirname="s,/[^/]*$,," 1923 dirname="s,/[^/]*$,,"
1924 basename="s,^.*/,," 1924 basename="s,^.*/,,"
1925 1925
@@ -1947,7 +1947,7 @@ Index: binutils-2.21/ltmain.sh
1947 # func_dirname_and_basename file append nondir_replacement 1947 # func_dirname_and_basename file append nondir_replacement
1948 # perform func_basename and func_dirname in a single function 1948 # perform func_basename and func_dirname in a single function
1949 # call: 1949 # call:
1950@@ -183,17 +199,31 @@ 1950@@ -183,17 +199,31 @@ basename="s,^.*/,,"
1951 # those functions but instead duplicate the functionality here. 1951 # those functions but instead duplicate the functionality here.
1952 func_dirname_and_basename () 1952 func_dirname_and_basename ()
1953 { 1953 {
@@ -1989,7 +1989,7 @@ Index: binutils-2.21/ltmain.sh
1989 1989
1990 # These SED scripts presuppose an absolute path with a trailing slash. 1990 # These SED scripts presuppose an absolute path with a trailing slash.
1991 pathcar='s,^/\([^/]*\).*$,\1,' 1991 pathcar='s,^/\([^/]*\).*$,\1,'
1992@@ -376,6 +406,15 @@ 1992@@ -376,6 +406,15 @@ sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
1993 # Same as above, but do not quote variable references. 1993 # Same as above, but do not quote variable references.
1994 double_quote_subst='s/\(["`\\]\)/\\\1/g' 1994 double_quote_subst='s/\(["`\\]\)/\\\1/g'
1995 1995
@@ -2005,7 +2005,7 @@ Index: binutils-2.21/ltmain.sh
2005 # Re-`\' parameter expansions in output of double_quote_subst that were 2005 # Re-`\' parameter expansions in output of double_quote_subst that were
2006 # `\'-ed in input to the same. If an odd number of `\' preceded a '$' 2006 # `\'-ed in input to the same. If an odd number of `\' preceded a '$'
2007 # in input to double_quote_subst, that '$' was protected from expansion. 2007 # in input to double_quote_subst, that '$' was protected from expansion.
2008@@ -404,7 +443,7 @@ 2008@@ -404,7 +443,7 @@ opt_warning=:
2009 # name if it has been set yet. 2009 # name if it has been set yet.
2010 func_echo () 2010 func_echo ()
2011 { 2011 {
@@ -2014,7 +2014,7 @@ Index: binutils-2.21/ltmain.sh
2014 } 2014 }
2015 2015
2016 # func_verbose arg... 2016 # func_verbose arg...
2017@@ -430,14 +469,14 @@ 2017@@ -430,14 +469,14 @@ func_echo_all ()
2018 # Echo program name prefixed message to standard error. 2018 # Echo program name prefixed message to standard error.
2019 func_error () 2019 func_error ()
2020 { 2020 {
@@ -2031,7 +2031,7 @@ Index: binutils-2.21/ltmain.sh
2031 2031
2032 # bash bug again: 2032 # bash bug again:
2033 : 2033 :
2034@@ -656,19 +695,35 @@ 2034@@ -656,19 +695,35 @@ func_show_eval_locale ()
2035 fi 2035 fi
2036 } 2036 }
2037 2037
@@ -2070,7 +2070,7 @@ Index: binutils-2.21/ltmain.sh
2070 b more 2070 b more
2071 } 2071 }
2072 :go 2072 :go
2073@@ -685,7 +740,9 @@ 2073@@ -685,7 +740,9 @@ func_version ()
2074 # Echo short help message to standard output and exit. 2074 # Echo short help message to standard output and exit.
2075 func_usage () 2075 func_usage ()
2076 { 2076 {
@@ -2081,7 +2081,7 @@ Index: binutils-2.21/ltmain.sh
2081 s/^# // 2081 s/^# //
2082 s/^# *$// 2082 s/^# *$//
2083 s/\$progname/'$progname'/ 2083 s/\$progname/'$progname'/
2084@@ -701,7 +758,10 @@ 2084@@ -701,7 +758,10 @@ func_usage ()
2085 # unless 'noexit' is passed as argument. 2085 # unless 'noexit' is passed as argument.
2086 func_help () 2086 func_help ()
2087 { 2087 {
@@ -2092,7 +2092,7 @@ Index: binutils-2.21/ltmain.sh
2092 s/^# // 2092 s/^# //
2093 s/^# *$// 2093 s/^# *$//
2094 s*\$progname*'$progname'* 2094 s*\$progname*'$progname'*
2095@@ -714,7 +774,11 @@ 2095@@ -714,7 +774,11 @@ func_help ()
2096 s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/ 2096 s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
2097 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/ 2097 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
2098 p 2098 p
@@ -2105,7 +2105,7 @@ Index: binutils-2.21/ltmain.sh
2105 ret=$? 2105 ret=$?
2106 if test -z "$1"; then 2106 if test -z "$1"; then
2107 exit $ret 2107 exit $ret
2108@@ -726,12 +790,39 @@ 2108@@ -726,12 +790,39 @@ func_help ()
2109 # exit_cmd. 2109 # exit_cmd.
2110 func_missing_arg () 2110 func_missing_arg ()
2111 { 2111 {
@@ -2147,7 +2147,7 @@ Index: binutils-2.21/ltmain.sh
2147 2147
2148 2148
2149 2149
2150@@ -741,26 +832,64 @@ 2150@@ -741,26 +832,64 @@ magic="%%%MAGIC variable%%%"
2151 magic_exe="%%%MAGIC EXE variable%%%" 2151 magic_exe="%%%MAGIC EXE variable%%%"
2152 2152
2153 # Global variables. 2153 # Global variables.
@@ -2220,7 +2220,7 @@ Index: binutils-2.21/ltmain.sh
2220 # func_fatal_configuration arg... 2220 # func_fatal_configuration arg...
2221 # Echo program name prefixed message to standard error, followed by 2221 # Echo program name prefixed message to standard error, followed by
2222 # a configuration failure hint, and exit. 2222 # a configuration failure hint, and exit.
2223@@ -850,130 +979,204 @@ 2223@@ -850,130 +979,204 @@ func_enable_tag ()
2224 esac 2224 esac
2225 } 2225 }
2226 2226
@@ -2519,7 +2519,7 @@ Index: binutils-2.21/ltmain.sh
2519 2519
2520 case $host in 2520 case $host in
2521 *cygwin* | *mingw* | *pw32* | *cegcc*) 2521 *cygwin* | *mingw* | *pw32* | *cegcc*)
2522@@ -981,82 +1184,44 @@ 2522@@ -981,82 +1184,44 @@ func_enable_tag ()
2523 opt_duplicate_compiler_generated_deps=: 2523 opt_duplicate_compiler_generated_deps=:
2524 ;; 2524 ;;
2525 *) 2525 *)
@@ -2626,7 +2626,7 @@ Index: binutils-2.21/ltmain.sh
2626 2626
2627 # func_lalib_p file 2627 # func_lalib_p file
2628 # True iff FILE is a libtool `.la' library or `.lo' object file. 2628 # True iff FILE is a libtool `.la' library or `.lo' object file.
2629@@ -1121,12 +1286,9 @@ 2629@@ -1121,12 +1286,9 @@ func_ltwrapper_executable_p ()
2630 # temporary ltwrapper_script. 2630 # temporary ltwrapper_script.
2631 func_ltwrapper_scriptname () 2631 func_ltwrapper_scriptname ()
2632 { 2632 {
@@ -2642,7 +2642,7 @@ Index: binutils-2.21/ltmain.sh
2642 } 2642 }
2643 2643
2644 # func_ltwrapper_p file 2644 # func_ltwrapper_p file
2645@@ -1149,7 +1311,7 @@ 2645@@ -1149,7 +1311,7 @@ func_execute_cmds ()
2646 save_ifs=$IFS; IFS='~' 2646 save_ifs=$IFS; IFS='~'
2647 for cmd in $1; do 2647 for cmd in $1; do
2648 IFS=$save_ifs 2648 IFS=$save_ifs
@@ -2651,7 +2651,7 @@ Index: binutils-2.21/ltmain.sh
2651 func_show_eval "$cmd" "${2-:}" 2651 func_show_eval "$cmd" "${2-:}"
2652 done 2652 done
2653 IFS=$save_ifs 2653 IFS=$save_ifs
2654@@ -1172,6 +1334,37 @@ 2654@@ -1172,6 +1334,37 @@ func_source ()
2655 } 2655 }
2656 2656
2657 2657
@@ -2689,7 +2689,7 @@ Index: binutils-2.21/ltmain.sh
2689 # func_infer_tag arg 2689 # func_infer_tag arg
2690 # Infer tagged configuration to use if any are available and 2690 # Infer tagged configuration to use if any are available and
2691 # if one wasn't chosen via the "--tag" command line option. 2691 # if one wasn't chosen via the "--tag" command line option.
2692@@ -1184,8 +1377,7 @@ 2692@@ -1184,8 +1377,7 @@ func_infer_tag ()
2693 if test -n "$available_tags" && test -z "$tagname"; then 2693 if test -n "$available_tags" && test -z "$tagname"; then
2694 CC_quoted= 2694 CC_quoted=
2695 for arg in $CC; do 2695 for arg in $CC; do
@@ -2699,7 +2699,7 @@ Index: binutils-2.21/ltmain.sh
2699 done 2699 done
2700 CC_expanded=`func_echo_all $CC` 2700 CC_expanded=`func_echo_all $CC`
2701 CC_quoted_expanded=`func_echo_all $CC_quoted` 2701 CC_quoted_expanded=`func_echo_all $CC_quoted`
2702@@ -1204,8 +1396,7 @@ 2702@@ -1204,8 +1396,7 @@ func_infer_tag ()
2703 CC_quoted= 2703 CC_quoted=
2704 for arg in $CC; do 2704 for arg in $CC; do
2705 # Double-quote args containing other shell metacharacters. 2705 # Double-quote args containing other shell metacharacters.
@@ -2709,7 +2709,7 @@ Index: binutils-2.21/ltmain.sh
2709 done 2709 done
2710 CC_expanded=`func_echo_all $CC` 2710 CC_expanded=`func_echo_all $CC`
2711 CC_quoted_expanded=`func_echo_all $CC_quoted` 2711 CC_quoted_expanded=`func_echo_all $CC_quoted`
2712@@ -1274,6 +1465,486 @@ 2712@@ -1274,6 +1465,486 @@ EOF
2713 } 2713 }
2714 } 2714 }
2715 2715
@@ -3196,7 +3196,7 @@ Index: binutils-2.21/ltmain.sh
3196 # func_mode_compile arg... 3196 # func_mode_compile arg...
3197 func_mode_compile () 3197 func_mode_compile ()
3198 { 3198 {
3199@@ -1314,12 +1985,12 @@ 3199@@ -1314,12 +1985,12 @@ func_mode_compile ()
3200 ;; 3200 ;;
3201 3201
3202 -pie | -fpie | -fPIE) 3202 -pie | -fpie | -fPIE)
@@ -3211,7 +3211,7 @@ Index: binutils-2.21/ltmain.sh
3211 continue 3211 continue
3212 ;; 3212 ;;
3213 3213
3214@@ -1340,15 +2011,14 @@ 3214@@ -1340,15 +2011,14 @@ func_mode_compile ()
3215 save_ifs="$IFS"; IFS=',' 3215 save_ifs="$IFS"; IFS=','
3216 for arg in $args; do 3216 for arg in $args; do
3217 IFS="$save_ifs" 3217 IFS="$save_ifs"
@@ -3229,7 +3229,7 @@ Index: binutils-2.21/ltmain.sh
3229 continue 3229 continue
3230 ;; 3230 ;;
3231 3231
3232@@ -1364,8 +2034,7 @@ 3232@@ -1364,8 +2034,7 @@ func_mode_compile ()
3233 esac # case $arg_mode 3233 esac # case $arg_mode
3234 3234
3235 # Aesthetically quote the previous argument. 3235 # Aesthetically quote the previous argument.
@@ -3239,7 +3239,7 @@ Index: binutils-2.21/ltmain.sh
3239 done # for arg 3239 done # for arg
3240 3240
3241 case $arg_mode in 3241 case $arg_mode in
3242@@ -1496,17 +2165,16 @@ 3242@@ -1496,17 +2165,16 @@ compiler."
3243 $opt_dry_run || $RM $removelist 3243 $opt_dry_run || $RM $removelist
3244 exit $EXIT_FAILURE 3244 exit $EXIT_FAILURE
3245 fi 3245 fi
@@ -3261,7 +3261,7 @@ Index: binutils-2.21/ltmain.sh
3261 func_quote_for_eval "$srcfile" 3261 func_quote_for_eval "$srcfile"
3262 qsrcfile=$func_quote_for_eval_result 3262 qsrcfile=$func_quote_for_eval_result
3263 3263
3264@@ -1526,7 +2194,7 @@ 3264@@ -1526,7 +2194,7 @@ compiler."
3265 3265
3266 if test -z "$output_obj"; then 3266 if test -z "$output_obj"; then
3267 # Place PIC objects in $objdir 3267 # Place PIC objects in $objdir
@@ -3270,7 +3270,7 @@ Index: binutils-2.21/ltmain.sh
3270 fi 3270 fi
3271 3271
3272 func_show_eval_locale "$command" \ 3272 func_show_eval_locale "$command" \
3273@@ -1573,11 +2241,11 @@ 3273@@ -1573,11 +2241,11 @@ compiler."
3274 command="$base_compile $qsrcfile $pic_flag" 3274 command="$base_compile $qsrcfile $pic_flag"
3275 fi 3275 fi
3276 if test "$compiler_c_o" = yes; then 3276 if test "$compiler_c_o" = yes; then
@@ -3284,7 +3284,7 @@ Index: binutils-2.21/ltmain.sh
3284 func_show_eval_locale "$command" \ 3284 func_show_eval_locale "$command" \
3285 '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 3285 '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
3286 3286
3287@@ -1622,13 +2290,13 @@ 3287@@ -1622,13 +2290,13 @@ compiler."
3288 } 3288 }
3289 3289
3290 $opt_help || { 3290 $opt_help || {
@@ -3300,7 +3300,7 @@ Index: binutils-2.21/ltmain.sh
3300 "") 3300 "")
3301 # Generic help is extracted from the usage comments 3301 # Generic help is extracted from the usage comments
3302 # at the start of this file. 3302 # at the start of this file.
3303@@ -1659,8 +2327,8 @@ 3303@@ -1659,8 +2327,8 @@ This mode accepts the following addition
3304 3304
3305 -o OUTPUT-FILE set the output file name to OUTPUT-FILE 3305 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
3306 -no-suppress do not suppress compiler output for multiple passes 3306 -no-suppress do not suppress compiler output for multiple passes
@@ -3311,7 +3311,7 @@ Index: binutils-2.21/ltmain.sh
3311 -shared do not build a \`.o' file suitable for static linking 3311 -shared do not build a \`.o' file suitable for static linking
3312 -static only build a \`.o' file suitable for static linking 3312 -static only build a \`.o' file suitable for static linking
3313 -Wc,FLAG pass FLAG directly to the compiler 3313 -Wc,FLAG pass FLAG directly to the compiler
3314@@ -1804,7 +2472,7 @@ 3314@@ -1804,7 +2472,7 @@ Otherwise, only FILE itself is deleted u
3315 ;; 3315 ;;
3316 3316
3317 *) 3317 *)
@@ -3320,7 +3320,7 @@ Index: binutils-2.21/ltmain.sh
3320 ;; 3320 ;;
3321 esac 3321 esac
3322 3322
3323@@ -1819,13 +2487,13 @@ 3323@@ -1819,13 +2487,13 @@ if $opt_help; then
3324 else 3324 else
3325 { 3325 {
3326 func_help noexit 3326 func_help noexit
@@ -3336,7 +3336,7 @@ Index: binutils-2.21/ltmain.sh
3336 echo 3336 echo
3337 func_mode_help 3337 func_mode_help
3338 done 3338 done
3339@@ -1854,13 +2522,16 @@ 3339@@ -1854,13 +2522,16 @@ func_mode_execute ()
3340 func_fatal_help "you must specify a COMMAND" 3340 func_fatal_help "you must specify a COMMAND"
3341 3341
3342 # Handle -dlopen flags immediately. 3342 # Handle -dlopen flags immediately.
@@ -3354,7 +3354,7 @@ Index: binutils-2.21/ltmain.sh
3354 # Check to see that this really is a libtool archive. 3354 # Check to see that this really is a libtool archive.
3355 func_lalib_unsafe_p "$file" \ 3355 func_lalib_unsafe_p "$file" \
3356 || func_fatal_help "\`$lib' is not a valid libtool archive" 3356 || func_fatal_help "\`$lib' is not a valid libtool archive"
3357@@ -1882,7 +2553,7 @@ 3357@@ -1882,7 +2553,7 @@ func_mode_execute ()
3358 dir="$func_dirname_result" 3358 dir="$func_dirname_result"
3359 3359
3360 if test -f "$dir/$objdir/$dlname"; then 3360 if test -f "$dir/$objdir/$dlname"; then
@@ -3363,7 +3363,7 @@ Index: binutils-2.21/ltmain.sh
3363 else 3363 else
3364 if test ! -f "$dir/$dlname"; then 3364 if test ! -f "$dir/$dlname"; then
3365 func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 3365 func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
3366@@ -1907,10 +2578,10 @@ 3366@@ -1907,10 +2578,10 @@ func_mode_execute ()
3367 test -n "$absdir" && dir="$absdir" 3367 test -n "$absdir" && dir="$absdir"
3368 3368
3369 # Now add the directory to shlibpath_var. 3369 # Now add the directory to shlibpath_var.
@@ -3377,7 +3377,7 @@ Index: binutils-2.21/ltmain.sh
3377 fi 3377 fi
3378 done 3378 done
3379 3379
3380@@ -1939,8 +2610,7 @@ 3380@@ -1939,8 +2610,7 @@ func_mode_execute ()
3381 ;; 3381 ;;
3382 esac 3382 esac
3383 # Quote arguments (to preserve shell metacharacters). 3383 # Quote arguments (to preserve shell metacharacters).
@@ -3387,7 +3387,7 @@ Index: binutils-2.21/ltmain.sh
3387 done 3387 done
3388 3388
3389 if test "X$opt_dry_run" = Xfalse; then 3389 if test "X$opt_dry_run" = Xfalse; then
3390@@ -1972,22 +2642,59 @@ 3390@@ -1972,22 +2642,59 @@ func_mode_execute ()
3391 fi 3391 fi
3392 } 3392 }
3393 3393
@@ -3454,7 +3454,7 @@ Index: binutils-2.21/ltmain.sh
3454 for libdir in $libdirs; do 3454 for libdir in $libdirs; do
3455 if test -n "$finish_cmds"; then 3455 if test -n "$finish_cmds"; then
3456 # Do each command in the finish commands. 3456 # Do each command in the finish commands.
3457@@ -1997,7 +2704,7 @@ 3457@@ -1997,7 +2704,7 @@ func_mode_finish ()
3458 if test -n "$finish_eval"; then 3458 if test -n "$finish_eval"; then
3459 # Do the single finish_eval. 3459 # Do the single finish_eval.
3460 eval cmds=\"$finish_eval\" 3460 eval cmds=\"$finish_eval\"
@@ -3463,7 +3463,7 @@ Index: binutils-2.21/ltmain.sh
3463 $cmds" 3463 $cmds"
3464 fi 3464 fi
3465 done 3465 done
3466@@ -2006,53 +2713,55 @@ 3466@@ -2006,53 +2713,55 @@ func_mode_finish ()
3467 # Exit here if they wanted silent mode. 3467 # Exit here if they wanted silent mode.
3468 $opt_silent && exit $EXIT_SUCCESS 3468 $opt_silent && exit $EXIT_SUCCESS
3469 3469
@@ -3561,7 +3561,7 @@ Index: binutils-2.21/ltmain.sh
3561 3561
3562 3562
3563 # func_mode_install arg... 3563 # func_mode_install arg...
3564@@ -2077,7 +2786,7 @@ 3564@@ -2077,7 +2786,7 @@ func_mode_install ()
3565 # The real first argument should be the name of the installation program. 3565 # The real first argument should be the name of the installation program.
3566 # Aesthetically quote it. 3566 # Aesthetically quote it.
3567 func_quote_for_eval "$arg" 3567 func_quote_for_eval "$arg"
@@ -3570,7 +3570,7 @@ Index: binutils-2.21/ltmain.sh
3570 install_shared_prog=$install_prog 3570 install_shared_prog=$install_prog
3571 case " $install_prog " in 3571 case " $install_prog " in
3572 *[\\\ /]cp\ *) install_cp=: ;; 3572 *[\\\ /]cp\ *) install_cp=: ;;
3573@@ -2097,7 +2806,7 @@ 3573@@ -2097,7 +2806,7 @@ func_mode_install ()
3574 do 3574 do
3575 arg2= 3575 arg2=
3576 if test -n "$dest"; then 3576 if test -n "$dest"; then
@@ -3579,7 +3579,7 @@ Index: binutils-2.21/ltmain.sh
3579 dest=$arg 3579 dest=$arg
3580 continue 3580 continue
3581 fi 3581 fi
3582@@ -2135,11 +2844,11 @@ 3582@@ -2135,11 +2844,11 @@ func_mode_install ()
3583 3583
3584 # Aesthetically quote the argument. 3584 # Aesthetically quote the argument.
3585 func_quote_for_eval "$arg" 3585 func_quote_for_eval "$arg"
@@ -3593,7 +3593,7 @@ Index: binutils-2.21/ltmain.sh
3593 done 3593 done
3594 3594
3595 test -z "$install_prog" && \ 3595 test -z "$install_prog" && \
3596@@ -2151,7 +2860,7 @@ 3596@@ -2151,7 +2860,7 @@ func_mode_install ()
3597 if test -n "$install_override_mode" && $no_mode; then 3597 if test -n "$install_override_mode" && $no_mode; then
3598 if $install_cp; then :; else 3598 if $install_cp; then :; else
3599 func_quote_for_eval "$install_override_mode" 3599 func_quote_for_eval "$install_override_mode"
@@ -3602,7 +3602,7 @@ Index: binutils-2.21/ltmain.sh
3602 fi 3602 fi
3603 fi 3603 fi
3604 3604
3605@@ -2209,10 +2918,13 @@ 3605@@ -2209,10 +2918,13 @@ func_mode_install ()
3606 case $file in 3606 case $file in
3607 *.$libext) 3607 *.$libext)
3608 # Do the static libraries later. 3608 # Do the static libraries later.
@@ -3617,7 +3617,7 @@ Index: binutils-2.21/ltmain.sh
3617 # Check to see that this really is a libtool archive. 3617 # Check to see that this really is a libtool archive.
3618 func_lalib_unsafe_p "$file" \ 3618 func_lalib_unsafe_p "$file" \
3619 || func_fatal_help "\`$file' is not a valid libtool archive" 3619 || func_fatal_help "\`$file' is not a valid libtool archive"
3620@@ -2226,23 +2938,30 @@ 3620@@ -2226,23 +2938,30 @@ func_mode_install ()
3621 if test "X$destdir" = "X$libdir"; then 3621 if test "X$destdir" = "X$libdir"; then
3622 case "$current_libdirs " in 3622 case "$current_libdirs " in
3623 *" $libdir "*) ;; 3623 *" $libdir "*) ;;
@@ -3652,7 +3652,7 @@ Index: binutils-2.21/ltmain.sh
3652 3652
3653 # Don't allow the user to place us outside of our expected 3653 # Don't allow the user to place us outside of our expected
3654 # location b/c this prevents finding dependent libraries that 3654 # location b/c this prevents finding dependent libraries that
3655@@ -2315,7 +3034,7 @@ 3655@@ -2315,7 +3034,7 @@ func_mode_install ()
3656 func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' 3656 func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
3657 3657
3658 # Maybe install the static library, too. 3658 # Maybe install the static library, too.
@@ -3661,7 +3661,7 @@ Index: binutils-2.21/ltmain.sh
3661 ;; 3661 ;;
3662 3662
3663 *.lo) 3663 *.lo)
3664@@ -2503,7 +3222,7 @@ 3664@@ -2503,7 +3222,7 @@ func_mode_install ()
3665 test -n "$future_libdirs" && \ 3665 test -n "$future_libdirs" && \
3666 func_warning "remember to run \`$progname --finish$future_libdirs'" 3666 func_warning "remember to run \`$progname --finish$future_libdirs'"
3667 3667
@@ -3670,7 +3670,7 @@ Index: binutils-2.21/ltmain.sh
3670 # Maybe just do a dry run. 3670 # Maybe just do a dry run.
3671 $opt_dry_run && current_libdirs=" -n$current_libdirs" 3671 $opt_dry_run && current_libdirs=" -n$current_libdirs"
3672 exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' 3672 exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
3673@@ -2512,7 +3231,7 @@ 3673@@ -2512,7 +3231,7 @@ func_mode_install ()
3674 fi 3674 fi
3675 } 3675 }
3676 3676
@@ -3679,7 +3679,7 @@ Index: binutils-2.21/ltmain.sh
3679 3679
3680 3680
3681 # func_generate_dlsyms outputname originator pic_p 3681 # func_generate_dlsyms outputname originator pic_p
3682@@ -2559,6 +3278,18 @@ 3682@@ -2559,6 +3278,18 @@ extern \"C\" {
3683 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" 3683 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
3684 #endif 3684 #endif
3685 3685
@@ -3698,7 +3698,7 @@ Index: binutils-2.21/ltmain.sh
3698 /* External symbol declarations for the compiler. */\ 3698 /* External symbol declarations for the compiler. */\
3699 " 3699 "
3700 3700
3701@@ -2570,21 +3301,22 @@ 3701@@ -2570,21 +3301,22 @@ extern \"C\" {
3702 # Add our own program objects to the symbol list. 3702 # Add our own program objects to the symbol list.
3703 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` 3703 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
3704 for progfile in $progfiles; do 3704 for progfile in $progfiles; do
@@ -3727,7 +3727,7 @@ Index: binutils-2.21/ltmain.sh
3727 } 3727 }
3728 fi 3728 fi
3729 3729
3730@@ -2593,23 +3325,23 @@ 3730@@ -2593,23 +3325,23 @@ extern \"C\" {
3731 export_symbols="$output_objdir/$outputname.exp" 3731 export_symbols="$output_objdir/$outputname.exp"
3732 $opt_dry_run || { 3732 $opt_dry_run || {
3733 $RM $export_symbols 3733 $RM $export_symbols
@@ -3759,7 +3759,7 @@ Index: binutils-2.21/ltmain.sh
3759 ;; 3759 ;;
3760 esac 3760 esac
3761 } 3761 }
3762@@ -2620,10 +3352,52 @@ 3762@@ -2620,10 +3352,52 @@ extern \"C\" {
3763 func_verbose "extracting global C symbols from \`$dlprefile'" 3763 func_verbose "extracting global C symbols from \`$dlprefile'"
3764 func_basename "$dlprefile" 3764 func_basename "$dlprefile"
3765 name="$func_basename_result" 3765 name="$func_basename_result"
@@ -3816,7 +3816,7 @@ Index: binutils-2.21/ltmain.sh
3816 done 3816 done
3817 3817
3818 $opt_dry_run || { 3818 $opt_dry_run || {
3819@@ -2661,26 +3435,9 @@ 3819@@ -2661,26 +3435,9 @@ typedef struct {
3820 const char *name; 3820 const char *name;
3821 void *address; 3821 void *address;
3822 } lt_dlsymlist; 3822 } lt_dlsymlist;
@@ -3845,7 +3845,7 @@ Index: binutils-2.21/ltmain.sh
3845 lt_${my_prefix}_LTX_preloaded_symbols[] = 3845 lt_${my_prefix}_LTX_preloaded_symbols[] =
3846 {\ 3846 {\
3847 { \"$my_originator\", (void *) 0 }," 3847 { \"$my_originator\", (void *) 0 },"
3848@@ -2736,7 +3493,7 @@ 3848@@ -2736,7 +3493,7 @@ static const void *lt_preloaded_setup()
3849 for arg in $LTCFLAGS; do 3849 for arg in $LTCFLAGS; do
3850 case $arg in 3850 case $arg in
3851 -pie | -fpie | -fPIE) ;; 3851 -pie | -fpie | -fPIE) ;;
@@ -3854,7 +3854,7 @@ Index: binutils-2.21/ltmain.sh
3854 esac 3854 esac
3855 done 3855 done
3856 3856
3857@@ -2796,9 +3553,11 @@ 3857@@ -2796,9 +3553,11 @@ func_win32_libid ()
3858 win32_libid_type="x86 archive import" 3858 win32_libid_type="x86 archive import"
3859 ;; 3859 ;;
3860 *ar\ archive*) # could be an import, or static 3860 *ar\ archive*) # could be an import, or static
@@ -3869,7 +3869,7 @@ Index: binutils-2.21/ltmain.sh
3869 $SED -n -e ' 3869 $SED -n -e '
3870 1,100{ 3870 1,100{
3871 / I /{ 3871 / I /{
3872@@ -2827,6 +3586,131 @@ 3872@@ -2827,6 +3586,131 @@ func_win32_libid ()
3873 $ECHO "$win32_libid_type" 3873 $ECHO "$win32_libid_type"
3874 } 3874 }
3875 3875
@@ -4001,7 +4001,7 @@ Index: binutils-2.21/ltmain.sh
4001 4001
4002 4002
4003 # func_extract_an_archive dir oldlib 4003 # func_extract_an_archive dir oldlib
4004@@ -2917,7 +3801,7 @@ 4004@@ -2917,7 +3801,7 @@ func_extract_archives ()
4005 darwin_file= 4005 darwin_file=
4006 darwin_files= 4006 darwin_files=
4007 for darwin_file in $darwin_filelist; do 4007 for darwin_file in $darwin_filelist; do
@@ -4010,7 +4010,7 @@ Index: binutils-2.21/ltmain.sh
4010 $LIPO -create -output "$darwin_file" $darwin_files 4010 $LIPO -create -output "$darwin_file" $darwin_files
4011 done # $darwin_filelist 4011 done # $darwin_filelist
4012 $RM -rf unfat-$$ 4012 $RM -rf unfat-$$
4013@@ -2932,7 +3816,7 @@ 4013@@ -2932,7 +3816,7 @@ func_extract_archives ()
4014 func_extract_an_archive "$my_xdir" "$my_xabs" 4014 func_extract_an_archive "$my_xdir" "$my_xabs"
4015 ;; 4015 ;;
4016 esac 4016 esac
@@ -4019,7 +4019,7 @@ Index: binutils-2.21/ltmain.sh
4019 done 4019 done
4020 4020
4021 func_extract_archives_result="$my_oldobjs" 4021 func_extract_archives_result="$my_oldobjs"
4022@@ -3014,7 +3898,110 @@ 4022@@ -3014,7 +3898,110 @@ func_fallback_echo ()
4023 _LTECHO_EOF' 4023 _LTECHO_EOF'
4024 } 4024 }
4025 ECHO=\"$qECHO\" 4025 ECHO=\"$qECHO\"
@@ -4131,7 +4131,7 @@ Index: binutils-2.21/ltmain.sh
4131 4131
4132 # Find the directory that this script lives in. 4132 # Find the directory that this script lives in.
4133 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` 4133 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
4134@@ -3078,7 +4065,7 @@ 4134@@ -3078,7 +4065,7 @@ _LTECHO_EOF'
4135 4135
4136 # relink executable if necessary 4136 # relink executable if necessary
4137 if test -n \"\$relink_command\"; then 4137 if test -n \"\$relink_command\"; then
@@ -4140,7 +4140,7 @@ Index: binutils-2.21/ltmain.sh
4140 else 4140 else
4141 $ECHO \"\$relink_command_output\" >&2 4141 $ECHO \"\$relink_command_output\" >&2
4142 $RM \"\$progdir/\$file\" 4142 $RM \"\$progdir/\$file\"
4143@@ -3102,6 +4089,18 @@ 4143@@ -3102,6 +4089,18 @@ _LTECHO_EOF'
4144 4144
4145 if test -f \"\$progdir/\$program\"; then" 4145 if test -f \"\$progdir/\$program\"; then"
4146 4146
@@ -4159,7 +4159,7 @@ Index: binutils-2.21/ltmain.sh
4159 # Export our shlibpath_var if we have one. 4159 # Export our shlibpath_var if we have one.
4160 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then 4160 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
4161 $ECHO "\ 4161 $ECHO "\
4162@@ -3116,35 +4115,10 @@ 4162@@ -3116,35 +4115,10 @@ _LTECHO_EOF'
4163 " 4163 "
4164 fi 4164 fi
4165 4165
@@ -4196,7 +4196,7 @@ Index: binutils-2.21/ltmain.sh
4196 fi 4196 fi
4197 else 4197 else
4198 # The program doesn't exist. 4198 # The program doesn't exist.
4199@@ -3158,166 +4132,6 @@ 4199@@ -3158,166 +4132,6 @@ fi\
4200 } 4200 }
4201 4201
4202 4202
@@ -4363,7 +4363,7 @@ Index: binutils-2.21/ltmain.sh
4363 # func_emit_cwrapperexe_src 4363 # func_emit_cwrapperexe_src
4364 # emit the source code for a wrapper executable on stdout 4364 # emit the source code for a wrapper executable on stdout
4365 # Must ONLY be called from within func_mode_link because 4365 # Must ONLY be called from within func_mode_link because
4366@@ -3334,10 +4148,6 @@ 4366@@ -3334,10 +4148,6 @@ func_emit_cwrapperexe_src ()
4367 4367
4368 This wrapper executable should never be moved out of the build directory. 4368 This wrapper executable should never be moved out of the build directory.
4369 If it is, it will not operate correctly. 4369 If it is, it will not operate correctly.
@@ -4374,7 +4374,7 @@ Index: binutils-2.21/ltmain.sh
4374 */ 4374 */
4375 EOF 4375 EOF
4376 cat <<"EOF" 4376 cat <<"EOF"
4377@@ -3462,22 +4272,13 @@ 4377@@ -3462,22 +4272,13 @@ int setenv (const char *, const char *,
4378 if (stale) { free ((void *) stale); stale = 0; } \ 4378 if (stale) { free ((void *) stale); stale = 0; } \
4379 } while (0) 4379 } while (0)
4380 4380
@@ -4401,7 +4401,7 @@ Index: binutils-2.21/ltmain.sh
4401 4401
4402 void *xmalloc (size_t num); 4402 void *xmalloc (size_t num);
4403 char *xstrdup (const char *string); 4403 char *xstrdup (const char *string);
4404@@ -3487,7 +4288,10 @@ 4404@@ -3487,7 +4288,10 @@ char *chase_symlinks (const char *pathsp
4405 int make_executable (const char *path); 4405 int make_executable (const char *path);
4406 int check_executable (const char *path); 4406 int check_executable (const char *path);
4407 char *strendzap (char *str, const char *pat); 4407 char *strendzap (char *str, const char *pat);
@@ -4413,7 +4413,7 @@ Index: binutils-2.21/ltmain.sh
4413 void lt_setenv (const char *name, const char *value); 4413 void lt_setenv (const char *name, const char *value);
4414 char *lt_extend_str (const char *orig_value, const char *add, int to_end); 4414 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
4415 void lt_update_exe_path (const char *name, const char *value); 4415 void lt_update_exe_path (const char *name, const char *value);
4416@@ -3497,14 +4301,14 @@ 4416@@ -3497,14 +4301,14 @@ void lt_dump_script (FILE *f);
4417 EOF 4417 EOF
4418 4418
4419 cat <<EOF 4419 cat <<EOF
@@ -4431,7 +4431,7 @@ Index: binutils-2.21/ltmain.sh
4431 EOF 4431 EOF
4432 else 4432 else
4433 cat <<"EOF" 4433 cat <<"EOF"
4434@@ -3513,10 +4317,10 @@ 4434@@ -3513,10 +4317,10 @@ EOF
4435 fi 4435 fi
4436 4436
4437 if test -n "$dllsearchpath"; then 4437 if test -n "$dllsearchpath"; then
@@ -4444,7 +4444,7 @@ Index: binutils-2.21/ltmain.sh
4444 EOF 4444 EOF
4445 else 4445 else
4446 cat <<"EOF" 4446 cat <<"EOF"
4447@@ -3539,12 +4343,10 @@ 4447@@ -3539,12 +4343,10 @@ EOF
4448 cat <<"EOF" 4448 cat <<"EOF"
4449 4449
4450 #define LTWRAPPER_OPTION_PREFIX "--lt-" 4450 #define LTWRAPPER_OPTION_PREFIX "--lt-"
@@ -4458,7 +4458,7 @@ Index: binutils-2.21/ltmain.sh
4458 4458
4459 int 4459 int
4460 main (int argc, char *argv[]) 4460 main (int argc, char *argv[])
4461@@ -3561,10 +4363,13 @@ 4461@@ -3561,10 +4363,13 @@ main (int argc, char *argv[])
4462 int i; 4462 int i;
4463 4463
4464 program_name = (char *) xstrdup (base_name (argv[0])); 4464 program_name = (char *) xstrdup (base_name (argv[0]));
@@ -4475,7 +4475,7 @@ Index: binutils-2.21/ltmain.sh
4475 for (i = 1; i < argc; i++) 4475 for (i = 1; i < argc; i++)
4476 { 4476 {
4477 if (strcmp (argv[i], dumpscript_opt) == 0) 4477 if (strcmp (argv[i], dumpscript_opt) == 0)
4478@@ -3581,21 +4386,54 @@ 4478@@ -3581,21 +4386,54 @@ EOF
4479 lt_dump_script (stdout); 4479 lt_dump_script (stdout);
4480 return 0; 4480 return 0;
4481 } 4481 }
@@ -4537,7 +4537,7 @@ Index: binutils-2.21/ltmain.sh
4537 strendzap (actual_cwrapper_path, actual_cwrapper_name); 4537 strendzap (actual_cwrapper_path, actual_cwrapper_name);
4538 4538
4539 /* wrapper name transforms */ 4539 /* wrapper name transforms */
4540@@ -3613,8 +4451,9 @@ 4540@@ -3613,8 +4451,9 @@ EOF
4541 target_name = tmp_pathspec; 4541 target_name = tmp_pathspec;
4542 tmp_pathspec = 0; 4542 tmp_pathspec = 0;
4543 4543
@@ -4549,7 +4549,7 @@ Index: binutils-2.21/ltmain.sh
4549 EOF 4549 EOF
4550 4550
4551 cat <<EOF 4551 cat <<EOF
4552@@ -3664,35 +4503,19 @@ 4552@@ -3664,35 +4503,19 @@ EOF
4553 4553
4554 lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */ 4554 lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
4555 lt_setenv ("DUALCASE", "1"); /* for MSK sh */ 4555 lt_setenv ("DUALCASE", "1"); /* for MSK sh */
@@ -4594,7 +4594,7 @@ Index: binutils-2.21/ltmain.sh
4594 } 4594 }
4595 4595
4596 EOF 4596 EOF
4597@@ -3706,7 +4529,9 @@ 4597@@ -3706,7 +4529,9 @@ EOF
4598 if (rval == -1) 4598 if (rval == -1)
4599 { 4599 {
4600 /* failed to start process */ 4600 /* failed to start process */
@@ -4605,7 +4605,7 @@ Index: binutils-2.21/ltmain.sh
4605 return 127; 4605 return 127;
4606 } 4606 }
4607 return rval; 4607 return rval;
4608@@ -3728,7 +4553,7 @@ 4608@@ -3728,7 +4553,7 @@ xmalloc (size_t num)
4609 { 4609 {
4610 void *p = (void *) malloc (num); 4610 void *p = (void *) malloc (num);
4611 if (!p) 4611 if (!p)
@@ -4614,7 +4614,7 @@ Index: binutils-2.21/ltmain.sh
4614 4614
4615 return p; 4615 return p;
4616 } 4616 }
4617@@ -3762,8 +4587,8 @@ 4617@@ -3762,8 +4587,8 @@ check_executable (const char *path)
4618 { 4618 {
4619 struct stat st; 4619 struct stat st;
4620 4620
@@ -4625,7 +4625,7 @@ Index: binutils-2.21/ltmain.sh
4625 if ((!path) || (!*path)) 4625 if ((!path) || (!*path))
4626 return 0; 4626 return 0;
4627 4627
4628@@ -3780,8 +4605,8 @@ 4628@@ -3780,8 +4605,8 @@ make_executable (const char *path)
4629 int rval = 0; 4629 int rval = 0;
4630 struct stat st; 4630 struct stat st;
4631 4631
@@ -4636,7 +4636,7 @@ Index: binutils-2.21/ltmain.sh
4636 if ((!path) || (!*path)) 4636 if ((!path) || (!*path))
4637 return 0; 4637 return 0;
4638 4638
4639@@ -3807,8 +4632,8 @@ 4639@@ -3807,8 +4632,8 @@ find_executable (const char *wrapper)
4640 int tmp_len; 4640 int tmp_len;
4641 char *concat_name; 4641 char *concat_name;
4642 4642
@@ -4647,7 +4647,7 @@ Index: binutils-2.21/ltmain.sh
4647 4647
4648 if ((wrapper == NULL) || (*wrapper == '\0')) 4648 if ((wrapper == NULL) || (*wrapper == '\0'))
4649 return NULL; 4649 return NULL;
4650@@ -3861,7 +4686,8 @@ 4650@@ -3861,7 +4686,8 @@ find_executable (const char *wrapper)
4651 { 4651 {
4652 /* empty path: current directory */ 4652 /* empty path: current directory */
4653 if (getcwd (tmp, LT_PATHMAX) == NULL) 4653 if (getcwd (tmp, LT_PATHMAX) == NULL)
@@ -4657,7 +4657,7 @@ Index: binutils-2.21/ltmain.sh
4657 tmp_len = strlen (tmp); 4657 tmp_len = strlen (tmp);
4658 concat_name = 4658 concat_name =
4659 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); 4659 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4660@@ -3886,7 +4712,8 @@ 4660@@ -3886,7 +4712,8 @@ find_executable (const char *wrapper)
4661 } 4661 }
4662 /* Relative path | not found in path: prepend cwd */ 4662 /* Relative path | not found in path: prepend cwd */
4663 if (getcwd (tmp, LT_PATHMAX) == NULL) 4663 if (getcwd (tmp, LT_PATHMAX) == NULL)
@@ -4667,7 +4667,7 @@ Index: binutils-2.21/ltmain.sh
4667 tmp_len = strlen (tmp); 4667 tmp_len = strlen (tmp);
4668 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); 4668 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4669 memcpy (concat_name, tmp, tmp_len); 4669 memcpy (concat_name, tmp, tmp_len);
4670@@ -3912,8 +4739,9 @@ 4670@@ -3912,8 +4739,9 @@ chase_symlinks (const char *pathspec)
4671 int has_symlinks = 0; 4671 int has_symlinks = 0;
4672 while (strlen (tmp_pathspec) && !has_symlinks) 4672 while (strlen (tmp_pathspec) && !has_symlinks)
4673 { 4673 {
@@ -4679,7 +4679,7 @@ Index: binutils-2.21/ltmain.sh
4679 if (lstat (tmp_pathspec, &s) == 0) 4679 if (lstat (tmp_pathspec, &s) == 0)
4680 { 4680 {
4681 if (S_ISLNK (s.st_mode) != 0) 4681 if (S_ISLNK (s.st_mode) != 0)
4682@@ -3935,8 +4763,9 @@ 4682@@ -3935,8 +4763,9 @@ chase_symlinks (const char *pathspec)
4683 } 4683 }
4684 else 4684 else
4685 { 4685 {
@@ -4691,7 +4691,7 @@ Index: binutils-2.21/ltmain.sh
4691 } 4691 }
4692 } 4692 }
4693 XFREE (tmp_pathspec); 4693 XFREE (tmp_pathspec);
4694@@ -3949,7 +4778,8 @@ 4694@@ -3949,7 +4778,8 @@ chase_symlinks (const char *pathspec)
4695 tmp_pathspec = realpath (pathspec, buf); 4695 tmp_pathspec = realpath (pathspec, buf);
4696 if (tmp_pathspec == 0) 4696 if (tmp_pathspec == 0)
4697 { 4697 {
@@ -4701,7 +4701,7 @@ Index: binutils-2.21/ltmain.sh
4701 } 4701 }
4702 return xstrdup (tmp_pathspec); 4702 return xstrdup (tmp_pathspec);
4703 #endif 4703 #endif
4704@@ -3975,11 +4805,25 @@ 4704@@ -3975,11 +4805,25 @@ strendzap (char *str, const char *pat)
4705 return str; 4705 return str;
4706 } 4706 }
4707 4707
@@ -4729,7 +4729,7 @@ Index: binutils-2.21/ltmain.sh
4729 vfprintf (stderr, message, ap); 4729 vfprintf (stderr, message, ap);
4730 fprintf (stderr, ".\n"); 4730 fprintf (stderr, ".\n");
4731 4731
4732@@ -3988,20 +4832,32 @@ 4732@@ -3988,20 +4832,32 @@ lt_error_core (int exit_status, const ch
4733 } 4733 }
4734 4734
4735 void 4735 void
@@ -4767,7 +4767,7 @@ Index: binutils-2.21/ltmain.sh
4767 { 4767 {
4768 #ifdef HAVE_SETENV 4768 #ifdef HAVE_SETENV
4769 /* always make a copy, for consistency with !HAVE_SETENV */ 4769 /* always make a copy, for consistency with !HAVE_SETENV */
4770@@ -4049,9 +4905,9 @@ 4770@@ -4049,9 +4905,9 @@ lt_extend_str (const char *orig_value, c
4771 void 4771 void
4772 lt_update_exe_path (const char *name, const char *value) 4772 lt_update_exe_path (const char *name, const char *value)
4773 { 4773 {
@@ -4780,7 +4780,7 @@ Index: binutils-2.21/ltmain.sh
4780 4780
4781 if (name && *name && value && *value) 4781 if (name && *name && value && *value)
4782 { 4782 {
4783@@ -4070,9 +4926,9 @@ 4783@@ -4070,9 +4926,9 @@ lt_update_exe_path (const char *name, co
4784 void 4784 void
4785 lt_update_lib_path (const char *name, const char *value) 4785 lt_update_lib_path (const char *name, const char *value)
4786 { 4786 {
@@ -4793,7 +4793,7 @@ Index: binutils-2.21/ltmain.sh
4793 4793
4794 if (name && *name && value && *value) 4794 if (name && *name && value && *value)
4795 { 4795 {
4796@@ -4222,7 +5078,7 @@ 4796@@ -4222,7 +5078,7 @@ EOF
4797 func_win32_import_lib_p () 4797 func_win32_import_lib_p ()
4798 { 4798 {
4799 $opt_debug 4799 $opt_debug
@@ -4802,7 +4802,7 @@ Index: binutils-2.21/ltmain.sh
4802 *import*) : ;; 4802 *import*) : ;;
4803 *) false ;; 4803 *) false ;;
4804 esac 4804 esac
4805@@ -4401,9 +5257,9 @@ 4805@@ -4401,9 +5257,9 @@ func_mode_link ()
4806 ;; 4806 ;;
4807 *) 4807 *)
4808 if test "$prev" = dlfiles; then 4808 if test "$prev" = dlfiles; then
@@ -4814,7 +4814,7 @@ Index: binutils-2.21/ltmain.sh
4814 fi 4814 fi
4815 prev= 4815 prev=
4816 continue 4816 continue
4817@@ -4427,7 +5283,7 @@ 4817@@ -4427,7 +5283,7 @@ func_mode_link ()
4818 *-*-darwin*) 4818 *-*-darwin*)
4819 case "$deplibs " in 4819 case "$deplibs " in
4820 *" $qarg.ltframework "*) ;; 4820 *" $qarg.ltframework "*) ;;
@@ -4823,7 +4823,7 @@ Index: binutils-2.21/ltmain.sh
4823 ;; 4823 ;;
4824 esac 4824 esac
4825 ;; 4825 ;;
4826@@ -4446,7 +5302,7 @@ 4826@@ -4446,7 +5302,7 @@ func_mode_link ()
4827 moreargs= 4827 moreargs=
4828 for fil in `cat "$save_arg"` 4828 for fil in `cat "$save_arg"`
4829 do 4829 do
@@ -4832,7 +4832,7 @@ Index: binutils-2.21/ltmain.sh
4832 arg=$fil 4832 arg=$fil
4833 # A libtool-controlled object. 4833 # A libtool-controlled object.
4834 4834
4835@@ -4475,7 +5331,7 @@ 4835@@ -4475,7 +5331,7 @@ func_mode_link ()
4836 4836
4837 if test "$prev" = dlfiles; then 4837 if test "$prev" = dlfiles; then
4838 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then 4838 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
@@ -4841,7 +4841,7 @@ Index: binutils-2.21/ltmain.sh
4841 prev= 4841 prev=
4842 continue 4842 continue
4843 else 4843 else
4844@@ -4487,7 +5343,7 @@ 4844@@ -4487,7 +5343,7 @@ func_mode_link ()
4845 # CHECK ME: I think I busted this. -Ossama 4845 # CHECK ME: I think I busted this. -Ossama
4846 if test "$prev" = dlprefiles; then 4846 if test "$prev" = dlprefiles; then
4847 # Preload the old-style object. 4847 # Preload the old-style object.
@@ -4850,7 +4850,7 @@ Index: binutils-2.21/ltmain.sh
4850 prev= 4850 prev=
4851 fi 4851 fi
4852 4852
4853@@ -4557,12 +5413,12 @@ 4853@@ -4557,12 +5413,12 @@ func_mode_link ()
4854 if test "$prev" = rpath; then 4854 if test "$prev" = rpath; then
4855 case "$rpath " in 4855 case "$rpath " in
4856 *" $arg "*) ;; 4856 *" $arg "*) ;;
@@ -4865,7 +4865,7 @@ Index: binutils-2.21/ltmain.sh
4865 esac 4865 esac
4866 fi 4866 fi
4867 prev= 4867 prev=
4868@@ -4574,28 +5430,28 @@ 4868@@ -4574,28 +5430,28 @@ func_mode_link ()
4869 continue 4869 continue
4870 ;; 4870 ;;
4871 weak) 4871 weak)
@@ -4900,7 +4900,7 @@ Index: binutils-2.21/ltmain.sh
4900 prev= 4900 prev=
4901 func_append compile_command " $wl$qarg" 4901 func_append compile_command " $wl$qarg"
4902 func_append finalize_command " $wl$qarg" 4902 func_append finalize_command " $wl$qarg"
4903@@ -4686,15 +5542,16 @@ 4903@@ -4686,15 +5542,16 @@ func_mode_link ()
4904 ;; 4904 ;;
4905 4905
4906 -L*) 4906 -L*)
@@ -4920,7 +4920,7 @@ Index: binutils-2.21/ltmain.sh
4920 # We need an absolute path. 4920 # We need an absolute path.
4921 case $dir in 4921 case $dir in
4922 [\\/]* | [A-Za-z]:[\\/]*) ;; 4922 [\\/]* | [A-Za-z]:[\\/]*) ;;
4923@@ -4706,10 +5563,16 @@ 4923@@ -4706,10 +5563,16 @@ func_mode_link ()
4924 ;; 4924 ;;
4925 esac 4925 esac
4926 case "$deplibs " in 4926 case "$deplibs " in
@@ -4940,7 +4940,7 @@ Index: binutils-2.21/ltmain.sh
4940 ;; 4940 ;;
4941 esac 4941 esac
4942 case $host in 4942 case $host in
4943@@ -4718,12 +5581,12 @@ 4943@@ -4718,12 +5581,12 @@ func_mode_link ()
4944 case :$dllsearchpath: in 4944 case :$dllsearchpath: in
4945 *":$dir:"*) ;; 4945 *":$dir:"*) ;;
4946 ::) dllsearchpath=$dir;; 4946 ::) dllsearchpath=$dir;;
@@ -4955,7 +4955,7 @@ Index: binutils-2.21/ltmain.sh
4955 esac 4955 esac
4956 ;; 4956 ;;
4957 esac 4957 esac
4958@@ -4747,7 +5610,7 @@ 4958@@ -4747,7 +5610,7 @@ func_mode_link ()
4959 ;; 4959 ;;
4960 *-*-rhapsody* | *-*-darwin1.[012]) 4960 *-*-rhapsody* | *-*-darwin1.[012])
4961 # Rhapsody C and math libraries are in the System framework 4961 # Rhapsody C and math libraries are in the System framework
@@ -4964,7 +4964,7 @@ Index: binutils-2.21/ltmain.sh
4964 continue 4964 continue
4965 ;; 4965 ;;
4966 *-*-sco3.2v5* | *-*-sco5v6*) 4966 *-*-sco3.2v5* | *-*-sco5v6*)
4967@@ -4758,9 +5621,6 @@ 4967@@ -4758,9 +5621,6 @@ func_mode_link ()
4968 # Compiler inserts libc in the correct place for threads to work 4968 # Compiler inserts libc in the correct place for threads to work
4969 test "X$arg" = "X-lc" && continue 4969 test "X$arg" = "X-lc" && continue
4970 ;; 4970 ;;
@@ -4974,7 +4974,7 @@ Index: binutils-2.21/ltmain.sh
4974 esac 4974 esac
4975 elif test "X$arg" = "X-lc_r"; then 4975 elif test "X$arg" = "X-lc_r"; then
4976 case $host in 4976 case $host in
4977@@ -4770,7 +5630,7 @@ 4977@@ -4770,7 +5630,7 @@ func_mode_link ()
4978 ;; 4978 ;;
4979 esac 4979 esac
4980 fi 4980 fi
@@ -4983,7 +4983,7 @@ Index: binutils-2.21/ltmain.sh
4983 continue 4983 continue
4984 ;; 4984 ;;
4985 4985
4986@@ -4782,8 +5642,8 @@ 4986@@ -4782,8 +5642,8 @@ func_mode_link ()
4987 # Tru64 UNIX uses -model [arg] to determine the layout of C++ 4987 # Tru64 UNIX uses -model [arg] to determine the layout of C++
4988 # classes, name mangling, and exception handling. 4988 # classes, name mangling, and exception handling.
4989 # Darwin uses the -arch flag to determine output architecture. 4989 # Darwin uses the -arch flag to determine output architecture.
@@ -4994,7 +4994,7 @@ Index: binutils-2.21/ltmain.sh
4994 func_append compile_command " $arg" 4994 func_append compile_command " $arg"
4995 func_append finalize_command " $arg" 4995 func_append finalize_command " $arg"
4996 prev=xcompiler 4996 prev=xcompiler
4997@@ -4791,12 +5651,12 @@ 4997@@ -4791,12 +5651,12 @@ func_mode_link ()
4998 ;; 4998 ;;
4999 4999
5000 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) 5000 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
@@ -5009,7 +5009,7 @@ Index: binutils-2.21/ltmain.sh
5009 esac 5009 esac
5010 continue 5010 continue
5011 ;; 5011 ;;
5012@@ -4863,13 +5723,17 @@ 5012@@ -4863,13 +5723,17 @@ func_mode_link ()
5013 # We need an absolute path. 5013 # We need an absolute path.
5014 case $dir in 5014 case $dir in
5015 [\\/]* | [A-Za-z]:[\\/]*) ;; 5015 [\\/]* | [A-Za-z]:[\\/]*) ;;
@@ -5028,7 +5028,7 @@ Index: binutils-2.21/ltmain.sh
5028 esac 5028 esac
5029 continue 5029 continue
5030 ;; 5030 ;;
5031@@ -4922,8 +5786,8 @@ 5031@@ -4922,8 +5786,8 @@ func_mode_link ()
5032 for flag in $args; do 5032 for flag in $args; do
5033 IFS="$save_ifs" 5033 IFS="$save_ifs"
5034 func_quote_for_eval "$flag" 5034 func_quote_for_eval "$flag"
@@ -5039,7 +5039,7 @@ Index: binutils-2.21/ltmain.sh
5039 done 5039 done
5040 IFS="$save_ifs" 5040 IFS="$save_ifs"
5041 func_stripname ' ' '' "$arg" 5041 func_stripname ' ' '' "$arg"
5042@@ -4938,9 +5802,9 @@ 5042@@ -4938,9 +5802,9 @@ func_mode_link ()
5043 for flag in $args; do 5043 for flag in $args; do
5044 IFS="$save_ifs" 5044 IFS="$save_ifs"
5045 func_quote_for_eval "$flag" 5045 func_quote_for_eval "$flag"
@@ -5052,7 +5052,7 @@ Index: binutils-2.21/ltmain.sh
5052 done 5052 done
5053 IFS="$save_ifs" 5053 IFS="$save_ifs"
5054 func_stripname ' ' '' "$arg" 5054 func_stripname ' ' '' "$arg"
5055@@ -4968,24 +5832,27 @@ 5055@@ -4968,24 +5832,27 @@ func_mode_link ()
5056 arg="$func_quote_for_eval_result" 5056 arg="$func_quote_for_eval_result"
5057 ;; 5057 ;;
5058 5058
@@ -5093,7 +5093,7 @@ Index: binutils-2.21/ltmain.sh
5093 continue 5093 continue
5094 ;; 5094 ;;
5095 5095
5096@@ -4997,7 +5864,7 @@ 5096@@ -4997,7 +5864,7 @@ func_mode_link ()
5097 5097
5098 *.$objext) 5098 *.$objext)
5099 # A standard object. 5099 # A standard object.
@@ -5102,7 +5102,7 @@ Index: binutils-2.21/ltmain.sh
5102 ;; 5102 ;;
5103 5103
5104 *.lo) 5104 *.lo)
5105@@ -5028,7 +5895,7 @@ 5105@@ -5028,7 +5895,7 @@ func_mode_link ()
5106 5106
5107 if test "$prev" = dlfiles; then 5107 if test "$prev" = dlfiles; then
5108 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then 5108 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
@@ -5111,7 +5111,7 @@ Index: binutils-2.21/ltmain.sh
5111 prev= 5111 prev=
5112 continue 5112 continue
5113 else 5113 else
5114@@ -5040,7 +5907,7 @@ 5114@@ -5040,7 +5907,7 @@ func_mode_link ()
5115 # CHECK ME: I think I busted this. -Ossama 5115 # CHECK ME: I think I busted this. -Ossama
5116 if test "$prev" = dlprefiles; then 5116 if test "$prev" = dlprefiles; then
5117 # Preload the old-style object. 5117 # Preload the old-style object.
@@ -5120,7 +5120,7 @@ Index: binutils-2.21/ltmain.sh
5120 prev= 5120 prev=
5121 fi 5121 fi
5122 5122
5123@@ -5085,24 +5952,25 @@ 5123@@ -5085,24 +5952,25 @@ func_mode_link ()
5124 5124
5125 *.$libext) 5125 *.$libext)
5126 # An archive. 5126 # An archive.
@@ -5151,7 +5151,7 @@ Index: binutils-2.21/ltmain.sh
5151 fi 5151 fi
5152 continue 5152 continue
5153 ;; 5153 ;;
5154@@ -5127,7 +5995,7 @@ 5154@@ -5127,7 +5995,7 @@ func_mode_link ()
5155 func_fatal_help "the \`$prevarg' option requires an argument" 5155 func_fatal_help "the \`$prevarg' option requires an argument"
5156 5156
5157 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then 5157 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
@@ -5160,7 +5160,7 @@ Index: binutils-2.21/ltmain.sh
5160 func_append compile_command " $arg" 5160 func_append compile_command " $arg"
5161 func_append finalize_command " $arg" 5161 func_append finalize_command " $arg"
5162 fi 5162 fi
5163@@ -5144,11 +6012,13 @@ 5163@@ -5144,11 +6012,13 @@ func_mode_link ()
5164 else 5164 else
5165 shlib_search_path= 5165 shlib_search_path=
5166 fi 5166 fi
@@ -5176,7 +5176,7 @@ Index: binutils-2.21/ltmain.sh
5176 # Create the object directory. 5176 # Create the object directory.
5177 func_mkdir_p "$output_objdir" 5177 func_mkdir_p "$output_objdir"
5178 5178
5179@@ -5169,12 +6039,12 @@ 5179@@ -5169,12 +6039,12 @@ func_mode_link ()
5180 # Find all interdependent deplibs by searching for libraries 5180 # Find all interdependent deplibs by searching for libraries
5181 # that are linked more than once (e.g. -la -lb -la) 5181 # that are linked more than once (e.g. -la -lb -la)
5182 for deplib in $deplibs; do 5182 for deplib in $deplibs; do
@@ -5192,7 +5192,7 @@ Index: binutils-2.21/ltmain.sh
5192 done 5192 done
5193 5193
5194 if test "$linkmode" = lib; then 5194 if test "$linkmode" = lib; then
5195@@ -5187,9 +6057,9 @@ 5195@@ -5187,9 +6057,9 @@ func_mode_link ()
5196 if $opt_duplicate_compiler_generated_deps; then 5196 if $opt_duplicate_compiler_generated_deps; then
5197 for pre_post_dep in $predeps $postdeps; do 5197 for pre_post_dep in $predeps $postdeps; do
5198 case "$pre_post_deps " in 5198 case "$pre_post_deps " in
@@ -5204,7 +5204,7 @@ Index: binutils-2.21/ltmain.sh
5204 done 5204 done
5205 fi 5205 fi
5206 pre_post_deps= 5206 pre_post_deps=
5207@@ -5256,8 +6126,9 @@ 5207@@ -5256,8 +6126,9 @@ func_mode_link ()
5208 for lib in $dlprefiles; do 5208 for lib in $dlprefiles; do
5209 # Ignore non-libtool-libs 5209 # Ignore non-libtool-libs
5210 dependency_libs= 5210 dependency_libs=
@@ -5215,7 +5215,7 @@ Index: binutils-2.21/ltmain.sh
5215 esac 5215 esac
5216 5216
5217 # Collect preopened libtool deplibs, except any this library 5217 # Collect preopened libtool deplibs, except any this library
5218@@ -5267,7 +6138,7 @@ 5218@@ -5267,7 +6138,7 @@ func_mode_link ()
5219 deplib_base=$func_basename_result 5219 deplib_base=$func_basename_result
5220 case " $weak_libs " in 5220 case " $weak_libs " in
5221 *" $deplib_base "*) ;; 5221 *" $deplib_base "*) ;;
@@ -5224,7 +5224,7 @@ Index: binutils-2.21/ltmain.sh
5224 esac 5224 esac
5225 done 5225 done
5226 done 5226 done
5227@@ -5288,11 +6159,11 @@ 5227@@ -5288,11 +6159,11 @@ func_mode_link ()
5228 compile_deplibs="$deplib $compile_deplibs" 5228 compile_deplibs="$deplib $compile_deplibs"
5229 finalize_deplibs="$deplib $finalize_deplibs" 5229 finalize_deplibs="$deplib $finalize_deplibs"
5230 else 5230 else
@@ -5238,7 +5238,7 @@ Index: binutils-2.21/ltmain.sh
5238 esac 5238 esac
5239 fi 5239 fi
5240 fi 5240 fi
5241@@ -5377,7 +6248,7 @@ 5241@@ -5377,7 +6248,7 @@ func_mode_link ()
5242 if test "$linkmode" = lib ; then 5242 if test "$linkmode" = lib ; then
5243 case "$new_inherited_linker_flags " in 5243 case "$new_inherited_linker_flags " in
5244 *" $deplib "*) ;; 5244 *" $deplib "*) ;;
@@ -5247,7 +5247,7 @@ Index: binutils-2.21/ltmain.sh
5247 esac 5247 esac
5248 fi 5248 fi
5249 fi 5249 fi
5250@@ -5390,7 +6261,8 @@ 5250@@ -5390,7 +6261,8 @@ func_mode_link ()
5251 test "$pass" = conv && continue 5251 test "$pass" = conv && continue
5252 newdependency_libs="$deplib $newdependency_libs" 5252 newdependency_libs="$deplib $newdependency_libs"
5253 func_stripname '-L' '' "$deplib" 5253 func_stripname '-L' '' "$deplib"
@@ -5257,7 +5257,7 @@ Index: binutils-2.21/ltmain.sh
5257 ;; 5257 ;;
5258 prog) 5258 prog)
5259 if test "$pass" = conv; then 5259 if test "$pass" = conv; then
5260@@ -5404,7 +6276,8 @@ 5260@@ -5404,7 +6276,8 @@ func_mode_link ()
5261 finalize_deplibs="$deplib $finalize_deplibs" 5261 finalize_deplibs="$deplib $finalize_deplibs"
5262 fi 5262 fi
5263 func_stripname '-L' '' "$deplib" 5263 func_stripname '-L' '' "$deplib"
@@ -5267,7 +5267,7 @@ Index: binutils-2.21/ltmain.sh
5267 ;; 5267 ;;
5268 *) 5268 *)
5269 func_warning "\`-L' is ignored for archives/objects" 5269 func_warning "\`-L' is ignored for archives/objects"
5270@@ -5415,17 +6288,21 @@ 5270@@ -5415,17 +6288,21 @@ func_mode_link ()
5271 -R*) 5271 -R*)
5272 if test "$pass" = link; then 5272 if test "$pass" = link; then
5273 func_stripname '-R' '' "$deplib" 5273 func_stripname '-R' '' "$deplib"
@@ -5292,7 +5292,7 @@ Index: binutils-2.21/ltmain.sh
5292 *.$libext) 5292 *.$libext)
5293 if test "$pass" = conv; then 5293 if test "$pass" = conv; then
5294 deplibs="$deplib $deplibs" 5294 deplibs="$deplib $deplibs"
5295@@ -5488,11 +6365,11 @@ 5295@@ -5488,11 +6365,11 @@ func_mode_link ()
5296 if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then 5296 if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
5297 # If there is no dlopen support or we're linking statically, 5297 # If there is no dlopen support or we're linking statically,
5298 # we need to preload. 5298 # we need to preload.
@@ -5306,7 +5306,7 @@ Index: binutils-2.21/ltmain.sh
5306 fi 5306 fi
5307 fi 5307 fi
5308 continue 5308 continue
5309@@ -5538,7 +6415,7 @@ 5309@@ -5538,7 +6415,7 @@ func_mode_link ()
5310 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do 5310 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
5311 case " $new_inherited_linker_flags " in 5311 case " $new_inherited_linker_flags " in
5312 *" $tmp_inherited_linker_flag "*) ;; 5312 *" $tmp_inherited_linker_flag "*) ;;
@@ -5315,7 +5315,7 @@ Index: binutils-2.21/ltmain.sh
5315 esac 5315 esac
5316 done 5316 done
5317 fi 5317 fi
5318@@ -5546,8 +6423,8 @@ 5318@@ -5546,8 +6423,8 @@ func_mode_link ()
5319 if test "$linkmode,$pass" = "lib,link" || 5319 if test "$linkmode,$pass" = "lib,link" ||
5320 test "$linkmode,$pass" = "prog,scan" || 5320 test "$linkmode,$pass" = "prog,scan" ||
5321 { test "$linkmode" != prog && test "$linkmode" != lib; }; then 5321 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
@@ -5326,7 +5326,7 @@ Index: binutils-2.21/ltmain.sh
5326 fi 5326 fi
5327 5327
5328 if test "$pass" = conv; then 5328 if test "$pass" = conv; then
5329@@ -5558,20 +6435,20 @@ 5329@@ -5558,20 +6435,20 @@ func_mode_link ()
5330 func_fatal_error "cannot find name of link library for \`$lib'" 5330 func_fatal_error "cannot find name of link library for \`$lib'"
5331 fi 5331 fi
5332 # It is a libtool convenience library, so add in its objects. 5332 # It is a libtool convenience library, so add in its objects.
@@ -5352,7 +5352,7 @@ Index: binutils-2.21/ltmain.sh
5352 done 5352 done
5353 continue 5353 continue
5354 fi # $pass = conv 5354 fi # $pass = conv
5355@@ -5579,9 +6456,15 @@ 5355@@ -5579,9 +6456,15 @@ func_mode_link ()
5356 5356
5357 # Get the name of the library we link against. 5357 # Get the name of the library we link against.
5358 linklib= 5358 linklib=
@@ -5371,7 +5371,7 @@ Index: binutils-2.21/ltmain.sh
5371 if test -z "$linklib"; then 5371 if test -z "$linklib"; then
5372 func_fatal_error "cannot find name of link library for \`$lib'" 5372 func_fatal_error "cannot find name of link library for \`$lib'"
5373 fi 5373 fi
5374@@ -5598,9 +6481,9 @@ 5374@@ -5598,9 +6481,9 @@ func_mode_link ()
5375 # statically, we need to preload. We also need to preload any 5375 # statically, we need to preload. We also need to preload any
5376 # dependent libraries so libltdl's deplib preloader doesn't 5376 # dependent libraries so libltdl's deplib preloader doesn't
5377 # bomb out in the load deplibs phase. 5377 # bomb out in the load deplibs phase.
@@ -5383,7 +5383,7 @@ Index: binutils-2.21/ltmain.sh
5383 fi 5383 fi
5384 continue 5384 continue
5385 fi # $pass = dlopen 5385 fi # $pass = dlopen
5386@@ -5622,14 +6505,14 @@ 5386@@ -5622,14 +6505,14 @@ func_mode_link ()
5387 5387
5388 # Find the relevant object directory and library name. 5388 # Find the relevant object directory and library name.
5389 if test "X$installed" = Xyes; then 5389 if test "X$installed" = Xyes; then
@@ -5401,7 +5401,7 @@ Index: binutils-2.21/ltmain.sh
5401 fi 5401 fi
5402 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes 5402 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
5403 else 5403 else
5404@@ -5637,12 +6520,12 @@ 5404@@ -5637,12 +6520,12 @@ func_mode_link ()
5405 dir="$ladir" 5405 dir="$ladir"
5406 absdir="$abs_ladir" 5406 absdir="$abs_ladir"
5407 # Remove this search path later 5407 # Remove this search path later
@@ -5416,7 +5416,7 @@ Index: binutils-2.21/ltmain.sh
5416 fi 5416 fi
5417 fi # $installed = yes 5417 fi # $installed = yes
5418 func_stripname 'lib' '.la' "$laname" 5418 func_stripname 'lib' '.la' "$laname"
5419@@ -5653,20 +6536,46 @@ 5419@@ -5653,20 +6536,46 @@ func_mode_link ()
5420 if test -z "$libdir" && test "$linkmode" = prog; then 5420 if test -z "$libdir" && test "$linkmode" = prog; then
5421 func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" 5421 func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
5422 fi 5422 fi
@@ -5477,7 +5477,7 @@ Index: binutils-2.21/ltmain.sh
5477 fi # $pass = dlpreopen 5477 fi # $pass = dlpreopen
5478 5478
5479 if test -z "$libdir"; then 5479 if test -z "$libdir"; then
5480@@ -5684,7 +6593,7 @@ 5480@@ -5684,7 +6593,7 @@ func_mode_link ()
5481 5481
5482 5482
5483 if test "$linkmode" = prog && test "$pass" != link; then 5483 if test "$linkmode" = prog && test "$pass" != link; then
@@ -5486,7 +5486,7 @@ Index: binutils-2.21/ltmain.sh
5486 deplibs="$lib $deplibs" 5486 deplibs="$lib $deplibs"
5487 5487
5488 linkalldeplibs=no 5488 linkalldeplibs=no
5489@@ -5697,7 +6606,8 @@ 5489@@ -5697,7 +6606,8 @@ func_mode_link ()
5490 for deplib in $dependency_libs; do 5490 for deplib in $dependency_libs; do
5491 case $deplib in 5491 case $deplib in
5492 -L*) func_stripname '-L' '' "$deplib" 5492 -L*) func_stripname '-L' '' "$deplib"
@@ -5496,7 +5496,7 @@ Index: binutils-2.21/ltmain.sh
5496 ;; 5496 ;;
5497 esac 5497 esac
5498 # Need to link against all dependency_libs? 5498 # Need to link against all dependency_libs?
5499@@ -5708,12 +6618,12 @@ 5499@@ -5708,12 +6618,12 @@ func_mode_link ()
5500 # or/and link against static libraries 5500 # or/and link against static libraries
5501 newdependency_libs="$deplib $newdependency_libs" 5501 newdependency_libs="$deplib $newdependency_libs"
5502 fi 5502 fi
@@ -5512,7 +5512,7 @@ Index: binutils-2.21/ltmain.sh
5512 done # for deplib 5512 done # for deplib
5513 continue 5513 continue
5514 fi # $linkmode = prog... 5514 fi # $linkmode = prog...
5515@@ -5728,7 +6638,7 @@ 5515@@ -5728,7 +6638,7 @@ func_mode_link ()
5516 # Make sure the rpath contains only unique directories. 5516 # Make sure the rpath contains only unique directories.
5517 case "$temp_rpath:" in 5517 case "$temp_rpath:" in
5518 *"$absdir:"*) ;; 5518 *"$absdir:"*) ;;
@@ -5521,7 +5521,7 @@ Index: binutils-2.21/ltmain.sh
5521 esac 5521 esac
5522 fi 5522 fi
5523 5523
5524@@ -5740,7 +6650,7 @@ 5524@@ -5740,7 +6650,7 @@ func_mode_link ()
5525 *) 5525 *)
5526 case "$compile_rpath " in 5526 case "$compile_rpath " in
5527 *" $absdir "*) ;; 5527 *" $absdir "*) ;;
@@ -5530,7 +5530,7 @@ Index: binutils-2.21/ltmain.sh
5530 esac 5530 esac
5531 ;; 5531 ;;
5532 esac 5532 esac
5533@@ -5749,7 +6659,7 @@ 5533@@ -5749,7 +6659,7 @@ func_mode_link ()
5534 *) 5534 *)
5535 case "$finalize_rpath " in 5535 case "$finalize_rpath " in
5536 *" $libdir "*) ;; 5536 *" $libdir "*) ;;
@@ -5539,7 +5539,7 @@ Index: binutils-2.21/ltmain.sh
5539 esac 5539 esac
5540 ;; 5540 ;;
5541 esac 5541 esac
5542@@ -5774,12 +6684,12 @@ 5542@@ -5774,12 +6684,12 @@ func_mode_link ()
5543 case $host in 5543 case $host in
5544 *cygwin* | *mingw* | *cegcc*) 5544 *cygwin* | *mingw* | *cegcc*)
5545 # No point in relinking DLLs because paths are not encoded 5545 # No point in relinking DLLs because paths are not encoded
@@ -5554,7 +5554,7 @@ Index: binutils-2.21/ltmain.sh
5554 need_relink=yes 5554 need_relink=yes
5555 fi 5555 fi
5556 ;; 5556 ;;
5557@@ -5814,7 +6724,7 @@ 5557@@ -5814,7 +6724,7 @@ func_mode_link ()
5558 *) 5558 *)
5559 case "$compile_rpath " in 5559 case "$compile_rpath " in
5560 *" $absdir "*) ;; 5560 *" $absdir "*) ;;
@@ -5563,7 +5563,7 @@ Index: binutils-2.21/ltmain.sh
5563 esac 5563 esac
5564 ;; 5564 ;;
5565 esac 5565 esac
5566@@ -5823,7 +6733,7 @@ 5566@@ -5823,7 +6733,7 @@ func_mode_link ()
5567 *) 5567 *)
5568 case "$finalize_rpath " in 5568 case "$finalize_rpath " in
5569 *" $libdir "*) ;; 5569 *" $libdir "*) ;;
@@ -5572,7 +5572,7 @@ Index: binutils-2.21/ltmain.sh
5572 esac 5572 esac
5573 ;; 5573 ;;
5574 esac 5574 esac
5575@@ -5835,7 +6745,7 @@ 5575@@ -5835,7 +6745,7 @@ func_mode_link ()
5576 shift 5576 shift
5577 realname="$1" 5577 realname="$1"
5578 shift 5578 shift
@@ -5581,7 +5581,7 @@ Index: binutils-2.21/ltmain.sh
5581 # use dlname if we got it. it's perfectly good, no? 5581 # use dlname if we got it. it's perfectly good, no?
5582 if test -n "$dlname"; then 5582 if test -n "$dlname"; then
5583 soname="$dlname" 5583 soname="$dlname"
5584@@ -5848,7 +6758,7 @@ 5584@@ -5848,7 +6758,7 @@ func_mode_link ()
5585 versuffix="-$major" 5585 versuffix="-$major"
5586 ;; 5586 ;;
5587 esac 5587 esac
@@ -5590,7 +5590,7 @@ Index: binutils-2.21/ltmain.sh
5590 else 5590 else
5591 soname="$realname" 5591 soname="$realname"
5592 fi 5592 fi
5593@@ -5877,7 +6787,7 @@ 5593@@ -5877,7 +6787,7 @@ func_mode_link ()
5594 linklib=$newlib 5594 linklib=$newlib
5595 fi # test -n "$old_archive_from_expsyms_cmds" 5595 fi # test -n "$old_archive_from_expsyms_cmds"
5596 5596
@@ -5599,7 +5599,7 @@ Index: binutils-2.21/ltmain.sh
5599 add_shlibpath= 5599 add_shlibpath=
5600 add_dir= 5600 add_dir=
5601 add= 5601 add=
5602@@ -5933,7 +6843,7 @@ 5602@@ -5933,7 +6843,7 @@ func_mode_link ()
5603 if test -n "$inst_prefix_dir"; then 5603 if test -n "$inst_prefix_dir"; then
5604 case $libdir in 5604 case $libdir in
5605 [\\/]*) 5605 [\\/]*)
@@ -5608,7 +5608,7 @@ Index: binutils-2.21/ltmain.sh
5608 ;; 5608 ;;
5609 esac 5609 esac
5610 fi 5610 fi
5611@@ -5955,7 +6865,7 @@ 5611@@ -5955,7 +6865,7 @@ func_mode_link ()
5612 if test -n "$add_shlibpath"; then 5612 if test -n "$add_shlibpath"; then
5613 case :$compile_shlibpath: in 5613 case :$compile_shlibpath: in
5614 *":$add_shlibpath:"*) ;; 5614 *":$add_shlibpath:"*) ;;
@@ -5617,7 +5617,7 @@ Index: binutils-2.21/ltmain.sh
5617 esac 5617 esac
5618 fi 5618 fi
5619 if test "$linkmode" = prog; then 5619 if test "$linkmode" = prog; then
5620@@ -5969,13 +6879,13 @@ 5620@@ -5969,13 +6879,13 @@ func_mode_link ()
5621 test "$hardcode_shlibpath_var" = yes; then 5621 test "$hardcode_shlibpath_var" = yes; then
5622 case :$finalize_shlibpath: in 5622 case :$finalize_shlibpath: in
5623 *":$libdir:"*) ;; 5623 *":$libdir:"*) ;;
@@ -5633,7 +5633,7 @@ Index: binutils-2.21/ltmain.sh
5633 add_shlibpath= 5633 add_shlibpath=
5634 add_dir= 5634 add_dir=
5635 add= 5635 add=
5636@@ -5989,7 +6899,7 @@ 5636@@ -5989,7 +6899,7 @@ func_mode_link ()
5637 elif test "$hardcode_shlibpath_var" = yes; then 5637 elif test "$hardcode_shlibpath_var" = yes; then
5638 case :$finalize_shlibpath: in 5638 case :$finalize_shlibpath: in
5639 *":$libdir:"*) ;; 5639 *":$libdir:"*) ;;
@@ -5642,7 +5642,7 @@ Index: binutils-2.21/ltmain.sh
5642 esac 5642 esac
5643 add="-l$name" 5643 add="-l$name"
5644 elif test "$hardcode_automatic" = yes; then 5644 elif test "$hardcode_automatic" = yes; then
5645@@ -6001,12 +6911,12 @@ 5645@@ -6001,12 +6911,12 @@ func_mode_link ()
5646 fi 5646 fi
5647 else 5647 else
5648 # We cannot seem to hardcode it, guess we'll fake it. 5648 # We cannot seem to hardcode it, guess we'll fake it.
@@ -5657,7 +5657,7 @@ Index: binutils-2.21/ltmain.sh
5657 ;; 5657 ;;
5658 esac 5658 esac
5659 fi 5659 fi
5660@@ -6083,27 +6993,33 @@ 5660@@ -6083,27 +6993,33 @@ func_mode_link ()
5661 temp_xrpath=$func_stripname_result 5661 temp_xrpath=$func_stripname_result
5662 case " $xrpath " in 5662 case " $xrpath " in
5663 *" $temp_xrpath "*) ;; 5663 *" $temp_xrpath "*) ;;
@@ -5697,7 +5697,7 @@ Index: binutils-2.21/ltmain.sh
5697 done 5697 done
5698 5698
5699 if test "$link_all_deplibs" != no; then 5699 if test "$link_all_deplibs" != no; then
5700@@ -6113,8 +7029,10 @@ 5700@@ -6113,8 +7029,10 @@ func_mode_link ()
5701 case $deplib in 5701 case $deplib in
5702 -L*) path="$deplib" ;; 5702 -L*) path="$deplib" ;;
5703 *.la) 5703 *.la)
@@ -5709,7 +5709,7 @@ Index: binutils-2.21/ltmain.sh
5709 # We need an absolute path. 5709 # We need an absolute path.
5710 case $dir in 5710 case $dir in
5711 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; 5711 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
5712@@ -6130,7 +7048,7 @@ 5712@@ -6130,7 +7048,7 @@ func_mode_link ()
5713 case $host in 5713 case $host in
5714 *-*-darwin*) 5714 *-*-darwin*)
5715 depdepl= 5715 depdepl=
@@ -5718,7 +5718,7 @@ Index: binutils-2.21/ltmain.sh
5718 if test -n "$deplibrary_names" ; then 5718 if test -n "$deplibrary_names" ; then
5719 for tmp in $deplibrary_names ; do 5719 for tmp in $deplibrary_names ; do
5720 depdepl=$tmp 5720 depdepl=$tmp
5721@@ -6141,8 +7059,8 @@ 5721@@ -6141,8 +7059,8 @@ func_mode_link ()
5722 if test -z "$darwin_install_name"; then 5722 if test -z "$darwin_install_name"; then
5723 darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` 5723 darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
5724 fi 5724 fi
@@ -5729,7 +5729,7 @@ Index: binutils-2.21/ltmain.sh
5729 path= 5729 path=
5730 fi 5730 fi
5731 fi 5731 fi
5732@@ -6152,7 +7070,7 @@ 5732@@ -6152,7 +7070,7 @@ func_mode_link ()
5733 ;; 5733 ;;
5734 esac 5734 esac
5735 else 5735 else
@@ -5738,7 +5738,7 @@ Index: binutils-2.21/ltmain.sh
5738 test -z "$libdir" && \ 5738 test -z "$libdir" && \
5739 func_fatal_error "\`$deplib' is not a valid libtool archive" 5739 func_fatal_error "\`$deplib' is not a valid libtool archive"
5740 test "$absdir" != "$libdir" && \ 5740 test "$absdir" != "$libdir" && \
5741@@ -6192,7 +7110,7 @@ 5741@@ -6192,7 +7110,7 @@ func_mode_link ()
5742 for dir in $newlib_search_path; do 5742 for dir in $newlib_search_path; do
5743 case "$lib_search_path " in 5743 case "$lib_search_path " in
5744 *" $dir "*) ;; 5744 *" $dir "*) ;;
@@ -5747,7 +5747,7 @@ Index: binutils-2.21/ltmain.sh
5747 esac 5747 esac
5748 done 5748 done
5749 newlib_search_path= 5749 newlib_search_path=
5750@@ -6205,7 +7123,7 @@ 5750@@ -6205,7 +7123,7 @@ func_mode_link ()
5751 fi 5751 fi
5752 for var in $vars dependency_libs; do 5752 for var in $vars dependency_libs; do
5753 # Add libraries to $var in reverse order 5753 # Add libraries to $var in reverse order
@@ -5756,7 +5756,7 @@ Index: binutils-2.21/ltmain.sh
5756 new_libs= 5756 new_libs=
5757 for deplib in $tmp_libs; do 5757 for deplib in $tmp_libs; do
5758 # FIXME: Pedantically, this is the right thing to do, so 5758 # FIXME: Pedantically, this is the right thing to do, so
5759@@ -6250,13 +7168,13 @@ 5759@@ -6250,13 +7168,13 @@ func_mode_link ()
5760 -L*) 5760 -L*)
5761 case " $tmp_libs " in 5761 case " $tmp_libs " in
5762 *" $deplib "*) ;; 5762 *" $deplib "*) ;;
@@ -5773,7 +5773,7 @@ Index: binutils-2.21/ltmain.sh
5773 done # for var 5773 done # for var
5774 fi 5774 fi
5775 # Last step: remove runtime libs from dependency_libs 5775 # Last step: remove runtime libs from dependency_libs
5776@@ -6269,7 +7187,7 @@ 5776@@ -6269,7 +7187,7 @@ func_mode_link ()
5777 ;; 5777 ;;
5778 esac 5778 esac
5779 if test -n "$i" ; then 5779 if test -n "$i" ; then
@@ -5782,7 +5782,7 @@ Index: binutils-2.21/ltmain.sh
5782 fi 5782 fi
5783 done 5783 done
5784 dependency_libs=$tmp_libs 5784 dependency_libs=$tmp_libs
5785@@ -6310,7 +7228,7 @@ 5785@@ -6310,7 +7228,7 @@ func_mode_link ()
5786 # Now set the variables for building old libraries. 5786 # Now set the variables for building old libraries.
5787 build_libtool_libs=no 5787 build_libtool_libs=no
5788 oldlibs="$output" 5788 oldlibs="$output"
@@ -5791,7 +5791,7 @@ Index: binutils-2.21/ltmain.sh
5791 ;; 5791 ;;
5792 5792
5793 lib) 5793 lib)
5794@@ -6319,8 +7237,8 @@ 5794@@ -6319,8 +7237,8 @@ func_mode_link ()
5795 lib*) 5795 lib*)
5796 func_stripname 'lib' '.la' "$outputname" 5796 func_stripname 'lib' '.la' "$outputname"
5797 name=$func_stripname_result 5797 name=$func_stripname_result
@@ -5802,7 +5802,7 @@ Index: binutils-2.21/ltmain.sh
5802 ;; 5802 ;;
5803 *) 5803 *)
5804 test "$module" = no && \ 5804 test "$module" = no && \
5805@@ -6330,8 +7248,8 @@ 5805@@ -6330,8 +7248,8 @@ func_mode_link ()
5806 # Add the "lib" prefix for modules if required 5806 # Add the "lib" prefix for modules if required
5807 func_stripname '' '.la' "$outputname" 5807 func_stripname '' '.la' "$outputname"
5808 name=$func_stripname_result 5808 name=$func_stripname_result
@@ -5813,7 +5813,7 @@ Index: binutils-2.21/ltmain.sh
5813 else 5813 else
5814 func_stripname '' '.la' "$outputname" 5814 func_stripname '' '.la' "$outputname"
5815 libname=$func_stripname_result 5815 libname=$func_stripname_result
5816@@ -6346,7 +7264,7 @@ 5816@@ -6346,7 +7264,7 @@ func_mode_link ()
5817 echo 5817 echo
5818 $ECHO "*** Warning: Linking the shared library $output against the non-libtool" 5818 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
5819 $ECHO "*** objects $objs is not portable!" 5819 $ECHO "*** objects $objs is not portable!"
@@ -5822,7 +5822,7 @@ Index: binutils-2.21/ltmain.sh
5822 fi 5822 fi
5823 fi 5823 fi
5824 5824
5825@@ -6544,7 +7462,7 @@ 5825@@ -6544,7 +7462,7 @@ func_mode_link ()
5826 done 5826 done
5827 5827
5828 # Make executables depend on our current version. 5828 # Make executables depend on our current version.
@@ -5831,7 +5831,7 @@ Index: binutils-2.21/ltmain.sh
5831 ;; 5831 ;;
5832 5832
5833 qnx) 5833 qnx)
5834@@ -6612,10 +7530,10 @@ 5834@@ -6612,10 +7530,10 @@ func_mode_link ()
5835 fi 5835 fi
5836 5836
5837 func_generate_dlsyms "$libname" "$libname" "yes" 5837 func_generate_dlsyms "$libname" "$libname" "yes"
@@ -5844,7 +5844,7 @@ Index: binutils-2.21/ltmain.sh
5844 # Remove our outputs, but don't remove object files since they 5844 # Remove our outputs, but don't remove object files since they
5845 # may have been created when compiling PIC objects. 5845 # may have been created when compiling PIC objects.
5846 removelist= 5846 removelist=
5847@@ -6631,7 +7549,7 @@ 5847@@ -6631,7 +7549,7 @@ func_mode_link ()
5848 continue 5848 continue
5849 fi 5849 fi
5850 fi 5850 fi
@@ -5853,7 +5853,7 @@ Index: binutils-2.21/ltmain.sh
5853 ;; 5853 ;;
5854 *) ;; 5854 *) ;;
5855 esac 5855 esac
5856@@ -6642,7 +7560,7 @@ 5856@@ -6642,7 +7560,7 @@ func_mode_link ()
5857 5857
5858 # Now set the variables for building old libraries. 5858 # Now set the variables for building old libraries.
5859 if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then 5859 if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
@@ -5862,7 +5862,7 @@ Index: binutils-2.21/ltmain.sh
5862 5862
5863 # Transform .lo files to .o files. 5863 # Transform .lo files to .o files.
5864 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` 5864 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
5865@@ -6659,10 +7577,11 @@ 5865@@ -6659,10 +7577,11 @@ func_mode_link ()
5866 # If the user specified any rpath flags, then add them. 5866 # If the user specified any rpath flags, then add them.
5867 temp_xrpath= 5867 temp_xrpath=
5868 for libdir in $xrpath; do 5868 for libdir in $xrpath; do
@@ -5876,7 +5876,7 @@ Index: binutils-2.21/ltmain.sh
5876 esac 5876 esac
5877 done 5877 done
5878 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then 5878 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
5879@@ -6676,7 +7595,7 @@ 5879@@ -6676,7 +7595,7 @@ func_mode_link ()
5880 for lib in $old_dlfiles; do 5880 for lib in $old_dlfiles; do
5881 case " $dlprefiles $dlfiles " in 5881 case " $dlprefiles $dlfiles " in
5882 *" $lib "*) ;; 5882 *" $lib "*) ;;
@@ -5885,7 +5885,7 @@ Index: binutils-2.21/ltmain.sh
5885 esac 5885 esac
5886 done 5886 done
5887 5887
5888@@ -6686,7 +7605,7 @@ 5888@@ -6686,7 +7605,7 @@ func_mode_link ()
5889 for lib in $old_dlprefiles; do 5889 for lib in $old_dlprefiles; do
5890 case "$dlprefiles " in 5890 case "$dlprefiles " in
5891 *" $lib "*) ;; 5891 *" $lib "*) ;;
@@ -5894,7 +5894,7 @@ Index: binutils-2.21/ltmain.sh
5894 esac 5894 esac
5895 done 5895 done
5896 5896
5897@@ -6698,7 +7617,7 @@ 5897@@ -6698,7 +7617,7 @@ func_mode_link ()
5898 ;; 5898 ;;
5899 *-*-rhapsody* | *-*-darwin1.[012]) 5899 *-*-rhapsody* | *-*-darwin1.[012])
5900 # Rhapsody C library is in the System framework 5900 # Rhapsody C library is in the System framework
@@ -5903,7 +5903,7 @@ Index: binutils-2.21/ltmain.sh
5903 ;; 5903 ;;
5904 *-*-netbsd*) 5904 *-*-netbsd*)
5905 # Don't link with libc until the a.out ld.so is fixed. 5905 # Don't link with libc until the a.out ld.so is fixed.
5906@@ -6715,7 +7634,7 @@ 5906@@ -6715,7 +7634,7 @@ func_mode_link ()
5907 *) 5907 *)
5908 # Add libc to deplibs on all other systems if necessary. 5908 # Add libc to deplibs on all other systems if necessary.
5909 if test "$build_libtool_need_lc" = "yes"; then 5909 if test "$build_libtool_need_lc" = "yes"; then
@@ -5912,7 +5912,7 @@ Index: binutils-2.21/ltmain.sh
5912 fi 5912 fi
5913 ;; 5913 ;;
5914 esac 5914 esac
5915@@ -6764,18 +7683,18 @@ 5915@@ -6764,18 +7683,18 @@ EOF
5916 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 5916 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
5917 case " $predeps $postdeps " in 5917 case " $predeps $postdeps " in
5918 *" $i "*) 5918 *" $i "*)
@@ -5935,7 +5935,7 @@ Index: binutils-2.21/ltmain.sh
5935 else 5935 else
5936 droppeddeps=yes 5936 droppeddeps=yes
5937 echo 5937 echo
5938@@ -6789,7 +7708,7 @@ 5938@@ -6789,7 +7708,7 @@ EOF
5939 fi 5939 fi
5940 ;; 5940 ;;
5941 *) 5941 *)
@@ -5944,7 +5944,7 @@ Index: binutils-2.21/ltmain.sh
5944 ;; 5944 ;;
5945 esac 5945 esac
5946 done 5946 done
5947@@ -6807,18 +7726,18 @@ 5947@@ -6807,18 +7726,18 @@ EOF
5948 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 5948 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
5949 case " $predeps $postdeps " in 5949 case " $predeps $postdeps " in
5950 *" $i "*) 5950 *" $i "*)
@@ -5967,7 +5967,7 @@ Index: binutils-2.21/ltmain.sh
5967 else 5967 else
5968 droppeddeps=yes 5968 droppeddeps=yes
5969 echo 5969 echo
5970@@ -6840,7 +7759,7 @@ 5970@@ -6840,7 +7759,7 @@ EOF
5971 fi 5971 fi
5972 ;; 5972 ;;
5973 *) 5973 *)
@@ -5976,7 +5976,7 @@ Index: binutils-2.21/ltmain.sh
5976 ;; 5976 ;;
5977 esac 5977 esac
5978 done 5978 done
5979@@ -6857,15 +7776,27 @@ 5979@@ -6857,15 +7776,27 @@ EOF
5980 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 5980 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
5981 case " $predeps $postdeps " in 5981 case " $predeps $postdeps " in
5982 *" $a_deplib "*) 5982 *" $a_deplib "*)
@@ -6007,7 +6007,7 @@ Index: binutils-2.21/ltmain.sh
6007 for potent_lib in $potential_libs; do 6007 for potent_lib in $potential_libs; do
6008 # Follow soft links. 6008 # Follow soft links.
6009 if ls -lLd "$potent_lib" 2>/dev/null | 6009 if ls -lLd "$potent_lib" 2>/dev/null |
6010@@ -6885,10 +7816,10 @@ 6010@@ -6885,10 +7816,10 @@ EOF
6011 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; 6011 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
6012 esac 6012 esac
6013 done 6013 done
@@ -6020,7 +6020,7 @@ Index: binutils-2.21/ltmain.sh
6020 a_deplib="" 6020 a_deplib=""
6021 break 2 6021 break 2
6022 fi 6022 fi
6023@@ -6913,7 +7844,7 @@ 6023@@ -6913,7 +7844,7 @@ EOF
6024 ;; 6024 ;;
6025 *) 6025 *)
6026 # Add a -L argument. 6026 # Add a -L argument.
@@ -6029,7 +6029,7 @@ Index: binutils-2.21/ltmain.sh
6029 ;; 6029 ;;
6030 esac 6030 esac
6031 done # Gone through all deplibs. 6031 done # Gone through all deplibs.
6032@@ -6929,20 +7860,20 @@ 6032@@ -6929,20 +7860,20 @@ EOF
6033 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then 6033 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
6034 case " $predeps $postdeps " in 6034 case " $predeps $postdeps " in
6035 *" $a_deplib "*) 6035 *" $a_deplib "*)
@@ -6053,7 +6053,7 @@ Index: binutils-2.21/ltmain.sh
6053 a_deplib="" 6053 a_deplib=""
6054 break 2 6054 break 2
6055 fi 6055 fi
6056@@ -6967,7 +7898,7 @@ 6056@@ -6967,7 +7898,7 @@ EOF
6057 ;; 6057 ;;
6058 *) 6058 *)
6059 # Add a -L argument. 6059 # Add a -L argument.
@@ -6062,7 +6062,7 @@ Index: binutils-2.21/ltmain.sh
6062 ;; 6062 ;;
6063 esac 6063 esac
6064 done # Gone through all deplibs. 6064 done # Gone through all deplibs.
6065@@ -7071,7 +8002,7 @@ 6065@@ -7071,7 +8002,7 @@ EOF
6066 *) 6066 *)
6067 case " $deplibs " in 6067 case " $deplibs " in
6068 *" -L$path/$objdir "*) 6068 *" -L$path/$objdir "*)
@@ -6071,7 +6071,7 @@ Index: binutils-2.21/ltmain.sh
6071 esac 6071 esac
6072 ;; 6072 ;;
6073 esac 6073 esac
6074@@ -7081,10 +8012,10 @@ 6074@@ -7081,10 +8012,10 @@ EOF
6075 -L*) 6075 -L*)
6076 case " $new_libs " in 6076 case " $new_libs " in
6077 *" $deplib "*) ;; 6077 *" $deplib "*) ;;
@@ -6084,7 +6084,7 @@ Index: binutils-2.21/ltmain.sh
6084 esac 6084 esac
6085 done 6085 done
6086 deplibs="$new_libs" 6086 deplibs="$new_libs"
6087@@ -7101,10 +8032,12 @@ 6087@@ -7101,10 +8032,12 @@ EOF
6088 hardcode_libdirs= 6088 hardcode_libdirs=
6089 dep_rpath= 6089 dep_rpath=
6090 rpath="$finalize_rpath" 6090 rpath="$finalize_rpath"
@@ -6098,7 +6098,7 @@ Index: binutils-2.21/ltmain.sh
6098 if test -z "$hardcode_libdirs"; then 6098 if test -z "$hardcode_libdirs"; then
6099 hardcode_libdirs="$libdir" 6099 hardcode_libdirs="$libdir"
6100 else 6100 else
6101@@ -7113,18 +8046,18 @@ 6101@@ -7113,18 +8046,18 @@ EOF
6102 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 6102 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
6103 ;; 6103 ;;
6104 *) 6104 *)
@@ -6121,7 +6121,7 @@ Index: binutils-2.21/ltmain.sh
6121 esac 6121 esac
6122 fi 6122 fi
6123 done 6123 done
6124@@ -7133,40 +8066,38 @@ 6124@@ -7133,40 +8066,38 @@ EOF
6125 test -n "$hardcode_libdirs"; then 6125 test -n "$hardcode_libdirs"; then
6126 libdir="$hardcode_libdirs" 6126 libdir="$hardcode_libdirs"
6127 if test -n "$hardcode_libdir_flag_spec_ld"; then 6127 if test -n "$hardcode_libdir_flag_spec_ld"; then
@@ -6171,7 +6171,7 @@ Index: binutils-2.21/ltmain.sh
6171 else 6171 else
6172 soname="$realname" 6172 soname="$realname"
6173 fi 6173 fi
6174@@ -7178,7 +8109,7 @@ 6174@@ -7178,7 +8109,7 @@ EOF
6175 linknames= 6175 linknames=
6176 for link 6176 for link
6177 do 6177 do
@@ -6180,7 +6180,7 @@ Index: binutils-2.21/ltmain.sh
6180 done 6180 done
6181 6181
6182 # Use standard objects if they are pic 6182 # Use standard objects if they are pic
6183@@ -7189,7 +8120,7 @@ 6183@@ -7189,7 +8120,7 @@ EOF
6184 if test -n "$export_symbols" && test -n "$include_expsyms"; then 6184 if test -n "$export_symbols" && test -n "$include_expsyms"; then
6185 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" 6185 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
6186 export_symbols="$output_objdir/$libname.uexp" 6186 export_symbols="$output_objdir/$libname.uexp"
@@ -6189,7 +6189,7 @@ Index: binutils-2.21/ltmain.sh
6189 fi 6189 fi
6190 6190
6191 orig_export_symbols= 6191 orig_export_symbols=
6192@@ -7220,13 +8151,45 @@ 6192@@ -7220,13 +8151,45 @@ EOF
6193 $opt_dry_run || $RM $export_symbols 6193 $opt_dry_run || $RM $export_symbols
6194 cmds=$export_symbols_cmds 6194 cmds=$export_symbols_cmds
6195 save_ifs="$IFS"; IFS='~' 6195 save_ifs="$IFS"; IFS='~'
@@ -6240,7 +6240,7 @@ Index: binutils-2.21/ltmain.sh
6240 skipped_export=false 6240 skipped_export=false
6241 else 6241 else
6242 # The command line is too long to execute in one step. 6242 # The command line is too long to execute in one step.
6243@@ -7248,7 +8211,7 @@ 6243@@ -7248,7 +8211,7 @@ EOF
6244 if test -n "$export_symbols" && test -n "$include_expsyms"; then 6244 if test -n "$export_symbols" && test -n "$include_expsyms"; then
6245 tmp_export_symbols="$export_symbols" 6245 tmp_export_symbols="$export_symbols"
6246 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" 6246 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
@@ -6249,7 +6249,7 @@ Index: binutils-2.21/ltmain.sh
6249 fi 6249 fi
6250 6250
6251 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then 6251 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
6252@@ -7260,7 +8223,7 @@ 6252@@ -7260,7 +8223,7 @@ EOF
6253 # global variables. join(1) would be nice here, but unfortunately 6253 # global variables. join(1) would be nice here, but unfortunately
6254 # isn't a blessed tool. 6254 # isn't a blessed tool.
6255 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter 6255 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
@@ -6258,7 +6258,7 @@ Index: binutils-2.21/ltmain.sh
6258 export_symbols=$output_objdir/$libname.def 6258 export_symbols=$output_objdir/$libname.def
6259 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols 6259 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
6260 fi 6260 fi
6261@@ -7270,7 +8233,7 @@ 6261@@ -7270,7 +8233,7 @@ EOF
6262 case " $convenience " in 6262 case " $convenience " in
6263 *" $test_deplib "*) ;; 6263 *" $test_deplib "*) ;;
6264 *) 6264 *)
@@ -6267,7 +6267,7 @@ Index: binutils-2.21/ltmain.sh
6267 ;; 6267 ;;
6268 esac 6268 esac
6269 done 6269 done
6270@@ -7286,43 +8249,43 @@ 6270@@ -7286,43 +8249,43 @@ EOF
6271 fi 6271 fi
6272 if test -n "$whole_archive_flag_spec"; then 6272 if test -n "$whole_archive_flag_spec"; then
6273 save_libobjs=$libobjs 6273 save_libobjs=$libobjs
@@ -6322,7 +6322,7 @@ Index: binutils-2.21/ltmain.sh
6322 cmds=$archive_cmds 6322 cmds=$archive_cmds
6323 fi 6323 fi
6324 fi 6324 fi
6325@@ -7366,10 +8329,13 @@ 6325@@ -7366,10 +8329,13 @@ EOF
6326 echo 'INPUT (' > $output 6326 echo 'INPUT (' > $output
6327 for obj in $save_libobjs 6327 for obj in $save_libobjs
6328 do 6328 do
@@ -6338,7 +6338,7 @@ Index: binutils-2.21/ltmain.sh
6338 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then 6338 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
6339 output=${output_objdir}/${output_la}.lnk 6339 output=${output_objdir}/${output_la}.lnk
6340 func_verbose "creating linker input file list: $output" 6340 func_verbose "creating linker input file list: $output"
6341@@ -7383,15 +8349,17 @@ 6341@@ -7383,15 +8349,17 @@ EOF
6342 fi 6342 fi
6343 for obj 6343 for obj
6344 do 6344 do
@@ -6360,7 +6360,7 @@ Index: binutils-2.21/ltmain.sh
6360 func_len " $test_cmds" 6360 func_len " $test_cmds"
6361 len0=$func_len_result 6361 len0=$func_len_result
6362 len=$len0 6362 len=$len0
6363@@ -7411,12 +8379,12 @@ 6363@@ -7411,12 +8379,12 @@ EOF
6364 if test "$k" -eq 1 ; then 6364 if test "$k" -eq 1 ; then
6365 # The first file doesn't have a previous command to add. 6365 # The first file doesn't have a previous command to add.
6366 reload_objs=$objlist 6366 reload_objs=$objlist
@@ -6375,7 +6375,7 @@ Index: binutils-2.21/ltmain.sh
6375 fi 6375 fi
6376 last_robj=$output_objdir/$output_la-${k}.$objext 6376 last_robj=$output_objdir/$output_la-${k}.$objext
6377 func_arith $k + 1 6377 func_arith $k + 1
6378@@ -7433,11 +8401,11 @@ 6378@@ -7433,11 +8401,11 @@ EOF
6379 # files will link in the last one created. 6379 # files will link in the last one created.
6380 test -z "$concat_cmds" || concat_cmds=$concat_cmds~ 6380 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
6381 reload_objs="$objlist $last_robj" 6381 reload_objs="$objlist $last_robj"
@@ -6390,7 +6390,7 @@ Index: binutils-2.21/ltmain.sh
6390 6390
6391 else 6391 else
6392 output= 6392 output=
6393@@ -7450,9 +8418,9 @@ 6393@@ -7450,9 +8418,9 @@ EOF
6394 libobjs=$output 6394 libobjs=$output
6395 # Append the command to create the export file. 6395 # Append the command to create the export file.
6396 test -z "$concat_cmds" || concat_cmds=$concat_cmds~ 6396 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
@@ -6402,7 +6402,7 @@ Index: binutils-2.21/ltmain.sh
6402 fi 6402 fi
6403 fi 6403 fi
6404 6404
6405@@ -7471,7 +8439,7 @@ 6405@@ -7471,7 +8439,7 @@ EOF
6406 lt_exit=$? 6406 lt_exit=$?
6407 6407
6408 # Restore the uninstalled library and exit 6408 # Restore the uninstalled library and exit
@@ -6411,7 +6411,7 @@ Index: binutils-2.21/ltmain.sh
6411 ( cd "$output_objdir" && \ 6411 ( cd "$output_objdir" && \
6412 $RM "${realname}T" && \ 6412 $RM "${realname}T" && \
6413 $MV "${realname}U" "$realname" ) 6413 $MV "${realname}U" "$realname" )
6414@@ -7492,7 +8460,7 @@ 6414@@ -7492,7 +8460,7 @@ EOF
6415 if test -n "$export_symbols" && test -n "$include_expsyms"; then 6415 if test -n "$export_symbols" && test -n "$include_expsyms"; then
6416 tmp_export_symbols="$export_symbols" 6416 tmp_export_symbols="$export_symbols"
6417 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" 6417 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
@@ -6420,7 +6420,7 @@ Index: binutils-2.21/ltmain.sh
6420 fi 6420 fi
6421 6421
6422 if test -n "$orig_export_symbols"; then 6422 if test -n "$orig_export_symbols"; then
6423@@ -7504,7 +8472,7 @@ 6423@@ -7504,7 +8472,7 @@ EOF
6424 # global variables. join(1) would be nice here, but unfortunately 6424 # global variables. join(1) would be nice here, but unfortunately
6425 # isn't a blessed tool. 6425 # isn't a blessed tool.
6426 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter 6426 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
@@ -6429,7 +6429,7 @@ Index: binutils-2.21/ltmain.sh
6429 export_symbols=$output_objdir/$libname.def 6429 export_symbols=$output_objdir/$libname.def
6430 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols 6430 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
6431 fi 6431 fi
6432@@ -7515,7 +8483,7 @@ 6432@@ -7515,7 +8483,7 @@ EOF
6433 output=$save_output 6433 output=$save_output
6434 6434
6435 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then 6435 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
@@ -6438,7 +6438,7 @@ Index: binutils-2.21/ltmain.sh
6438 test "X$libobjs" = "X " && libobjs= 6438 test "X$libobjs" = "X " && libobjs=
6439 fi 6439 fi
6440 # Expand the library linking commands again to reset the 6440 # Expand the library linking commands again to reset the
6441@@ -7539,23 +8507,23 @@ 6441@@ -7539,23 +8507,23 @@ EOF
6442 6442
6443 if test -n "$delfiles"; then 6443 if test -n "$delfiles"; then
6444 # Append the command to remove temporary files to $cmds. 6444 # Append the command to remove temporary files to $cmds.
@@ -6466,7 +6466,7 @@ Index: binutils-2.21/ltmain.sh
6466 $opt_silent || { 6466 $opt_silent || {
6467 func_quote_for_expand "$cmd" 6467 func_quote_for_expand "$cmd"
6468 eval "func_echo $func_quote_for_expand_result" 6468 eval "func_echo $func_quote_for_expand_result"
6469@@ -7564,7 +8532,7 @@ 6469@@ -7564,7 +8532,7 @@ EOF
6470 lt_exit=$? 6470 lt_exit=$?
6471 6471
6472 # Restore the uninstalled library and exit 6472 # Restore the uninstalled library and exit
@@ -6475,7 +6475,7 @@ Index: binutils-2.21/ltmain.sh
6475 ( cd "$output_objdir" && \ 6475 ( cd "$output_objdir" && \
6476 $RM "${realname}T" && \ 6476 $RM "${realname}T" && \
6477 $MV "${realname}U" "$realname" ) 6477 $MV "${realname}U" "$realname" )
6478@@ -7576,8 +8544,8 @@ 6478@@ -7576,8 +8544,8 @@ EOF
6479 IFS="$save_ifs" 6479 IFS="$save_ifs"
6480 6480
6481 # Restore the uninstalled library and exit 6481 # Restore the uninstalled library and exit
@@ -6486,7 +6486,7 @@ Index: binutils-2.21/ltmain.sh
6486 6486
6487 if test -n "$convenience"; then 6487 if test -n "$convenience"; then
6488 if test -z "$whole_archive_flag_spec"; then 6488 if test -z "$whole_archive_flag_spec"; then
6489@@ -7656,17 +8624,20 @@ 6489@@ -7656,17 +8624,20 @@ EOF
6490 6490
6491 if test -n "$convenience"; then 6491 if test -n "$convenience"; then
6492 if test -n "$whole_archive_flag_spec"; then 6492 if test -n "$whole_archive_flag_spec"; then
@@ -6509,7 +6509,7 @@ Index: binutils-2.21/ltmain.sh
6509 # Create the old-style object. 6509 # Create the old-style object.
6510 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test 6510 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
6511 6511
6512@@ -7690,7 +8661,7 @@ 6512@@ -7690,7 +8661,7 @@ EOF
6513 # Create an invalid libtool object if no PIC, so that we don't 6513 # Create an invalid libtool object if no PIC, so that we don't
6514 # accidentally link it into a program. 6514 # accidentally link it into a program.
6515 # $show "echo timestamp > $libobj" 6515 # $show "echo timestamp > $libobj"
@@ -6518,7 +6518,7 @@ Index: binutils-2.21/ltmain.sh
6518 exit $EXIT_SUCCESS 6518 exit $EXIT_SUCCESS
6519 fi 6519 fi
6520 6520
6521@@ -7740,8 +8711,8 @@ 6521@@ -7740,8 +8711,8 @@ EOF
6522 if test "$tagname" = CXX ; then 6522 if test "$tagname" = CXX ; then
6523 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 6523 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
6524 10.[0123]) 6524 10.[0123])
@@ -6529,7 +6529,7 @@ Index: binutils-2.21/ltmain.sh
6529 ;; 6529 ;;
6530 esac 6530 esac
6531 fi 6531 fi
6532@@ -7761,7 +8732,7 @@ 6532@@ -7761,7 +8732,7 @@ EOF
6533 *) 6533 *)
6534 case " $compile_deplibs " in 6534 case " $compile_deplibs " in
6535 *" -L$path/$objdir "*) 6535 *" -L$path/$objdir "*)
@@ -6538,7 +6538,7 @@ Index: binutils-2.21/ltmain.sh
6538 esac 6538 esac
6539 ;; 6539 ;;
6540 esac 6540 esac
6541@@ -7771,17 +8742,17 @@ 6541@@ -7771,17 +8742,17 @@ EOF
6542 -L*) 6542 -L*)
6543 case " $new_libs " in 6543 case " $new_libs " in
6544 *" $deplib "*) ;; 6544 *" $deplib "*) ;;
@@ -6560,7 +6560,7 @@ Index: binutils-2.21/ltmain.sh
6560 6560
6561 if test -n "$rpath$xrpath"; then 6561 if test -n "$rpath$xrpath"; then
6562 # If the user specified any rpath flags, then add them. 6562 # If the user specified any rpath flags, then add them.
6563@@ -7789,7 +8760,7 @@ 6563@@ -7789,7 +8760,7 @@ EOF
6564 # This is the magic to use -rpath. 6564 # This is the magic to use -rpath.
6565 case "$finalize_rpath " in 6565 case "$finalize_rpath " in
6566 *" $libdir "*) ;; 6566 *" $libdir "*) ;;
@@ -6569,7 +6569,7 @@ Index: binutils-2.21/ltmain.sh
6569 esac 6569 esac
6570 done 6570 done
6571 fi 6571 fi
6572@@ -7808,18 +8779,18 @@ 6572@@ -7808,18 +8779,18 @@ EOF
6573 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 6573 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
6574 ;; 6574 ;;
6575 *) 6575 *)
@@ -6592,7 +6592,7 @@ Index: binutils-2.21/ltmain.sh
6592 esac 6592 esac
6593 fi 6593 fi
6594 case $host in 6594 case $host in
6595@@ -7828,12 +8799,12 @@ 6595@@ -7828,12 +8799,12 @@ EOF
6596 case :$dllsearchpath: in 6596 case :$dllsearchpath: in
6597 *":$libdir:"*) ;; 6597 *":$libdir:"*) ;;
6598 ::) dllsearchpath=$libdir;; 6598 ::) dllsearchpath=$libdir;;
@@ -6607,7 +6607,7 @@ Index: binutils-2.21/ltmain.sh
6607 esac 6607 esac
6608 ;; 6608 ;;
6609 esac 6609 esac
6610@@ -7842,7 +8813,7 @@ 6610@@ -7842,7 +8813,7 @@ EOF
6611 if test -n "$hardcode_libdir_separator" && 6611 if test -n "$hardcode_libdir_separator" &&
6612 test -n "$hardcode_libdirs"; then 6612 test -n "$hardcode_libdirs"; then
6613 libdir="$hardcode_libdirs" 6613 libdir="$hardcode_libdirs"
@@ -6616,7 +6616,7 @@ Index: binutils-2.21/ltmain.sh
6616 fi 6616 fi
6617 compile_rpath="$rpath" 6617 compile_rpath="$rpath"
6618 6618
6619@@ -7859,18 +8830,18 @@ 6619@@ -7859,18 +8830,18 @@ EOF
6620 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) 6620 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
6621 ;; 6621 ;;
6622 *) 6622 *)
@@ -6639,7 +6639,7 @@ Index: binutils-2.21/ltmain.sh
6639 esac 6639 esac
6640 fi 6640 fi
6641 done 6641 done
6642@@ -7878,7 +8849,7 @@ 6642@@ -7878,7 +8849,7 @@ EOF
6643 if test -n "$hardcode_libdir_separator" && 6643 if test -n "$hardcode_libdir_separator" &&
6644 test -n "$hardcode_libdirs"; then 6644 test -n "$hardcode_libdirs"; then
6645 libdir="$hardcode_libdirs" 6645 libdir="$hardcode_libdirs"
@@ -6648,7 +6648,7 @@ Index: binutils-2.21/ltmain.sh
6648 fi 6648 fi
6649 finalize_rpath="$rpath" 6649 finalize_rpath="$rpath"
6650 6650
6651@@ -7921,6 +8892,12 @@ 6651@@ -7921,6 +8892,12 @@ EOF
6652 exit_status=0 6652 exit_status=0
6653 func_show_eval "$link_command" 'exit_status=$?' 6653 func_show_eval "$link_command" 'exit_status=$?'
6654 6654
@@ -6661,7 +6661,7 @@ Index: binutils-2.21/ltmain.sh
6661 # Delete the generated files. 6661 # Delete the generated files.
6662 if test -f "$output_objdir/${outputname}S.${objext}"; then 6662 if test -f "$output_objdir/${outputname}S.${objext}"; then
6663 func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' 6663 func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
6664@@ -7943,7 +8920,7 @@ 6664@@ -7943,7 +8920,7 @@ EOF
6665 # We should set the runpath_var. 6665 # We should set the runpath_var.
6666 rpath= 6666 rpath=
6667 for dir in $perm_rpath; do 6667 for dir in $perm_rpath; do
@@ -6670,7 +6670,7 @@ Index: binutils-2.21/ltmain.sh
6670 done 6670 done
6671 compile_var="$runpath_var=\"$rpath\$$runpath_var\" " 6671 compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
6672 fi 6672 fi
6673@@ -7951,7 +8928,7 @@ 6673@@ -7951,7 +8928,7 @@ EOF
6674 # We should set the runpath_var. 6674 # We should set the runpath_var.
6675 rpath= 6675 rpath=
6676 for dir in $finalize_perm_rpath; do 6676 for dir in $finalize_perm_rpath; do
@@ -6679,7 +6679,7 @@ Index: binutils-2.21/ltmain.sh
6679 done 6679 done
6680 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " 6680 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
6681 fi 6681 fi
6682@@ -7966,6 +8943,13 @@ 6682@@ -7966,6 +8943,13 @@ EOF
6683 $opt_dry_run || $RM $output 6683 $opt_dry_run || $RM $output
6684 # Link the executable and exit 6684 # Link the executable and exit
6685 func_show_eval "$link_command" 'exit $?' 6685 func_show_eval "$link_command" 'exit $?'
@@ -6693,7 +6693,7 @@ Index: binutils-2.21/ltmain.sh
6693 exit $EXIT_SUCCESS 6693 exit $EXIT_SUCCESS
6694 fi 6694 fi
6695 6695
6696@@ -7999,6 +8983,12 @@ 6696@@ -7999,6 +8983,12 @@ EOF
6697 6697
6698 func_show_eval "$link_command" 'exit $?' 6698 func_show_eval "$link_command" 'exit $?'
6699 6699
@@ -6706,7 +6706,7 @@ Index: binutils-2.21/ltmain.sh
6706 # Now create the wrapper script. 6706 # Now create the wrapper script.
6707 func_verbose "creating $output" 6707 func_verbose "creating $output"
6708 6708
6709@@ -8096,7 +9086,7 @@ 6709@@ -8096,7 +9086,7 @@ EOF
6710 else 6710 else
6711 oldobjs="$old_deplibs $non_pic_objects" 6711 oldobjs="$old_deplibs $non_pic_objects"
6712 if test "$preload" = yes && test -f "$symfileobj"; then 6712 if test "$preload" = yes && test -f "$symfileobj"; then
@@ -6715,7 +6715,7 @@ Index: binutils-2.21/ltmain.sh
6715 fi 6715 fi
6716 fi 6716 fi
6717 addlibs="$old_convenience" 6717 addlibs="$old_convenience"
6718@@ -8104,10 +9094,10 @@ 6718@@ -8104,10 +9094,10 @@ EOF
6719 6719
6720 if test -n "$addlibs"; then 6720 if test -n "$addlibs"; then
6721 gentop="$output_objdir/${outputname}x" 6721 gentop="$output_objdir/${outputname}x"
@@ -6728,7 +6728,7 @@ Index: binutils-2.21/ltmain.sh
6728 fi 6728 fi
6729 6729
6730 # Do each command in the archive commands. 6730 # Do each command in the archive commands.
6731@@ -8118,10 +9108,10 @@ 6731@@ -8118,10 +9108,10 @@ EOF
6732 # Add any objects from preloaded convenience libraries 6732 # Add any objects from preloaded convenience libraries
6733 if test -n "$dlprefiles"; then 6733 if test -n "$dlprefiles"; then
6734 gentop="$output_objdir/${outputname}x" 6734 gentop="$output_objdir/${outputname}x"
@@ -6741,7 +6741,7 @@ Index: binutils-2.21/ltmain.sh
6741 fi 6741 fi
6742 6742
6743 # POSIX demands no paths to be encoded in archives. We have 6743 # POSIX demands no paths to be encoded in archives. We have
6744@@ -8139,7 +9129,7 @@ 6744@@ -8139,7 +9129,7 @@ EOF
6745 else 6745 else
6746 echo "copying selected object files to avoid basename conflicts..." 6746 echo "copying selected object files to avoid basename conflicts..."
6747 gentop="$output_objdir/${outputname}x" 6747 gentop="$output_objdir/${outputname}x"
@@ -6750,7 +6750,7 @@ Index: binutils-2.21/ltmain.sh
6750 func_mkdir_p "$gentop" 6750 func_mkdir_p "$gentop"
6751 save_oldobjs=$oldobjs 6751 save_oldobjs=$oldobjs
6752 oldobjs= 6752 oldobjs=
6753@@ -8163,18 +9153,28 @@ 6753@@ -8163,18 +9153,28 @@ EOF
6754 esac 6754 esac
6755 done 6755 done
6756 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" 6756 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
@@ -6782,7 +6782,7 @@ Index: binutils-2.21/ltmain.sh
6782 else 6782 else
6783 # the command line is too long to link in one step, link in parts 6783 # the command line is too long to link in one step, link in parts
6784 func_verbose "using piecewise archive linking..." 6784 func_verbose "using piecewise archive linking..."
6785@@ -8189,7 +9189,7 @@ 6785@@ -8189,7 +9189,7 @@ EOF
6786 do 6786 do
6787 last_oldobj=$obj 6787 last_oldobj=$obj
6788 done 6788 done
@@ -6791,7 +6791,7 @@ Index: binutils-2.21/ltmain.sh
6791 func_len " $test_cmds" 6791 func_len " $test_cmds"
6792 len0=$func_len_result 6792 len0=$func_len_result
6793 len=$len0 6793 len=$len0
6794@@ -8208,7 +9208,7 @@ 6794@@ -8208,7 +9208,7 @@ EOF
6795 RANLIB=$save_RANLIB 6795 RANLIB=$save_RANLIB
6796 fi 6796 fi
6797 test -z "$concat_cmds" || concat_cmds=$concat_cmds~ 6797 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
@@ -6800,7 +6800,7 @@ Index: binutils-2.21/ltmain.sh
6800 objlist= 6800 objlist=
6801 len=$len0 6801 len=$len0
6802 fi 6802 fi
6803@@ -8216,9 +9216,9 @@ 6803@@ -8216,9 +9216,9 @@ EOF
6804 RANLIB=$save_RANLIB 6804 RANLIB=$save_RANLIB
6805 oldobjs=$objlist 6805 oldobjs=$objlist
6806 if test "X$oldobjs" = "X" ; then 6806 if test "X$oldobjs" = "X" ; then
@@ -6812,7 +6812,7 @@ Index: binutils-2.21/ltmain.sh
6812 fi 6812 fi
6813 fi 6813 fi
6814 fi 6814 fi
6815@@ -8268,12 +9268,23 @@ 6815@@ -8268,12 +9268,23 @@ EOF
6816 *.la) 6816 *.la)
6817 func_basename "$deplib" 6817 func_basename "$deplib"
6818 name="$func_basename_result" 6818 name="$func_basename_result"
@@ -6839,7 +6839,7 @@ Index: binutils-2.21/ltmain.sh
6839 esac 6839 esac
6840 done 6840 done
6841 dependency_libs="$newdependency_libs" 6841 dependency_libs="$newdependency_libs"
6842@@ -8284,12 +9295,14 @@ 6842@@ -8284,12 +9295,14 @@ EOF
6843 *.la) 6843 *.la)
6844 func_basename "$lib" 6844 func_basename "$lib"
6845 name="$func_basename_result" 6845 name="$func_basename_result"
@@ -6857,7 +6857,7 @@ Index: binutils-2.21/ltmain.sh
6857 esac 6857 esac
6858 done 6858 done
6859 dlfiles="$newdlfiles" 6859 dlfiles="$newdlfiles"
6860@@ -8303,10 +9316,11 @@ 6860@@ -8303,10 +9316,11 @@ EOF
6861 # the library: 6861 # the library:
6862 func_basename "$lib" 6862 func_basename "$lib"
6863 name="$func_basename_result" 6863 name="$func_basename_result"
@@ -6871,7 +6871,7 @@ Index: binutils-2.21/ltmain.sh
6871 ;; 6871 ;;
6872 esac 6872 esac
6873 done 6873 done
6874@@ -8318,7 +9332,7 @@ 6874@@ -8318,7 +9332,7 @@ EOF
6875 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 6875 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
6876 *) abs=`pwd`"/$lib" ;; 6876 *) abs=`pwd`"/$lib" ;;
6877 esac 6877 esac
@@ -6880,7 +6880,7 @@ Index: binutils-2.21/ltmain.sh
6880 done 6880 done
6881 dlfiles="$newdlfiles" 6881 dlfiles="$newdlfiles"
6882 newdlprefiles= 6882 newdlprefiles=
6883@@ -8327,7 +9341,7 @@ 6883@@ -8327,7 +9341,7 @@ EOF
6884 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 6884 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
6885 *) abs=`pwd`"/$lib" ;; 6885 *) abs=`pwd`"/$lib" ;;
6886 esac 6886 esac
@@ -6889,7 +6889,7 @@ Index: binutils-2.21/ltmain.sh
6889 done 6889 done
6890 dlprefiles="$newdlprefiles" 6890 dlprefiles="$newdlprefiles"
6891 fi 6891 fi
6892@@ -8412,7 +9426,7 @@ 6892@@ -8412,7 +9426,7 @@ relink_command=\"$relink_command\""
6893 exit $EXIT_SUCCESS 6893 exit $EXIT_SUCCESS
6894 } 6894 }
6895 6895
@@ -6898,7 +6898,7 @@ Index: binutils-2.21/ltmain.sh
6898 func_mode_link ${1+"$@"} 6898 func_mode_link ${1+"$@"}
6899 6899
6900 6900
6901@@ -8432,9 +9446,9 @@ 6901@@ -8432,9 +9446,9 @@ func_mode_uninstall ()
6902 for arg 6902 for arg
6903 do 6903 do
6904 case $arg in 6904 case $arg in
@@ -6911,7 +6911,7 @@ Index: binutils-2.21/ltmain.sh
6911 esac 6911 esac
6912 done 6912 done
6913 6913
6914@@ -8443,24 +9457,23 @@ 6914@@ -8443,24 +9457,23 @@ func_mode_uninstall ()
6915 6915
6916 rmdirs= 6916 rmdirs=
6917 6917
@@ -6943,7 +6943,7 @@ Index: binutils-2.21/ltmain.sh
6943 esac 6943 esac
6944 fi 6944 fi
6945 6945
6946@@ -8486,18 +9499,17 @@ 6946@@ -8486,18 +9499,17 @@ func_mode_uninstall ()
6947 6947
6948 # Delete the libtool libraries and symlinks. 6948 # Delete the libtool libraries and symlinks.
6949 for n in $library_names; do 6949 for n in $library_names; do
@@ -6968,7 +6968,7 @@ Index: binutils-2.21/ltmain.sh
6968 ;; 6968 ;;
6969 uninstall) 6969 uninstall)
6970 if test -n "$library_names"; then 6970 if test -n "$library_names"; then
6971@@ -8525,19 +9537,19 @@ 6971@@ -8525,19 +9537,19 @@ func_mode_uninstall ()
6972 # Add PIC object to the list of files to remove. 6972 # Add PIC object to the list of files to remove.
6973 if test -n "$pic_object" && 6973 if test -n "$pic_object" &&
6974 test "$pic_object" != none; then 6974 test "$pic_object" != none; then
@@ -6991,7 +6991,7 @@ Index: binutils-2.21/ltmain.sh
6991 noexename=$name 6991 noexename=$name
6992 case $file in 6992 case $file in
6993 *.exe) 6993 *.exe)
6994@@ -8547,7 +9559,7 @@ 6994@@ -8547,7 +9559,7 @@ func_mode_uninstall ()
6995 noexename=$func_stripname_result 6995 noexename=$func_stripname_result
6996 # $file with .exe has already been added to rmfiles, 6996 # $file with .exe has already been added to rmfiles,
6997 # add $file without .exe 6997 # add $file without .exe
@@ -7000,7 +7000,7 @@ Index: binutils-2.21/ltmain.sh
7000 ;; 7000 ;;
7001 esac 7001 esac
7002 # Do a test to see if this is a libtool program. 7002 # Do a test to see if this is a libtool program.
7003@@ -8556,7 +9568,7 @@ 7003@@ -8556,7 +9568,7 @@ func_mode_uninstall ()
7004 func_ltwrapper_scriptname "$file" 7004 func_ltwrapper_scriptname "$file"
7005 relink_command= 7005 relink_command=
7006 func_source $func_ltwrapper_scriptname_result 7006 func_source $func_ltwrapper_scriptname_result
@@ -7009,7 +7009,7 @@ Index: binutils-2.21/ltmain.sh
7009 else 7009 else
7010 relink_command= 7010 relink_command=
7011 func_source $dir/$noexename 7011 func_source $dir/$noexename
7012@@ -8564,12 +9576,12 @@ 7012@@ -8564,12 +9576,12 @@ func_mode_uninstall ()
7013 7013
7014 # note $name still contains .exe if it was in $file originally 7014 # note $name still contains .exe if it was in $file originally
7015 # as does the version of $file that was added into $rmfiles 7015 # as does the version of $file that was added into $rmfiles
@@ -7025,7 +7025,7 @@ Index: binutils-2.21/ltmain.sh
7025 fi 7025 fi
7026 fi 7026 fi
7027 fi 7027 fi
7028@@ -8577,7 +9589,6 @@ 7028@@ -8577,7 +9589,6 @@ func_mode_uninstall ()
7029 esac 7029 esac
7030 func_show_eval "$RM $rmfiles" 'exit_status=1' 7030 func_show_eval "$RM $rmfiles" 'exit_status=1'
7031 done 7031 done
@@ -7033,7 +7033,7 @@ Index: binutils-2.21/ltmain.sh
7033 7033
7034 # Try to remove the ${objdir}s in the directories where we deleted files 7034 # Try to remove the ${objdir}s in the directories where we deleted files
7035 for dir in $rmdirs; do 7035 for dir in $rmdirs; do
7036@@ -8589,16 +9600,16 @@ 7036@@ -8589,16 +9600,16 @@ func_mode_uninstall ()
7037 exit $exit_status 7037 exit $exit_status
7038 } 7038 }
7039 7039
@@ -7053,10 +7053,10 @@ Index: binutils-2.21/ltmain.sh
7053 7053
7054 if test -n "$exec_cmd"; then 7054 if test -n "$exec_cmd"; then
7055 eval exec "$exec_cmd" 7055 eval exec "$exec_cmd"
7056Index: binutils-2.21/ltoptions.m4 7056Index: binutils-2.21.1/ltoptions.m4
7057=================================================================== 7057===================================================================
7058--- binutils-2.21.orig/ltoptions.m4 2010-01-09 13:11:32.000000000 -0800 7058--- binutils-2.21.1.orig/ltoptions.m4
7059+++ binutils-2.21/ltoptions.m4 2011-01-07 10:49:16.406101000 -0800 7059+++ binutils-2.21.1/ltoptions.m4
7060@@ -8,7 +8,7 @@ 7060@@ -8,7 +8,7 @@
7061 # unlimited permission to copy and/or distribute it, with or without 7061 # unlimited permission to copy and/or distribute it, with or without
7062 # modifications, as long as this notice is preserved. 7062 # modifications, as long as this notice is preserved.
@@ -7066,10 +7066,10 @@ Index: binutils-2.21/ltoptions.m4
7066 7066
7067 # This is to help aclocal find these macros, as it can't see m4_define. 7067 # This is to help aclocal find these macros, as it can't see m4_define.
7068 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 7068 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
7069Index: binutils-2.21/ltversion.m4 7069Index: binutils-2.21.1/ltversion.m4
7070=================================================================== 7070===================================================================
7071--- binutils-2.21.orig/ltversion.m4 2010-01-09 13:11:32.000000000 -0800 7071--- binutils-2.21.1.orig/ltversion.m4
7072+++ binutils-2.21/ltversion.m4 2011-01-07 10:49:16.406101000 -0800 7072+++ binutils-2.21.1/ltversion.m4
7073@@ -7,17 +7,17 @@ 7073@@ -7,17 +7,17 @@
7074 # unlimited permission to copy and/or distribute it, with or without 7074 # unlimited permission to copy and/or distribute it, with or without
7075 # modifications, as long as this notice is preserved. 7075 # modifications, as long as this notice is preserved.
@@ -7094,10 +7094,10 @@ Index: binutils-2.21/ltversion.m4
7094 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 7094 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7095 _LT_DECL(, macro_revision, 0) 7095 _LT_DECL(, macro_revision, 0)
7096 ]) 7096 ])
7097Index: binutils-2.21/lt~obsolete.m4 7097Index: binutils-2.21.1/lt~obsolete.m4
7098=================================================================== 7098===================================================================
7099--- binutils-2.21.orig/lt~obsolete.m4 2010-01-09 13:11:32.000000000 -0800 7099--- binutils-2.21.1.orig/lt~obsolete.m4
7100+++ binutils-2.21/lt~obsolete.m4 2011-01-07 10:49:16.406101000 -0800 7100+++ binutils-2.21.1/lt~obsolete.m4
7101@@ -7,7 +7,7 @@ 7101@@ -7,7 +7,7 @@
7102 # unlimited permission to copy and/or distribute it, with or without 7102 # unlimited permission to copy and/or distribute it, with or without
7103 # modifications, as long as this notice is preserved. 7103 # modifications, as long as this notice is preserved.
@@ -7107,11 +7107,11 @@ Index: binutils-2.21/lt~obsolete.m4
7107 7107
7108 # These exist entirely to fool aclocal when bootstrapping libtool. 7108 # These exist entirely to fool aclocal when bootstrapping libtool.
7109 # 7109 #
7110Index: binutils-2.21/configure 7110Index: binutils-2.21.1/configure
7111=================================================================== 7111===================================================================
7112--- binutils-2.21.orig/configure 2011-01-07 10:49:16.006101000 -0800 7112--- binutils-2.21.1.orig/configure
7113+++ binutils-2.21/configure 2011-01-07 10:49:17.906101000 -0800 7113+++ binutils-2.21.1/configure
7114@@ -2670,7 +2670,7 @@ 7114@@ -2670,7 +2670,7 @@ host_libs="intl mmalloc libiberty opcode
7115 # binutils, gas and ld appear in that order because it makes sense to run 7115 # binutils, gas and ld appear in that order because it makes sense to run
7116 # "make check" in that particular order. 7116 # "make check" in that particular order.
7117 # If --enable-gold is used, "gold" may replace "ld". 7117 # If --enable-gold is used, "gold" may replace "ld".
@@ -7120,7 +7120,7 @@ Index: binutils-2.21/configure
7120 7120
7121 # libgcj represents the runtime libraries only used by gcj. 7121 # libgcj represents the runtime libraries only used by gcj.
7122 libgcj="target-libffi \ 7122 libgcj="target-libffi \
7123@@ -3148,7 +3148,7 @@ 7123@@ -3148,7 +3148,7 @@ case "${target}" in
7124 am33_2.0-*-linux*) 7124 am33_2.0-*-linux*)
7125 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 7125 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
7126 ;; 7126 ;;
@@ -7129,7 +7129,7 @@ Index: binutils-2.21/configure
7129 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 7129 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
7130 ;; 7130 ;;
7131 sh*-*-pe|mips*-*-pe|*arm-wince-pe) 7131 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
7132@@ -3487,7 +3487,7 @@ 7132@@ -3487,7 +3487,7 @@ case "${target}" in
7133 romp-*-*) 7133 romp-*-*)
7134 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" 7134 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
7135 ;; 7135 ;;
@@ -7138,7 +7138,7 @@ Index: binutils-2.21/configure
7138 case "${host}" in 7138 case "${host}" in
7139 i[3456789]86-*-vsta) ;; # don't add gprof back in 7139 i[3456789]86-*-vsta) ;; # don't add gprof back in
7140 i[3456789]86-*-go32*) ;; # don't add gprof back in 7140 i[3456789]86-*-go32*) ;; # don't add gprof back in
7141@@ -7597,7 +7597,7 @@ 7141@@ -7597,7 +7597,7 @@ case " $build_configdirs " in
7142 # For an installed makeinfo, we require it to be from texinfo 4.7 or 7142 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7143 # higher, else we use the "missing" dummy. 7143 # higher, else we use the "missing" dummy.
7144 if ${MAKEINFO} --version \ 7144 if ${MAKEINFO} --version \
@@ -7147,11 +7147,11 @@ Index: binutils-2.21/configure
7147 : 7147 :
7148 else 7148 else
7149 MAKEINFO="$MISSING makeinfo" 7149 MAKEINFO="$MISSING makeinfo"
7150Index: binutils-2.21/bfd/configure 7150Index: binutils-2.21.1/bfd/configure
7151=================================================================== 7151===================================================================
7152--- binutils-2.21.orig/bfd/configure 2010-12-08 00:37:34.000000000 -0800 7152--- binutils-2.21.1.orig/bfd/configure
7153+++ binutils-2.21/bfd/configure 2011-01-07 11:25:57.156101002 -0800 7153+++ binutils-2.21.1/bfd/configure
7154@@ -667,6 +667,9 @@ 7154@@ -667,6 +667,9 @@ OTOOL
7155 LIPO 7155 LIPO
7156 NMEDIT 7156 NMEDIT
7157 DSYMUTIL 7157 DSYMUTIL
@@ -7161,7 +7161,7 @@ Index: binutils-2.21/bfd/configure
7161 OBJDUMP 7161 OBJDUMP
7162 LN_S 7162 LN_S
7163 NM 7163 NM
7164@@ -779,6 +782,7 @@ 7164@@ -779,6 +782,7 @@ enable_static
7165 with_pic 7165 with_pic
7166 enable_fast_install 7166 enable_fast_install
7167 with_gnu_ld 7167 with_gnu_ld
@@ -7169,7 +7169,7 @@ Index: binutils-2.21/bfd/configure
7169 enable_libtool_lock 7169 enable_libtool_lock
7170 enable_plugins 7170 enable_plugins
7171 enable_largefile 7171 enable_largefile
7172@@ -1453,6 +1457,8 @@ 7172@@ -1453,6 +1457,8 @@ Optional Packages:
7173 --with-pic try to use only PIC/non-PIC objects [default=use 7173 --with-pic try to use only PIC/non-PIC objects [default=use
7174 both] 7174 both]
7175 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 7175 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -7178,7 +7178,7 @@ Index: binutils-2.21/bfd/configure
7178 --with-mmap try using mmap for BFD input files if available 7178 --with-mmap try using mmap for BFD input files if available
7179 --with-separate-debug-dir=DIR 7179 --with-separate-debug-dir=DIR
7180 Look for global separate debug info in DIR 7180 Look for global separate debug info in DIR
7181@@ -5383,8 +5389,8 @@ 7181@@ -5383,8 +5389,8 @@ esac
7182 7182
7183 7183
7184 7184
@@ -7189,7 +7189,7 @@ Index: binutils-2.21/bfd/configure
7189 7189
7190 7190
7191 7191
7192@@ -5424,7 +5430,7 @@ 7192@@ -5424,7 +5430,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7194 $as_echo_n "checking how to print strings... " >&6; } 7194 $as_echo_n "checking how to print strings... " >&6; }
7195 # Test print first, because it will be a builtin if present. 7195 # Test print first, because it will be a builtin if present.
@@ -7198,7 +7198,7 @@ Index: binutils-2.21/bfd/configure
7198 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 7198 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7199 ECHO='print -r --' 7199 ECHO='print -r --'
7200 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 7200 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7201@@ -6110,8 +6116,8 @@ 7201@@ -6110,8 +6116,8 @@ $as_echo_n "checking whether the shell u
7202 # Try some XSI features 7202 # Try some XSI features
7203 xsi_shell=no 7203 xsi_shell=no
7204 ( _lt_dummy="a/b/c" 7204 ( _lt_dummy="a/b/c"
@@ -7209,7 +7209,7 @@ Index: binutils-2.21/bfd/configure
7209 && eval 'test $(( 1 + 1 )) -eq 2 \ 7209 && eval 'test $(( 1 + 1 )) -eq 2 \
7210 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 7210 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7211 && xsi_shell=yes 7211 && xsi_shell=yes
7212@@ -6160,6 +6166,80 @@ 7212@@ -6160,6 +6166,80 @@ esac
7213 7213
7214 7214
7215 7215
@@ -7290,7 +7290,7 @@ Index: binutils-2.21/bfd/configure
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7291 $as_echo_n "checking for $LD option to reload object files... " >&6; } 7291 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7292 if test "${lt_cv_ld_reload_flag+set}" = set; then : 7292 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7293@@ -6176,6 +6256,11 @@ 7293@@ -6176,6 +6256,11 @@ case $reload_flag in
7294 esac 7294 esac
7295 reload_cmds='$LD$reload_flag -o $output$reload_objs' 7295 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7296 case $host_os in 7296 case $host_os in
@@ -7302,7 +7302,7 @@ Index: binutils-2.21/bfd/configure
7302 darwin*) 7302 darwin*)
7303 if test "$GCC" = yes; then 7303 if test "$GCC" = yes; then
7304 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 7304 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7305@@ -6344,7 +6429,8 @@ 7305@@ -6344,7 +6429,8 @@ mingw* | pw32*)
7306 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7306 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7307 lt_cv_file_magic_cmd='func_win32_libid' 7307 lt_cv_file_magic_cmd='func_win32_libid'
7308 else 7308 else
@@ -7312,7 +7312,7 @@ Index: binutils-2.21/bfd/configure
7312 lt_cv_file_magic_cmd='$OBJDUMP -f' 7312 lt_cv_file_magic_cmd='$OBJDUMP -f'
7313 fi 7313 fi
7314 ;; 7314 ;;
7315@@ -6498,6 +6584,21 @@ 7315@@ -6498,6 +6584,21 @@ esac
7316 fi 7316 fi
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7318 $as_echo "$lt_cv_deplibs_check_method" >&6; } 7318 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -7334,7 +7334,7 @@ Index: binutils-2.21/bfd/configure
7334 file_magic_cmd=$lt_cv_file_magic_cmd 7334 file_magic_cmd=$lt_cv_file_magic_cmd
7335 deplibs_check_method=$lt_cv_deplibs_check_method 7335 deplibs_check_method=$lt_cv_deplibs_check_method
7336 test -z "$deplibs_check_method" && deplibs_check_method=unknown 7336 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7337@@ -6513,9 +6614,162 @@ 7337@@ -6513,9 +6614,162 @@ test -z "$deplibs_check_method" && depli
7338 7338
7339 7339
7340 7340
@@ -7499,7 +7499,7 @@ Index: binutils-2.21/bfd/configure
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; } 7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if test "${ac_cv_prog_AR+set}" = set; then : 7501 if test "${ac_cv_prog_AR+set}" = set; then :
7502@@ -6531,7 +6785,7 @@ 7502@@ -6531,7 +6785,7 @@ do
7503 test -z "$as_dir" && as_dir=. 7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do 7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -7508,7 +7508,7 @@ Index: binutils-2.21/bfd/configure
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 break 2 7509 break 2
7510 fi 7510 fi
7511@@ -6551,11 +6805,15 @@ 7511@@ -6551,11 +6805,15 @@ $as_echo "no" >&6; }
7512 fi 7512 fi
7513 7513
7514 7514
@@ -7527,7 +7527,7 @@ Index: binutils-2.21/bfd/configure
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; } 7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 7529 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7530@@ -6571,7 +6829,7 @@ 7530@@ -6571,7 +6829,7 @@ do
7531 test -z "$as_dir" && as_dir=. 7531 test -z "$as_dir" && as_dir=.
7532 for ac_exec_ext in '' $ac_executable_extensions; do 7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -7536,7 +7536,7 @@ Index: binutils-2.21/bfd/configure
7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537 break 2 7537 break 2
7538 fi 7538 fi
7539@@ -6590,6 +6848,10 @@ 7539@@ -6590,6 +6848,10 @@ else
7540 $as_echo "no" >&6; } 7540 $as_echo "no" >&6; }
7541 fi 7541 fi
7542 7542
@@ -7547,7 +7547,7 @@ Index: binutils-2.21/bfd/configure
7547 if test "x$ac_ct_AR" = x; then 7547 if test "x$ac_ct_AR" = x; then
7548 AR="false" 7548 AR="false"
7549 else 7549 else
7550@@ -6601,16 +6863,72 @@ 7550@@ -6601,16 +6863,72 @@ ac_tool_warned=yes ;;
7551 esac 7551 esac
7552 AR=$ac_ct_AR 7552 AR=$ac_ct_AR
7553 fi 7553 fi
@@ -7624,7 +7624,7 @@ Index: binutils-2.21/bfd/configure
7624 7624
7625 7625
7626 7626
7627@@ -6952,8 +7270,8 @@ 7627@@ -6952,8 +7270,8 @@ esac
7628 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7628 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7629 7629
7630 # Transform an extracted symbol line into symbol name and symbol address 7630 # Transform an extracted symbol line into symbol name and symbol address
@@ -7635,7 +7635,7 @@ Index: binutils-2.21/bfd/configure
7635 7635
7636 # Handle CRLF in mingw tool chain 7636 # Handle CRLF in mingw tool chain
7637 opt_cr= 7637 opt_cr=
7638@@ -6989,6 +7307,7 @@ 7638@@ -6989,6 +7307,7 @@ for ac_symprfx in "" "_"; do
7639 else 7639 else
7640 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7640 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7641 fi 7641 fi
@@ -7643,7 +7643,7 @@ Index: binutils-2.21/bfd/configure
7643 7643
7644 # Check to see that the pipe works correctly. 7644 # Check to see that the pipe works correctly.
7645 pipe_works=no 7645 pipe_works=no
7646@@ -7030,6 +7349,18 @@ 7646@@ -7030,6 +7349,18 @@ _LT_EOF
7647 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7647 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7648 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7648 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7649 cat <<_LT_EOF > conftest.$ac_ext 7649 cat <<_LT_EOF > conftest.$ac_ext
@@ -7662,7 +7662,7 @@ Index: binutils-2.21/bfd/configure
7662 #ifdef __cplusplus 7662 #ifdef __cplusplus
7663 extern "C" { 7663 extern "C" {
7664 #endif 7664 #endif
7665@@ -7041,7 +7372,7 @@ 7665@@ -7041,7 +7372,7 @@ _LT_EOF
7666 cat <<_LT_EOF >> conftest.$ac_ext 7666 cat <<_LT_EOF >> conftest.$ac_ext
7667 7667
7668 /* The mapping between symbol names and symbols. */ 7668 /* The mapping between symbol names and symbols. */
@@ -7671,7 +7671,7 @@ Index: binutils-2.21/bfd/configure
7671 const char *name; 7671 const char *name;
7672 void *address; 7672 void *address;
7673 } 7673 }
7674@@ -7067,8 +7398,8 @@ 7674@@ -7067,8 +7398,8 @@ static const void *lt_preloaded_setup()
7675 _LT_EOF 7675 _LT_EOF
7676 # Now try linking the two files. 7676 # Now try linking the two files.
7677 mv conftest.$ac_objext conftstm.$ac_objext 7677 mv conftest.$ac_objext conftstm.$ac_objext
@@ -7682,7 +7682,7 @@ Index: binutils-2.21/bfd/configure
7682 LIBS="conftstm.$ac_objext" 7682 LIBS="conftstm.$ac_objext"
7683 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7683 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7684 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7685@@ -7078,8 +7409,8 @@ 7685@@ -7078,8 +7409,8 @@ _LT_EOF
7686 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 7686 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7687 pipe_works=yes 7687 pipe_works=yes
7688 fi 7688 fi
@@ -7693,7 +7693,7 @@ Index: binutils-2.21/bfd/configure
7693 else 7693 else
7694 echo "cannot find nm_test_func in $nlist" >&5 7694 echo "cannot find nm_test_func in $nlist" >&5
7695 fi 7695 fi
7696@@ -7116,6 +7447,20 @@ 7696@@ -7116,6 +7447,20 @@ else
7697 $as_echo "ok" >&6; } 7697 $as_echo "ok" >&6; }
7698 fi 7698 fi
7699 7699
@@ -7714,7 +7714,7 @@ Index: binutils-2.21/bfd/configure
7714 7714
7715 7715
7716 7716
7717@@ -7135,6 +7480,41 @@ 7717@@ -7135,6 +7480,41 @@ fi
7718 7718
7719 7719
7720 7720
@@ -7756,7 +7756,7 @@ Index: binutils-2.21/bfd/configure
7756 7756
7757 7757
7758 # Check whether --enable-libtool-lock was given. 7758 # Check whether --enable-libtool-lock was given.
7759@@ -7330,6 +7710,123 @@ 7759@@ -7330,6 +7710,123 @@ esac
7760 7760
7761 need_locks="$enable_libtool_lock" 7761 need_locks="$enable_libtool_lock"
7762 7762
@@ -7880,7 +7880,7 @@ Index: binutils-2.21/bfd/configure
7880 7880
7881 case $host_os in 7881 case $host_os in
7882 rhapsody* | darwin*) 7882 rhapsody* | darwin*)
7883@@ -7893,6 +8390,8 @@ 7883@@ -7893,6 +8390,8 @@ _LT_EOF
7884 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7884 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7885 echo "$AR cru libconftest.a conftest.o" >&5 7885 echo "$AR cru libconftest.a conftest.o" >&5
7886 $AR cru libconftest.a conftest.o 2>&5 7886 $AR cru libconftest.a conftest.o 2>&5
@@ -7889,7 +7889,7 @@ Index: binutils-2.21/bfd/configure
7889 cat > conftest.c << _LT_EOF 7889 cat > conftest.c << _LT_EOF
7890 int main() { return 0;} 7890 int main() { return 0;}
7891 _LT_EOF 7891 _LT_EOF
7892@@ -8057,7 +8556,8 @@ 7892@@ -8057,7 +8556,8 @@ fi
7893 LIBTOOL_DEPS="$ltmain" 7893 LIBTOOL_DEPS="$ltmain"
7894 7894
7895 # Always use our own libtool. 7895 # Always use our own libtool.
@@ -7899,7 +7899,7 @@ Index: binutils-2.21/bfd/configure
7899 7899
7900 7900
7901 7901
7902@@ -8146,7 +8646,7 @@ 7902@@ -8146,7 +8646,7 @@ aix3*)
7903 esac 7903 esac
7904 7904
7905 # Global variables: 7905 # Global variables:
@@ -7908,7 +7908,7 @@ Index: binutils-2.21/bfd/configure
7908 can_build_shared=yes 7908 can_build_shared=yes
7909 7909
7910 # All known linkers require a `.a' archive for static linking (except MSVC, 7910 # All known linkers require a `.a' archive for static linking (except MSVC,
7911@@ -8444,8 +8944,6 @@ 7911@@ -8444,8 +8944,6 @@ fi
7912 lt_prog_compiler_pic= 7912 lt_prog_compiler_pic=
7913 lt_prog_compiler_static= 7913 lt_prog_compiler_static=
7914 7914
@@ -7917,7 +7917,7 @@ Index: binutils-2.21/bfd/configure
7917 7917
7918 if test "$GCC" = yes; then 7918 if test "$GCC" = yes; then
7919 lt_prog_compiler_wl='-Wl,' 7919 lt_prog_compiler_wl='-Wl,'
7920@@ -8610,6 +9108,12 @@ 7920@@ -8610,6 +9108,12 @@ $as_echo_n "checking for $compiler optio
7921 lt_prog_compiler_pic='--shared' 7921 lt_prog_compiler_pic='--shared'
7922 lt_prog_compiler_static='--static' 7922 lt_prog_compiler_static='--static'
7923 ;; 7923 ;;
@@ -7930,7 +7930,7 @@ Index: binutils-2.21/bfd/configure
7930 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 7930 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7931 # Portland Group compilers (*not* the Pentium gcc compiler, 7931 # Portland Group compilers (*not* the Pentium gcc compiler,
7932 # which looks to be a dead project) 7932 # which looks to be a dead project)
7933@@ -8672,7 +9176,7 @@ 7933@@ -8672,7 +9176,7 @@ $as_echo_n "checking for $compiler optio
7934 lt_prog_compiler_pic='-KPIC' 7934 lt_prog_compiler_pic='-KPIC'
7935 lt_prog_compiler_static='-Bstatic' 7935 lt_prog_compiler_static='-Bstatic'
7936 case $cc_basename in 7936 case $cc_basename in
@@ -7939,7 +7939,7 @@ Index: binutils-2.21/bfd/configure
7939 lt_prog_compiler_wl='-Qoption ld ';; 7939 lt_prog_compiler_wl='-Qoption ld ';;
7940 *) 7940 *)
7941 lt_prog_compiler_wl='-Wl,';; 7941 lt_prog_compiler_wl='-Wl,';;
7942@@ -8729,13 +9233,17 @@ 7942@@ -8729,13 +9233,17 @@ case $host_os in
7943 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7943 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7944 ;; 7944 ;;
7945 esac 7945 esac
@@ -7963,7 +7963,7 @@ Index: binutils-2.21/bfd/configure
7963 7963
7964 # 7964 #
7965 # Check to make sure the PIC flag actually works. 7965 # Check to make sure the PIC flag actually works.
7966@@ -8796,6 +9304,11 @@ 7966@@ -8796,6 +9304,11 @@ fi
7967 7967
7968 7968
7969 7969
@@ -7975,7 +7975,7 @@ Index: binutils-2.21/bfd/configure
7975 # 7975 #
7976 # Check to make sure the static flag actually works. 7976 # Check to make sure the static flag actually works.
7977 # 7977 #
7978@@ -9146,7 +9659,8 @@ 7978@@ -9146,7 +9659,8 @@ _LT_EOF
7979 allow_undefined_flag=unsupported 7979 allow_undefined_flag=unsupported
7980 always_export_symbols=no 7980 always_export_symbols=no
7981 enable_shared_with_static_runtimes=yes 7981 enable_shared_with_static_runtimes=yes
@@ -7985,7 +7985,7 @@ Index: binutils-2.21/bfd/configure
7985 7985
7986 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 7986 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7987 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 7987 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7988@@ -9194,7 +9708,7 @@ 7988@@ -9194,7 +9708,7 @@ _LT_EOF
7989 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 7989 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7990 && test "$tmp_diet" = no 7990 && test "$tmp_diet" = no
7991 then 7991 then
@@ -7994,7 +7994,7 @@ Index: binutils-2.21/bfd/configure
7994 tmp_sharedflag='-shared' 7994 tmp_sharedflag='-shared'
7995 case $cc_basename,$host_cpu in 7995 case $cc_basename,$host_cpu in
7996 pgcc*) # Portland Group C compiler 7996 pgcc*) # Portland Group C compiler
7997@@ -9245,12 +9759,12 @@ 7997@@ -9245,12 +9759,12 @@ _LT_EOF
7998 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 7998 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7999 hardcode_libdir_flag_spec= 7999 hardcode_libdir_flag_spec=
8000 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8000 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -8009,7 +8009,7 @@ Index: binutils-2.21/bfd/configure
8009 fi 8009 fi
8010 ;; 8010 ;;
8011 esac 8011 esac
8012@@ -9264,8 +9778,8 @@ 8012@@ -9264,8 +9778,8 @@ _LT_EOF
8013 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8013 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8014 wlarc= 8014 wlarc=
8015 else 8015 else
@@ -8020,7 +8020,7 @@ Index: binutils-2.21/bfd/configure
8020 fi 8020 fi
8021 ;; 8021 ;;
8022 8022
8023@@ -9283,8 +9797,8 @@ 8023@@ -9283,8 +9797,8 @@ _LT_EOF
8024 8024
8025 _LT_EOF 8025 _LT_EOF
8026 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8026 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8031,7 +8031,7 @@ Index: binutils-2.21/bfd/configure
8031 else 8031 else
8032 ld_shlibs=no 8032 ld_shlibs=no
8033 fi 8033 fi
8034@@ -9330,8 +9844,8 @@ 8034@@ -9330,8 +9844,8 @@ _LT_EOF
8035 8035
8036 *) 8036 *)
8037 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8037 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -8042,7 +8042,7 @@ Index: binutils-2.21/bfd/configure
8042 else 8042 else
8043 ld_shlibs=no 8043 ld_shlibs=no
8044 fi 8044 fi
8045@@ -9461,7 +9975,13 @@ 8045@@ -9461,7 +9975,13 @@ _LT_EOF
8046 allow_undefined_flag='-berok' 8046 allow_undefined_flag='-berok'
8047 # Determine the default libpath from the value encoded in an 8047 # Determine the default libpath from the value encoded in an
8048 # empty executable. 8048 # empty executable.
@@ -8057,7 +8057,7 @@ Index: binutils-2.21/bfd/configure
8057 /* end confdefs.h. */ 8057 /* end confdefs.h. */
8058 8058
8059 int 8059 int
8060@@ -9474,22 +9994,29 @@ 8060@@ -9474,22 +9994,29 @@ main ()
8061 _ACEOF 8061 _ACEOF
8062 if ac_fn_c_try_link "$LINENO"; then : 8062 if ac_fn_c_try_link "$LINENO"; then :
8063 8063
@@ -8100,7 +8100,7 @@ Index: binutils-2.21/bfd/configure
8100 8100
8101 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8101 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8102 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" 8102 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"
8103@@ -9501,7 +10028,13 @@ 8103@@ -9501,7 +10028,13 @@ if test -z "$aix_libpath"; then aix_libp
8104 else 8104 else
8105 # Determine the default libpath from the value encoded in an 8105 # Determine the default libpath from the value encoded in an
8106 # empty executable. 8106 # empty executable.
@@ -8115,7 +8115,7 @@ Index: binutils-2.21/bfd/configure
8115 /* end confdefs.h. */ 8115 /* end confdefs.h. */
8116 8116
8117 int 8117 int
8118@@ -9514,22 +10047,29 @@ 8118@@ -9514,22 +10047,29 @@ main ()
8119 _ACEOF 8119 _ACEOF
8120 if ac_fn_c_try_link "$LINENO"; then : 8120 if ac_fn_c_try_link "$LINENO"; then :
8121 8121
@@ -8158,7 +8158,7 @@ Index: binutils-2.21/bfd/configure
8158 8158
8159 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8159 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8160 # Warning - without using the other run time loading flags, 8160 # Warning - without using the other run time loading flags,
8161@@ -9574,20 +10114,63 @@ 8161@@ -9574,20 +10114,63 @@ if test -z "$aix_libpath"; then aix_libp
8162 # Microsoft Visual C++. 8162 # Microsoft Visual C++.
8163 # hardcode_libdir_flag_spec is actually meaningless, as there is 8163 # hardcode_libdir_flag_spec is actually meaningless, as there is
8164 # no search path for DLLs. 8164 # no search path for DLLs.
@@ -8236,7 +8236,7 @@ Index: binutils-2.21/bfd/configure
8236 ;; 8236 ;;
8237 8237
8238 darwin* | rhapsody*) 8238 darwin* | rhapsody*)
8239@@ -9652,7 +10235,7 @@ 8239@@ -9652,7 +10235,7 @@ if test -z "$aix_libpath"; then aix_libp
8240 8240
8241 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8241 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8242 freebsd* | dragonfly*) 8242 freebsd* | dragonfly*)
@@ -8245,7 +8245,7 @@ Index: binutils-2.21/bfd/configure
8245 hardcode_libdir_flag_spec='-R$libdir' 8245 hardcode_libdir_flag_spec='-R$libdir'
8246 hardcode_direct=yes 8246 hardcode_direct=yes
8247 hardcode_shlibpath_var=no 8247 hardcode_shlibpath_var=no
8248@@ -9660,7 +10243,7 @@ 8248@@ -9660,7 +10243,7 @@ if test -z "$aix_libpath"; then aix_libp
8249 8249
8250 hpux9*) 8250 hpux9*)
8251 if test "$GCC" = yes; then 8251 if test "$GCC" = yes; then
@@ -8254,7 +8254,7 @@ Index: binutils-2.21/bfd/configure
8254 else 8254 else
8255 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' 8255 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'
8256 fi 8256 fi
8257@@ -9676,7 +10259,7 @@ 8257@@ -9676,7 +10259,7 @@ if test -z "$aix_libpath"; then aix_libp
8258 8258
8259 hpux10*) 8259 hpux10*)
8260 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 8260 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -8263,7 +8263,7 @@ Index: binutils-2.21/bfd/configure
8263 else 8263 else
8264 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8264 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8265 fi 8265 fi
8266@@ -9700,10 +10283,10 @@ 8266@@ -9700,10 +10283,10 @@ if test -z "$aix_libpath"; then aix_libp
8267 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8267 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8268 ;; 8268 ;;
8269 ia64*) 8269 ia64*)
@@ -8276,7 +8276,7 @@ Index: binutils-2.21/bfd/configure
8276 ;; 8276 ;;
8277 esac 8277 esac
8278 else 8278 else
8279@@ -9782,23 +10365,36 @@ 8279@@ -9782,23 +10365,36 @@ fi
8280 8280
8281 irix5* | irix6* | nonstopux*) 8281 irix5* | irix6* | nonstopux*)
8282 if test "$GCC" = yes; then 8282 if test "$GCC" = yes; then
@@ -8321,7 +8321,7 @@ Index: binutils-2.21/bfd/configure
8321 else 8321 else
8322 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' 8322 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'
8323 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' 8323 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'
8324@@ -9883,7 +10479,7 @@ 8324@@ -9883,7 +10479,7 @@ rm -f core conftest.err conftest.$ac_obj
8325 osf4* | osf5*) # as osf3* with the addition of -msym flag 8325 osf4* | osf5*) # as osf3* with the addition of -msym flag
8326 if test "$GCC" = yes; then 8326 if test "$GCC" = yes; then
8327 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8327 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -8330,7 +8330,7 @@ Index: binutils-2.21/bfd/configure
8330 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8330 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8331 else 8331 else
8332 allow_undefined_flag=' -expect_unresolved \*' 8332 allow_undefined_flag=' -expect_unresolved \*'
8333@@ -9902,9 +10498,9 @@ 8333@@ -9902,9 +10498,9 @@ rm -f core conftest.err conftest.$ac_obj
8334 no_undefined_flag=' -z defs' 8334 no_undefined_flag=' -z defs'
8335 if test "$GCC" = yes; then 8335 if test "$GCC" = yes; then
8336 wlarc='${wl}' 8336 wlarc='${wl}'
@@ -8342,7 +8342,7 @@ Index: binutils-2.21/bfd/configure
8342 else 8342 else
8343 case `$CC -V 2>&1` in 8343 case `$CC -V 2>&1` in
8344 *"Compilers 5.0"*) 8344 *"Compilers 5.0"*)
8345@@ -10480,8 +11076,9 @@ 8345@@ -10480,8 +11076,9 @@ cygwin* | mingw* | pw32* | cegcc*)
8346 need_version=no 8346 need_version=no
8347 need_lib_prefix=no 8347 need_lib_prefix=no
8348 8348
@@ -8354,7 +8354,7 @@ Index: binutils-2.21/bfd/configure
8354 library_names_spec='$libname.dll.a' 8354 library_names_spec='$libname.dll.a'
8355 # DLL is installed to $(libdir)/../bin by postinstall_cmds 8355 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8356 postinstall_cmds='base_file=`basename \${file}`~ 8356 postinstall_cmds='base_file=`basename \${file}`~
8357@@ -10514,13 +11111,71 @@ 8357@@ -10514,13 +11111,71 @@ cygwin* | mingw* | pw32* | cegcc*)
8358 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 8358 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8359 ;; 8359 ;;
8360 esac 8360 esac
@@ -8427,7 +8427,7 @@ Index: binutils-2.21/bfd/configure
8427 # FIXME: first we should search . and the directory the executable is in 8427 # FIXME: first we should search . and the directory the executable is in
8428 shlibpath_var=PATH 8428 shlibpath_var=PATH
8429 ;; 8429 ;;
8430@@ -10616,7 +11271,7 @@ 8430@@ -10616,7 +11271,7 @@ haiku*)
8431 soname_spec='${libname}${release}${shared_ext}$major' 8431 soname_spec='${libname}${release}${shared_ext}$major'
8432 shlibpath_var=LIBRARY_PATH 8432 shlibpath_var=LIBRARY_PATH
8433 shlibpath_overrides_runpath=yes 8433 shlibpath_overrides_runpath=yes
@@ -8436,7 +8436,7 @@ Index: binutils-2.21/bfd/configure
8436 hardcode_into_libs=yes 8436 hardcode_into_libs=yes
8437 ;; 8437 ;;
8438 8438
8439@@ -11412,7 +12067,7 @@ 8439@@ -11412,7 +12067,7 @@ else
8440 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 8440 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8441 lt_status=$lt_dlunknown 8441 lt_status=$lt_dlunknown
8442 cat > conftest.$ac_ext <<_LT_EOF 8442 cat > conftest.$ac_ext <<_LT_EOF
@@ -8445,7 +8445,7 @@ Index: binutils-2.21/bfd/configure
8445 #include "confdefs.h" 8445 #include "confdefs.h"
8446 8446
8447 #if HAVE_DLFCN_H 8447 #if HAVE_DLFCN_H
8448@@ -11456,10 +12111,10 @@ 8448@@ -11456,10 +12111,10 @@ else
8449 /* When -fvisbility=hidden is used, assume the code has been annotated 8449 /* When -fvisbility=hidden is used, assume the code has been annotated
8450 correspondingly for the symbols needed. */ 8450 correspondingly for the symbols needed. */
8451 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 8451 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -8458,7 +8458,7 @@ Index: binutils-2.21/bfd/configure
8458 int main () 8458 int main ()
8459 { 8459 {
8460 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 8460 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8461@@ -11518,7 +12173,7 @@ 8461@@ -11518,7 +12173,7 @@ else
8462 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 8462 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8463 lt_status=$lt_dlunknown 8463 lt_status=$lt_dlunknown
8464 cat > conftest.$ac_ext <<_LT_EOF 8464 cat > conftest.$ac_ext <<_LT_EOF
@@ -8467,7 +8467,7 @@ Index: binutils-2.21/bfd/configure
8467 #include "confdefs.h" 8467 #include "confdefs.h"
8468 8468
8469 #if HAVE_DLFCN_H 8469 #if HAVE_DLFCN_H
8470@@ -11562,10 +12217,10 @@ 8470@@ -11562,10 +12217,10 @@ else
8471 /* When -fvisbility=hidden is used, assume the code has been annotated 8471 /* When -fvisbility=hidden is used, assume the code has been annotated
8472 correspondingly for the symbols needed. */ 8472 correspondingly for the symbols needed. */
8473 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 8473 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -8480,7 +8480,7 @@ Index: binutils-2.21/bfd/configure
8480 int main () 8480 int main ()
8481 { 8481 {
8482 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 8482 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8483@@ -14897,7 +15552,7 @@ 8483@@ -15045,7 +15700,7 @@ SHARED_LDFLAGS=
8484 if test "$enable_shared" = "yes"; then 8484 if test "$enable_shared" = "yes"; then
8485 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 8485 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
8486 if test -n "$x"; then 8486 if test -n "$x"; then
@@ -8489,7 +8489,7 @@ Index: binutils-2.21/bfd/configure
8489 fi 8489 fi
8490 8490
8491 # More hacks to build DLLs on Windows. 8491 # More hacks to build DLLs on Windows.
8492@@ -16473,13 +17128,20 @@ 8492@@ -16619,13 +17274,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
8493 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 8493 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
8494 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 8494 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
8495 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 8495 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -8510,7 +8510,7 @@ Index: binutils-2.21/bfd/configure
8510 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 8510 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
8511 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 8511 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
8512 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 8512 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
8513@@ -16494,14 +17156,17 @@ 8513@@ -16640,14 +17302,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
8514 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 8514 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
8515 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 8515 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
8516 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"`' 8516 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"`'
@@ -8529,7 +8529,7 @@ Index: binutils-2.21/bfd/configure
8529 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 8529 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
8530 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 8530 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
8531 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 8531 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
8532@@ -16534,12 +17199,12 @@ 8532@@ -16680,12 +17345,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
8533 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 8533 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
8534 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 8534 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
8535 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 8535 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -8543,7 +8543,7 @@ Index: binutils-2.21/bfd/configure
8543 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 8543 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
8544 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 8544 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
8545 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 8545 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
8546@@ -16594,8 +17259,13 @@ 8546@@ -16740,8 +17405,13 @@ reload_flag \
8547 OBJDUMP \ 8547 OBJDUMP \
8548 deplibs_check_method \ 8548 deplibs_check_method \
8549 file_magic_cmd \ 8549 file_magic_cmd \
@@ -8557,7 +8557,7 @@ Index: binutils-2.21/bfd/configure
8557 STRIP \ 8557 STRIP \
8558 RANLIB \ 8558 RANLIB \
8559 CC \ 8559 CC \
8560@@ -16605,12 +17275,14 @@ 8560@@ -16751,12 +17421,14 @@ lt_cv_sys_global_symbol_pipe \
8561 lt_cv_sys_global_symbol_to_cdecl \ 8561 lt_cv_sys_global_symbol_to_cdecl \
8562 lt_cv_sys_global_symbol_to_c_name_address \ 8562 lt_cv_sys_global_symbol_to_c_name_address \
8563 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 8563 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -8573,7 +8573,7 @@ Index: binutils-2.21/bfd/configure
8573 DSYMUTIL \ 8573 DSYMUTIL \
8574 NMEDIT \ 8574 NMEDIT \
8575 LIPO \ 8575 LIPO \
8576@@ -16626,7 +17298,6 @@ 8576@@ -16772,7 +17444,6 @@ no_undefined_flag \
8577 hardcode_libdir_flag_spec \ 8577 hardcode_libdir_flag_spec \
8578 hardcode_libdir_flag_spec_ld \ 8578 hardcode_libdir_flag_spec_ld \
8579 hardcode_libdir_separator \ 8579 hardcode_libdir_separator \
@@ -8581,7 +8581,7 @@ Index: binutils-2.21/bfd/configure
8581 exclude_expsyms \ 8581 exclude_expsyms \
8582 include_expsyms \ 8582 include_expsyms \
8583 file_list_spec \ 8583 file_list_spec \
8584@@ -16662,6 +17333,7 @@ 8584@@ -16808,6 +17479,7 @@ module_cmds \
8585 module_expsym_cmds \ 8585 module_expsym_cmds \
8586 export_symbols_cmds \ 8586 export_symbols_cmds \
8587 prelink_cmds \ 8587 prelink_cmds \
@@ -8589,7 +8589,7 @@ Index: binutils-2.21/bfd/configure
8589 postinstall_cmds \ 8589 postinstall_cmds \
8590 postuninstall_cmds \ 8590 postuninstall_cmds \
8591 finish_cmds \ 8591 finish_cmds \
8592@@ -17441,7 +18113,8 @@ 8592@@ -17587,7 +18259,8 @@ $as_echo X"$file" |
8593 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 8593 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8594 # 8594 #
8595 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 8595 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -8599,7 +8599,7 @@ Index: binutils-2.21/bfd/configure
8599 # Written by Gordon Matzigkeit, 1996 8599 # Written by Gordon Matzigkeit, 1996
8600 # 8600 #
8601 # This file is part of GNU Libtool. 8601 # This file is part of GNU Libtool.
8602@@ -17544,19 +18217,42 @@ 8602@@ -17690,19 +18363,42 @@ SP2NL=$lt_lt_SP2NL
8603 # turn newlines into spaces. 8603 # turn newlines into spaces.
8604 NL2SP=$lt_lt_NL2SP 8604 NL2SP=$lt_lt_NL2SP
8605 8605
@@ -8643,7 +8643,7 @@ Index: binutils-2.21/bfd/configure
8643 # A symbol stripping program. 8643 # A symbol stripping program.
8644 STRIP=$lt_STRIP 8644 STRIP=$lt_STRIP
8645 8645
8646@@ -17586,6 +18282,12 @@ 8646@@ -17732,6 +18428,12 @@ global_symbol_to_c_name_address=$lt_lt_c
8647 # Transform the output of nm in a C name address pair when lib prefix is needed. 8647 # Transform the output of nm in a C name address pair when lib prefix is needed.
8648 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 8648 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
8649 8649
@@ -8656,7 +8656,7 @@ Index: binutils-2.21/bfd/configure
8656 # The name of the directory that contains temporary libtool files. 8656 # The name of the directory that contains temporary libtool files.
8657 objdir=$objdir 8657 objdir=$objdir
8658 8658
8659@@ -17595,6 +18297,9 @@ 8659@@ -17741,6 +18443,9 @@ MAGIC_CMD=$MAGIC_CMD
8660 # Must we lock files when doing compilation? 8660 # Must we lock files when doing compilation?
8661 need_locks=$lt_need_locks 8661 need_locks=$lt_need_locks
8662 8662
@@ -8666,7 +8666,7 @@ Index: binutils-2.21/bfd/configure
8666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 8666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
8667 DSYMUTIL=$lt_DSYMUTIL 8667 DSYMUTIL=$lt_DSYMUTIL
8668 8668
8669@@ -17709,12 +18414,12 @@ 8669@@ -17855,12 +18560,12 @@ with_gcc=$GCC
8670 # Compiler flag to turn off builtin functions. 8670 # Compiler flag to turn off builtin functions.
8671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 8671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
8672 8672
@@ -8682,7 +8682,7 @@ Index: binutils-2.21/bfd/configure
8682 # Compiler flag to prevent dynamic linking. 8682 # Compiler flag to prevent dynamic linking.
8683 link_static_flag=$lt_lt_prog_compiler_static 8683 link_static_flag=$lt_lt_prog_compiler_static
8684 8684
8685@@ -17801,9 +18506,6 @@ 8685@@ -17947,9 +18652,6 @@ inherit_rpath=$inherit_rpath
8686 # Whether libtool must link a program against all its dependency libraries. 8686 # Whether libtool must link a program against all its dependency libraries.
8687 link_all_deplibs=$link_all_deplibs 8687 link_all_deplibs=$link_all_deplibs
8688 8688
@@ -8692,7 +8692,7 @@ Index: binutils-2.21/bfd/configure
8692 # Set to "yes" if exported symbols are required. 8692 # Set to "yes" if exported symbols are required.
8693 always_export_symbols=$always_export_symbols 8693 always_export_symbols=$always_export_symbols
8694 8694
8695@@ -17819,6 +18521,9 @@ 8695@@ -17965,6 +18667,9 @@ include_expsyms=$lt_include_expsyms
8696 # Commands necessary for linking programs (against libraries) with templates. 8696 # Commands necessary for linking programs (against libraries) with templates.
8697 prelink_cmds=$lt_prelink_cmds 8697 prelink_cmds=$lt_prelink_cmds
8698 8698
@@ -8702,7 +8702,7 @@ Index: binutils-2.21/bfd/configure
8702 # Specify filename containing input files. 8702 # Specify filename containing input files.
8703 file_list_spec=$lt_file_list_spec 8703 file_list_spec=$lt_file_list_spec
8704 8704
8705@@ -17851,210 +18556,169 @@ 8705@@ -17997,210 +18702,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
8706 # if finds mixed CR/LF and LF-only lines. Since sed operates in 8706 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8707 # text mode, it properly converts lines to CR/LF. This bash problem 8707 # text mode, it properly converts lines to CR/LF. This bash problem
8708 # is reportedly fixed, but why not run on old versions too? 8708 # is reportedly fixed, but why not run on old versions too?
@@ -9073,11 +9073,11 @@ Index: binutils-2.21/bfd/configure
9073 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 9073 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9074 chmod +x "$ofile" 9074 chmod +x "$ofile"
9075 9075
9076Index: binutils-2.21/opcodes/configure 9076Index: binutils-2.21.1/opcodes/configure
9077=================================================================== 9077===================================================================
9078--- binutils-2.21.orig/opcodes/configure 2010-11-05 03:32:32.000000000 -0700 9078--- binutils-2.21.1.orig/opcodes/configure
9079+++ binutils-2.21/opcodes/configure 2011-01-07 11:26:03.686101001 -0800 9079+++ binutils-2.21.1/opcodes/configure
9080@@ -647,6 +647,9 @@ 9080@@ -647,6 +647,9 @@ OTOOL
9081 LIPO 9081 LIPO
9082 NMEDIT 9082 NMEDIT
9083 DSYMUTIL 9083 DSYMUTIL
@@ -9087,7 +9087,7 @@ Index: binutils-2.21/opcodes/configure
9087 OBJDUMP 9087 OBJDUMP
9088 LN_S 9088 LN_S
9089 NM 9089 NM
9090@@ -759,6 +762,7 @@ 9090@@ -759,6 +762,7 @@ enable_static
9091 with_pic 9091 with_pic
9092 enable_fast_install 9092 enable_fast_install
9093 with_gnu_ld 9093 with_gnu_ld
@@ -9095,7 +9095,7 @@ Index: binutils-2.21/opcodes/configure
9095 enable_libtool_lock 9095 enable_libtool_lock
9096 enable_targets 9096 enable_targets
9097 enable_werror 9097 enable_werror
9098@@ -1417,6 +1421,8 @@ 9098@@ -1417,6 +1421,8 @@ Optional Packages:
9099 --with-pic try to use only PIC/non-PIC objects [default=use 9099 --with-pic try to use only PIC/non-PIC objects [default=use
9100 both] 9100 both]
9101 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 9101 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -9104,7 +9104,7 @@ Index: binutils-2.21/opcodes/configure
9104 9104
9105 Some influential environment variables: 9105 Some influential environment variables:
9106 CC C compiler command 9106 CC C compiler command
9107@@ -5112,8 +5118,8 @@ 9107@@ -5112,8 +5118,8 @@ esac
9108 9108
9109 9109
9110 9110
@@ -9115,7 +9115,7 @@ Index: binutils-2.21/opcodes/configure
9115 9115
9116 9116
9117 9117
9118@@ -5153,7 +5159,7 @@ 9118@@ -5153,7 +5159,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
9120 $as_echo_n "checking how to print strings... " >&6; } 9120 $as_echo_n "checking how to print strings... " >&6; }
9121 # Test print first, because it will be a builtin if present. 9121 # Test print first, because it will be a builtin if present.
@@ -9124,7 +9124,7 @@ Index: binutils-2.21/opcodes/configure
9124 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 9124 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
9125 ECHO='print -r --' 9125 ECHO='print -r --'
9126 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 9126 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
9127@@ -5839,8 +5845,8 @@ 9127@@ -5839,8 +5845,8 @@ $as_echo_n "checking whether the shell u
9128 # Try some XSI features 9128 # Try some XSI features
9129 xsi_shell=no 9129 xsi_shell=no
9130 ( _lt_dummy="a/b/c" 9130 ( _lt_dummy="a/b/c"
@@ -9135,7 +9135,7 @@ Index: binutils-2.21/opcodes/configure
9135 && eval 'test $(( 1 + 1 )) -eq 2 \ 9135 && eval 'test $(( 1 + 1 )) -eq 2 \
9136 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 9136 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9137 && xsi_shell=yes 9137 && xsi_shell=yes
9138@@ -5889,6 +5895,80 @@ 9138@@ -5889,6 +5895,80 @@ esac
9139 9139
9140 9140
9141 9141
@@ -9216,7 +9216,7 @@ Index: binutils-2.21/opcodes/configure
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9217 $as_echo_n "checking for $LD option to reload object files... " >&6; } 9217 $as_echo_n "checking for $LD option to reload object files... " >&6; }
9218 if test "${lt_cv_ld_reload_flag+set}" = set; then : 9218 if test "${lt_cv_ld_reload_flag+set}" = set; then :
9219@@ -5905,6 +5985,11 @@ 9219@@ -5905,6 +5985,11 @@ case $reload_flag in
9220 esac 9220 esac
9221 reload_cmds='$LD$reload_flag -o $output$reload_objs' 9221 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9222 case $host_os in 9222 case $host_os in
@@ -9228,7 +9228,7 @@ Index: binutils-2.21/opcodes/configure
9228 darwin*) 9228 darwin*)
9229 if test "$GCC" = yes; then 9229 if test "$GCC" = yes; then
9230 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 9230 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9231@@ -6073,7 +6158,8 @@ 9231@@ -6073,7 +6158,8 @@ mingw* | pw32*)
9232 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 9232 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9233 lt_cv_file_magic_cmd='func_win32_libid' 9233 lt_cv_file_magic_cmd='func_win32_libid'
9234 else 9234 else
@@ -9238,7 +9238,7 @@ Index: binutils-2.21/opcodes/configure
9238 lt_cv_file_magic_cmd='$OBJDUMP -f' 9238 lt_cv_file_magic_cmd='$OBJDUMP -f'
9239 fi 9239 fi
9240 ;; 9240 ;;
9241@@ -6227,6 +6313,21 @@ 9241@@ -6227,6 +6313,21 @@ esac
9242 fi 9242 fi
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9244 $as_echo "$lt_cv_deplibs_check_method" >&6; } 9244 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -9260,7 +9260,7 @@ Index: binutils-2.21/opcodes/configure
9260 file_magic_cmd=$lt_cv_file_magic_cmd 9260 file_magic_cmd=$lt_cv_file_magic_cmd
9261 deplibs_check_method=$lt_cv_deplibs_check_method 9261 deplibs_check_method=$lt_cv_deplibs_check_method
9262 test -z "$deplibs_check_method" && deplibs_check_method=unknown 9262 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9263@@ -6242,9 +6343,162 @@ 9263@@ -6242,9 +6343,162 @@ test -z "$deplibs_check_method" && depli
9264 9264
9265 9265
9266 9266
@@ -9425,7 +9425,7 @@ Index: binutils-2.21/opcodes/configure
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9426 $as_echo_n "checking for $ac_word... " >&6; } 9426 $as_echo_n "checking for $ac_word... " >&6; }
9427 if test "${ac_cv_prog_AR+set}" = set; then : 9427 if test "${ac_cv_prog_AR+set}" = set; then :
9428@@ -6260,7 +6514,7 @@ 9428@@ -6260,7 +6514,7 @@ do
9429 test -z "$as_dir" && as_dir=. 9429 test -z "$as_dir" && as_dir=.
9430 for ac_exec_ext in '' $ac_executable_extensions; do 9430 for ac_exec_ext in '' $ac_executable_extensions; do
9431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -9434,7 +9434,7 @@ Index: binutils-2.21/opcodes/configure
9434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9435 break 2 9435 break 2
9436 fi 9436 fi
9437@@ -6280,11 +6534,15 @@ 9437@@ -6280,11 +6534,15 @@ $as_echo "no" >&6; }
9438 fi 9438 fi
9439 9439
9440 9440
@@ -9453,7 +9453,7 @@ Index: binutils-2.21/opcodes/configure
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9454 $as_echo_n "checking for $ac_word... " >&6; } 9454 $as_echo_n "checking for $ac_word... " >&6; }
9455 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 9455 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
9456@@ -6300,7 +6558,7 @@ 9456@@ -6300,7 +6558,7 @@ do
9457 test -z "$as_dir" && as_dir=. 9457 test -z "$as_dir" && as_dir=.
9458 for ac_exec_ext in '' $ac_executable_extensions; do 9458 for ac_exec_ext in '' $ac_executable_extensions; do
9459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 9459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -9462,7 +9462,7 @@ Index: binutils-2.21/opcodes/configure
9462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9463 break 2 9463 break 2
9464 fi 9464 fi
9465@@ -6319,6 +6577,10 @@ 9465@@ -6319,6 +6577,10 @@ else
9466 $as_echo "no" >&6; } 9466 $as_echo "no" >&6; }
9467 fi 9467 fi
9468 9468
@@ -9473,7 +9473,7 @@ Index: binutils-2.21/opcodes/configure
9473 if test "x$ac_ct_AR" = x; then 9473 if test "x$ac_ct_AR" = x; then
9474 AR="false" 9474 AR="false"
9475 else 9475 else
9476@@ -6330,12 +6592,11 @@ 9476@@ -6330,12 +6592,11 @@ ac_tool_warned=yes ;;
9477 esac 9477 esac
9478 AR=$ac_ct_AR 9478 AR=$ac_ct_AR
9479 fi 9479 fi
@@ -9489,7 +9489,7 @@ Index: binutils-2.21/opcodes/configure
9489 9489
9490 9490
9491 9491
9492@@ -6346,6 +6607,63 @@ 9492@@ -6346,6 +6607,63 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
9493 9493
9494 9494
9495 9495
@@ -9553,7 +9553,7 @@ Index: binutils-2.21/opcodes/configure
9553 9553
9554 if test -n "$ac_tool_prefix"; then 9554 if test -n "$ac_tool_prefix"; then
9555 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 9555 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9556@@ -6681,8 +6999,8 @@ 9556@@ -6681,8 +6999,8 @@ esac
9557 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 9557 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9558 9558
9559 # Transform an extracted symbol line into symbol name and symbol address 9559 # Transform an extracted symbol line into symbol name and symbol address
@@ -9564,7 +9564,7 @@ Index: binutils-2.21/opcodes/configure
9564 9564
9565 # Handle CRLF in mingw tool chain 9565 # Handle CRLF in mingw tool chain
9566 opt_cr= 9566 opt_cr=
9567@@ -6718,6 +7036,7 @@ 9567@@ -6718,6 +7036,7 @@ for ac_symprfx in "" "_"; do
9568 else 9568 else
9569 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 9569 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9570 fi 9570 fi
@@ -9572,7 +9572,7 @@ Index: binutils-2.21/opcodes/configure
9572 9572
9573 # Check to see that the pipe works correctly. 9573 # Check to see that the pipe works correctly.
9574 pipe_works=no 9574 pipe_works=no
9575@@ -6759,6 +7078,18 @@ 9575@@ -6759,6 +7078,18 @@ _LT_EOF
9576 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 9576 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9577 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 9577 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9578 cat <<_LT_EOF > conftest.$ac_ext 9578 cat <<_LT_EOF > conftest.$ac_ext
@@ -9591,7 +9591,7 @@ Index: binutils-2.21/opcodes/configure
9591 #ifdef __cplusplus 9591 #ifdef __cplusplus
9592 extern "C" { 9592 extern "C" {
9593 #endif 9593 #endif
9594@@ -6770,7 +7101,7 @@ 9594@@ -6770,7 +7101,7 @@ _LT_EOF
9595 cat <<_LT_EOF >> conftest.$ac_ext 9595 cat <<_LT_EOF >> conftest.$ac_ext
9596 9596
9597 /* The mapping between symbol names and symbols. */ 9597 /* The mapping between symbol names and symbols. */
@@ -9600,7 +9600,7 @@ Index: binutils-2.21/opcodes/configure
9600 const char *name; 9600 const char *name;
9601 void *address; 9601 void *address;
9602 } 9602 }
9603@@ -6796,8 +7127,8 @@ 9603@@ -6796,8 +7127,8 @@ static const void *lt_preloaded_setup()
9604 _LT_EOF 9604 _LT_EOF
9605 # Now try linking the two files. 9605 # Now try linking the two files.
9606 mv conftest.$ac_objext conftstm.$ac_objext 9606 mv conftest.$ac_objext conftstm.$ac_objext
@@ -9611,7 +9611,7 @@ Index: binutils-2.21/opcodes/configure
9611 LIBS="conftstm.$ac_objext" 9611 LIBS="conftstm.$ac_objext"
9612 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 9612 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 9613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9614@@ -6807,8 +7138,8 @@ 9614@@ -6807,8 +7138,8 @@ _LT_EOF
9615 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 9615 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9616 pipe_works=yes 9616 pipe_works=yes
9617 fi 9617 fi
@@ -9622,7 +9622,7 @@ Index: binutils-2.21/opcodes/configure
9622 else 9622 else
9623 echo "cannot find nm_test_func in $nlist" >&5 9623 echo "cannot find nm_test_func in $nlist" >&5
9624 fi 9624 fi
9625@@ -6845,6 +7176,14 @@ 9625@@ -6845,6 +7176,14 @@ else
9626 $as_echo "ok" >&6; } 9626 $as_echo "ok" >&6; }
9627 fi 9627 fi
9628 9628
@@ -9637,7 +9637,7 @@ Index: binutils-2.21/opcodes/configure
9637 9637
9638 9638
9639 9639
9640@@ -6866,6 +7205,47 @@ 9640@@ -6866,6 +7205,47 @@ fi
9641 9641
9642 9642
9643 9643
@@ -9685,7 +9685,7 @@ Index: binutils-2.21/opcodes/configure
9685 # Check whether --enable-libtool-lock was given. 9685 # Check whether --enable-libtool-lock was given.
9686 if test "${enable_libtool_lock+set}" = set; then : 9686 if test "${enable_libtool_lock+set}" = set; then :
9687 enableval=$enable_libtool_lock; 9687 enableval=$enable_libtool_lock;
9688@@ -7059,6 +7439,123 @@ 9688@@ -7059,6 +7439,123 @@ esac
9689 9689
9690 need_locks="$enable_libtool_lock" 9690 need_locks="$enable_libtool_lock"
9691 9691
@@ -9809,7 +9809,7 @@ Index: binutils-2.21/opcodes/configure
9809 9809
9810 case $host_os in 9810 case $host_os in
9811 rhapsody* | darwin*) 9811 rhapsody* | darwin*)
9812@@ -7622,6 +8119,8 @@ 9812@@ -7622,6 +8119,8 @@ _LT_EOF
9813 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9813 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9814 echo "$AR cru libconftest.a conftest.o" >&5 9814 echo "$AR cru libconftest.a conftest.o" >&5
9815 $AR cru libconftest.a conftest.o 2>&5 9815 $AR cru libconftest.a conftest.o 2>&5
@@ -9818,7 +9818,7 @@ Index: binutils-2.21/opcodes/configure
9818 cat > conftest.c << _LT_EOF 9818 cat > conftest.c << _LT_EOF
9819 int main() { return 0;} 9819 int main() { return 0;}
9820 _LT_EOF 9820 _LT_EOF
9821@@ -7787,7 +8286,8 @@ 9821@@ -7787,7 +8286,8 @@ fi
9822 LIBTOOL_DEPS="$ltmain" 9822 LIBTOOL_DEPS="$ltmain"
9823 9823
9824 # Always use our own libtool. 9824 # Always use our own libtool.
@@ -9828,7 +9828,7 @@ Index: binutils-2.21/opcodes/configure
9828 9828
9829 9829
9830 9830
9831@@ -7876,7 +8376,7 @@ 9831@@ -7876,7 +8376,7 @@ aix3*)
9832 esac 9832 esac
9833 9833
9834 # Global variables: 9834 # Global variables:
@@ -9837,7 +9837,7 @@ Index: binutils-2.21/opcodes/configure
9837 can_build_shared=yes 9837 can_build_shared=yes
9838 9838
9839 # All known linkers require a `.a' archive for static linking (except MSVC, 9839 # All known linkers require a `.a' archive for static linking (except MSVC,
9840@@ -8174,8 +8674,6 @@ 9840@@ -8174,8 +8674,6 @@ fi
9841 lt_prog_compiler_pic= 9841 lt_prog_compiler_pic=
9842 lt_prog_compiler_static= 9842 lt_prog_compiler_static=
9843 9843
@@ -9846,7 +9846,7 @@ Index: binutils-2.21/opcodes/configure
9846 9846
9847 if test "$GCC" = yes; then 9847 if test "$GCC" = yes; then
9848 lt_prog_compiler_wl='-Wl,' 9848 lt_prog_compiler_wl='-Wl,'
9849@@ -8340,6 +8838,12 @@ 9849@@ -8340,6 +8838,12 @@ $as_echo_n "checking for $compiler optio
9850 lt_prog_compiler_pic='--shared' 9850 lt_prog_compiler_pic='--shared'
9851 lt_prog_compiler_static='--static' 9851 lt_prog_compiler_static='--static'
9852 ;; 9852 ;;
@@ -9859,7 +9859,7 @@ Index: binutils-2.21/opcodes/configure
9859 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 9859 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9860 # Portland Group compilers (*not* the Pentium gcc compiler, 9860 # Portland Group compilers (*not* the Pentium gcc compiler,
9861 # which looks to be a dead project) 9861 # which looks to be a dead project)
9862@@ -8402,7 +8906,7 @@ 9862@@ -8402,7 +8906,7 @@ $as_echo_n "checking for $compiler optio
9863 lt_prog_compiler_pic='-KPIC' 9863 lt_prog_compiler_pic='-KPIC'
9864 lt_prog_compiler_static='-Bstatic' 9864 lt_prog_compiler_static='-Bstatic'
9865 case $cc_basename in 9865 case $cc_basename in
@@ -9868,7 +9868,7 @@ Index: binutils-2.21/opcodes/configure
9868 lt_prog_compiler_wl='-Qoption ld ';; 9868 lt_prog_compiler_wl='-Qoption ld ';;
9869 *) 9869 *)
9870 lt_prog_compiler_wl='-Wl,';; 9870 lt_prog_compiler_wl='-Wl,';;
9871@@ -8459,13 +8963,17 @@ 9871@@ -8459,13 +8963,17 @@ case $host_os in
9872 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9872 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9873 ;; 9873 ;;
9874 esac 9874 esac
@@ -9892,7 +9892,7 @@ Index: binutils-2.21/opcodes/configure
9892 9892
9893 # 9893 #
9894 # Check to make sure the PIC flag actually works. 9894 # Check to make sure the PIC flag actually works.
9895@@ -8526,6 +9034,11 @@ 9895@@ -8526,6 +9034,11 @@ fi
9896 9896
9897 9897
9898 9898
@@ -9904,7 +9904,7 @@ Index: binutils-2.21/opcodes/configure
9904 # 9904 #
9905 # Check to make sure the static flag actually works. 9905 # Check to make sure the static flag actually works.
9906 # 9906 #
9907@@ -8876,7 +9389,8 @@ 9907@@ -8876,7 +9389,8 @@ _LT_EOF
9908 allow_undefined_flag=unsupported 9908 allow_undefined_flag=unsupported
9909 always_export_symbols=no 9909 always_export_symbols=no
9910 enable_shared_with_static_runtimes=yes 9910 enable_shared_with_static_runtimes=yes
@@ -9914,7 +9914,7 @@ Index: binutils-2.21/opcodes/configure
9914 9914
9915 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9915 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9916 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9916 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9917@@ -8924,7 +9438,7 @@ 9917@@ -8924,7 +9438,7 @@ _LT_EOF
9918 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9918 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9919 && test "$tmp_diet" = no 9919 && test "$tmp_diet" = no
9920 then 9920 then
@@ -9923,7 +9923,7 @@ Index: binutils-2.21/opcodes/configure
9923 tmp_sharedflag='-shared' 9923 tmp_sharedflag='-shared'
9924 case $cc_basename,$host_cpu in 9924 case $cc_basename,$host_cpu in
9925 pgcc*) # Portland Group C compiler 9925 pgcc*) # Portland Group C compiler
9926@@ -8975,12 +9489,12 @@ 9926@@ -8975,12 +9489,12 @@ _LT_EOF
9927 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9927 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9928 hardcode_libdir_flag_spec= 9928 hardcode_libdir_flag_spec=
9929 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9929 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -9938,7 +9938,7 @@ Index: binutils-2.21/opcodes/configure
9938 fi 9938 fi
9939 ;; 9939 ;;
9940 esac 9940 esac
9941@@ -8994,8 +9508,8 @@ 9941@@ -8994,8 +9508,8 @@ _LT_EOF
9942 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9942 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9943 wlarc= 9943 wlarc=
9944 else 9944 else
@@ -9949,7 +9949,7 @@ Index: binutils-2.21/opcodes/configure
9949 fi 9949 fi
9950 ;; 9950 ;;
9951 9951
9952@@ -9013,8 +9527,8 @@ 9952@@ -9013,8 +9527,8 @@ _LT_EOF
9953 9953
9954 _LT_EOF 9954 _LT_EOF
9955 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9955 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -9960,7 +9960,7 @@ Index: binutils-2.21/opcodes/configure
9960 else 9960 else
9961 ld_shlibs=no 9961 ld_shlibs=no
9962 fi 9962 fi
9963@@ -9060,8 +9574,8 @@ 9963@@ -9060,8 +9574,8 @@ _LT_EOF
9964 9964
9965 *) 9965 *)
9966 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9966 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -9971,7 +9971,7 @@ Index: binutils-2.21/opcodes/configure
9971 else 9971 else
9972 ld_shlibs=no 9972 ld_shlibs=no
9973 fi 9973 fi
9974@@ -9191,7 +9705,13 @@ 9974@@ -9191,7 +9705,13 @@ _LT_EOF
9975 allow_undefined_flag='-berok' 9975 allow_undefined_flag='-berok'
9976 # Determine the default libpath from the value encoded in an 9976 # Determine the default libpath from the value encoded in an
9977 # empty executable. 9977 # empty executable.
@@ -9986,7 +9986,7 @@ Index: binutils-2.21/opcodes/configure
9986 /* end confdefs.h. */ 9986 /* end confdefs.h. */
9987 9987
9988 int 9988 int
9989@@ -9204,22 +9724,29 @@ 9989@@ -9204,22 +9724,29 @@ main ()
9990 _ACEOF 9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then : 9991 if ac_fn_c_try_link "$LINENO"; then :
9992 9992
@@ -10029,7 +10029,7 @@ Index: binutils-2.21/opcodes/configure
10029 10029
10030 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10030 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10031 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" 10031 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"
10032@@ -9231,7 +9758,13 @@ 10032@@ -9231,7 +9758,13 @@ if test -z "$aix_libpath"; then aix_libp
10033 else 10033 else
10034 # Determine the default libpath from the value encoded in an 10034 # Determine the default libpath from the value encoded in an
10035 # empty executable. 10035 # empty executable.
@@ -10044,7 +10044,7 @@ Index: binutils-2.21/opcodes/configure
10044 /* end confdefs.h. */ 10044 /* end confdefs.h. */
10045 10045
10046 int 10046 int
10047@@ -9244,22 +9777,29 @@ 10047@@ -9244,22 +9777,29 @@ main ()
10048 _ACEOF 10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then : 10049 if ac_fn_c_try_link "$LINENO"; then :
10050 10050
@@ -10087,7 +10087,7 @@ Index: binutils-2.21/opcodes/configure
10087 10087
10088 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10088 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10089 # Warning - without using the other run time loading flags, 10089 # Warning - without using the other run time loading flags,
10090@@ -9304,20 +9844,63 @@ 10090@@ -9304,20 +9844,63 @@ if test -z "$aix_libpath"; then aix_libp
10091 # Microsoft Visual C++. 10091 # Microsoft Visual C++.
10092 # hardcode_libdir_flag_spec is actually meaningless, as there is 10092 # hardcode_libdir_flag_spec is actually meaningless, as there is
10093 # no search path for DLLs. 10093 # no search path for DLLs.
@@ -10165,7 +10165,7 @@ Index: binutils-2.21/opcodes/configure
10165 ;; 10165 ;;
10166 10166
10167 darwin* | rhapsody*) 10167 darwin* | rhapsody*)
10168@@ -9382,7 +9965,7 @@ 10168@@ -9382,7 +9965,7 @@ if test -z "$aix_libpath"; then aix_libp
10169 10169
10170 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10170 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10171 freebsd* | dragonfly*) 10171 freebsd* | dragonfly*)
@@ -10174,7 +10174,7 @@ Index: binutils-2.21/opcodes/configure
10174 hardcode_libdir_flag_spec='-R$libdir' 10174 hardcode_libdir_flag_spec='-R$libdir'
10175 hardcode_direct=yes 10175 hardcode_direct=yes
10176 hardcode_shlibpath_var=no 10176 hardcode_shlibpath_var=no
10177@@ -9390,7 +9973,7 @@ 10177@@ -9390,7 +9973,7 @@ if test -z "$aix_libpath"; then aix_libp
10178 10178
10179 hpux9*) 10179 hpux9*)
10180 if test "$GCC" = yes; then 10180 if test "$GCC" = yes; then
@@ -10183,7 +10183,7 @@ Index: binutils-2.21/opcodes/configure
10183 else 10183 else
10184 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' 10184 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'
10185 fi 10185 fi
10186@@ -9406,7 +9989,7 @@ 10186@@ -9406,7 +9989,7 @@ if test -z "$aix_libpath"; then aix_libp
10187 10187
10188 hpux10*) 10188 hpux10*)
10189 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10189 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -10192,7 +10192,7 @@ Index: binutils-2.21/opcodes/configure
10192 else 10192 else
10193 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10193 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10194 fi 10194 fi
10195@@ -9430,10 +10013,10 @@ 10195@@ -9430,10 +10013,10 @@ if test -z "$aix_libpath"; then aix_libp
10196 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10196 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 ;; 10197 ;;
10198 ia64*) 10198 ia64*)
@@ -10205,7 +10205,7 @@ Index: binutils-2.21/opcodes/configure
10205 ;; 10205 ;;
10206 esac 10206 esac
10207 else 10207 else
10208@@ -9512,23 +10095,36 @@ 10208@@ -9512,23 +10095,36 @@ fi
10209 10209
10210 irix5* | irix6* | nonstopux*) 10210 irix5* | irix6* | nonstopux*)
10211 if test "$GCC" = yes; then 10211 if test "$GCC" = yes; then
@@ -10250,7 +10250,7 @@ Index: binutils-2.21/opcodes/configure
10250 else 10250 else
10251 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' 10251 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'
10252 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' 10252 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'
10253@@ -9613,7 +10209,7 @@ 10253@@ -9613,7 +10209,7 @@ rm -f core conftest.err conftest.$ac_obj
10254 osf4* | osf5*) # as osf3* with the addition of -msym flag 10254 osf4* | osf5*) # as osf3* with the addition of -msym flag
10255 if test "$GCC" = yes; then 10255 if test "$GCC" = yes; then
10256 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10256 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -10259,7 +10259,7 @@ Index: binutils-2.21/opcodes/configure
10259 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10259 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10260 else 10260 else
10261 allow_undefined_flag=' -expect_unresolved \*' 10261 allow_undefined_flag=' -expect_unresolved \*'
10262@@ -9632,9 +10228,9 @@ 10262@@ -9632,9 +10228,9 @@ rm -f core conftest.err conftest.$ac_obj
10263 no_undefined_flag=' -z defs' 10263 no_undefined_flag=' -z defs'
10264 if test "$GCC" = yes; then 10264 if test "$GCC" = yes; then
10265 wlarc='${wl}' 10265 wlarc='${wl}'
@@ -10271,7 +10271,7 @@ Index: binutils-2.21/opcodes/configure
10271 else 10271 else
10272 case `$CC -V 2>&1` in 10272 case `$CC -V 2>&1` in
10273 *"Compilers 5.0"*) 10273 *"Compilers 5.0"*)
10274@@ -10210,8 +10806,9 @@ 10274@@ -10210,8 +10806,9 @@ cygwin* | mingw* | pw32* | cegcc*)
10275 need_version=no 10275 need_version=no
10276 need_lib_prefix=no 10276 need_lib_prefix=no
10277 10277
@@ -10283,7 +10283,7 @@ Index: binutils-2.21/opcodes/configure
10283 library_names_spec='$libname.dll.a' 10283 library_names_spec='$libname.dll.a'
10284 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10284 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10285 postinstall_cmds='base_file=`basename \${file}`~ 10285 postinstall_cmds='base_file=`basename \${file}`~
10286@@ -10244,13 +10841,71 @@ 10286@@ -10244,13 +10841,71 @@ cygwin* | mingw* | pw32* | cegcc*)
10287 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10287 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10288 ;; 10288 ;;
10289 esac 10289 esac
@@ -10356,7 +10356,7 @@ Index: binutils-2.21/opcodes/configure
10356 # FIXME: first we should search . and the directory the executable is in 10356 # FIXME: first we should search . and the directory the executable is in
10357 shlibpath_var=PATH 10357 shlibpath_var=PATH
10358 ;; 10358 ;;
10359@@ -10346,7 +11001,7 @@ 10359@@ -10346,7 +11001,7 @@ haiku*)
10360 soname_spec='${libname}${release}${shared_ext}$major' 10360 soname_spec='${libname}${release}${shared_ext}$major'
10361 shlibpath_var=LIBRARY_PATH 10361 shlibpath_var=LIBRARY_PATH
10362 shlibpath_overrides_runpath=yes 10362 shlibpath_overrides_runpath=yes
@@ -10365,7 +10365,7 @@ Index: binutils-2.21/opcodes/configure
10365 hardcode_into_libs=yes 10365 hardcode_into_libs=yes
10366 ;; 10366 ;;
10367 10367
10368@@ -11142,7 +11797,7 @@ 10368@@ -11142,7 +11797,7 @@ else
10369 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10369 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10370 lt_status=$lt_dlunknown 10370 lt_status=$lt_dlunknown
10371 cat > conftest.$ac_ext <<_LT_EOF 10371 cat > conftest.$ac_ext <<_LT_EOF
@@ -10374,7 +10374,7 @@ Index: binutils-2.21/opcodes/configure
10374 #include "confdefs.h" 10374 #include "confdefs.h"
10375 10375
10376 #if HAVE_DLFCN_H 10376 #if HAVE_DLFCN_H
10377@@ -11186,10 +11841,10 @@ 10377@@ -11186,10 +11841,10 @@ else
10378 /* When -fvisbility=hidden is used, assume the code has been annotated 10378 /* When -fvisbility=hidden is used, assume the code has been annotated
10379 correspondingly for the symbols needed. */ 10379 correspondingly for the symbols needed. */
10380 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10380 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -10387,7 +10387,7 @@ Index: binutils-2.21/opcodes/configure
10387 int main () 10387 int main ()
10388 { 10388 {
10389 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10389 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10390@@ -11248,7 +11903,7 @@ 10390@@ -11248,7 +11903,7 @@ else
10391 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10391 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10392 lt_status=$lt_dlunknown 10392 lt_status=$lt_dlunknown
10393 cat > conftest.$ac_ext <<_LT_EOF 10393 cat > conftest.$ac_ext <<_LT_EOF
@@ -10396,7 +10396,7 @@ Index: binutils-2.21/opcodes/configure
10396 #include "confdefs.h" 10396 #include "confdefs.h"
10397 10397
10398 #if HAVE_DLFCN_H 10398 #if HAVE_DLFCN_H
10399@@ -11292,10 +11947,10 @@ 10399@@ -11292,10 +11947,10 @@ else
10400 /* When -fvisbility=hidden is used, assume the code has been annotated 10400 /* When -fvisbility=hidden is used, assume the code has been annotated
10401 correspondingly for the symbols needed. */ 10401 correspondingly for the symbols needed. */
10402 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10402 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -10409,7 +10409,7 @@ Index: binutils-2.21/opcodes/configure
10409 int main () 10409 int main ()
10410 { 10410 {
10411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10412@@ -12328,7 +12983,7 @@ 10412@@ -12328,7 +12983,7 @@ if test "$enable_shared" = "yes"; then
10413 # since libbfd may not pull in the entirety of libiberty. 10413 # since libbfd may not pull in the entirety of libiberty.
10414 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 10414 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10415 if test -n "$x"; then 10415 if test -n "$x"; then
@@ -10418,7 +10418,7 @@ Index: binutils-2.21/opcodes/configure
10418 fi 10418 fi
10419 10419
10420 case "${host}" in 10420 case "${host}" in
10421@@ -13289,13 +13944,20 @@ 10421@@ -13289,13 +13944,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
10422 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 10422 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
10423 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 10423 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
10424 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 10424 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -10439,7 +10439,7 @@ Index: binutils-2.21/opcodes/configure
10439 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 10439 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
10440 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 10440 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
10441 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 10441 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
10442@@ -13310,14 +13972,17 @@ 10442@@ -13310,14 +13972,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
10443 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 10443 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
10444 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 10444 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
10445 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"`' 10445 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"`'
@@ -10458,7 +10458,7 @@ Index: binutils-2.21/opcodes/configure
10458 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 10458 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
10459 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 10459 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
10460 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 10460 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
10461@@ -13350,12 +14015,12 @@ 10461@@ -13350,12 +14015,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
10462 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 10462 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
10463 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 10463 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
10464 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 10464 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -10472,7 +10472,7 @@ Index: binutils-2.21/opcodes/configure
10472 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 10472 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
10473 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 10473 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
10474 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 10474 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
10475@@ -13410,8 +14075,13 @@ 10475@@ -13410,8 +14075,13 @@ reload_flag \
10476 OBJDUMP \ 10476 OBJDUMP \
10477 deplibs_check_method \ 10477 deplibs_check_method \
10478 file_magic_cmd \ 10478 file_magic_cmd \
@@ -10486,7 +10486,7 @@ Index: binutils-2.21/opcodes/configure
10486 STRIP \ 10486 STRIP \
10487 RANLIB \ 10487 RANLIB \
10488 CC \ 10488 CC \
10489@@ -13421,12 +14091,14 @@ 10489@@ -13421,12 +14091,14 @@ lt_cv_sys_global_symbol_pipe \
10490 lt_cv_sys_global_symbol_to_cdecl \ 10490 lt_cv_sys_global_symbol_to_cdecl \
10491 lt_cv_sys_global_symbol_to_c_name_address \ 10491 lt_cv_sys_global_symbol_to_c_name_address \
10492 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 10492 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -10502,7 +10502,7 @@ Index: binutils-2.21/opcodes/configure
10502 DSYMUTIL \ 10502 DSYMUTIL \
10503 NMEDIT \ 10503 NMEDIT \
10504 LIPO \ 10504 LIPO \
10505@@ -13442,7 +14114,6 @@ 10505@@ -13442,7 +14114,6 @@ no_undefined_flag \
10506 hardcode_libdir_flag_spec \ 10506 hardcode_libdir_flag_spec \
10507 hardcode_libdir_flag_spec_ld \ 10507 hardcode_libdir_flag_spec_ld \
10508 hardcode_libdir_separator \ 10508 hardcode_libdir_separator \
@@ -10510,7 +10510,7 @@ Index: binutils-2.21/opcodes/configure
10510 exclude_expsyms \ 10510 exclude_expsyms \
10511 include_expsyms \ 10511 include_expsyms \
10512 file_list_spec \ 10512 file_list_spec \
10513@@ -13478,6 +14149,7 @@ 10513@@ -13478,6 +14149,7 @@ module_cmds \
10514 module_expsym_cmds \ 10514 module_expsym_cmds \
10515 export_symbols_cmds \ 10515 export_symbols_cmds \
10516 prelink_cmds \ 10516 prelink_cmds \
@@ -10518,7 +10518,7 @@ Index: binutils-2.21/opcodes/configure
10518 postinstall_cmds \ 10518 postinstall_cmds \
10519 postuninstall_cmds \ 10519 postuninstall_cmds \
10520 finish_cmds \ 10520 finish_cmds \
10521@@ -14234,7 +14906,8 @@ 10521@@ -14234,7 +14906,8 @@ $as_echo X"$file" |
10522 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 10522 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10523 # 10523 #
10524 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 10524 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -10528,7 +10528,7 @@ Index: binutils-2.21/opcodes/configure
10528 # Written by Gordon Matzigkeit, 1996 10528 # Written by Gordon Matzigkeit, 1996
10529 # 10529 #
10530 # This file is part of GNU Libtool. 10530 # This file is part of GNU Libtool.
10531@@ -14337,19 +15010,42 @@ 10531@@ -14337,19 +15010,42 @@ SP2NL=$lt_lt_SP2NL
10532 # turn newlines into spaces. 10532 # turn newlines into spaces.
10533 NL2SP=$lt_lt_NL2SP 10533 NL2SP=$lt_lt_NL2SP
10534 10534
@@ -10572,7 +10572,7 @@ Index: binutils-2.21/opcodes/configure
10572 # A symbol stripping program. 10572 # A symbol stripping program.
10573 STRIP=$lt_STRIP 10573 STRIP=$lt_STRIP
10574 10574
10575@@ -14379,6 +15075,12 @@ 10575@@ -14379,6 +15075,12 @@ global_symbol_to_c_name_address=$lt_lt_c
10576 # Transform the output of nm in a C name address pair when lib prefix is needed. 10576 # Transform the output of nm in a C name address pair when lib prefix is needed.
10577 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 10577 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
10578 10578
@@ -10585,7 +10585,7 @@ Index: binutils-2.21/opcodes/configure
10585 # The name of the directory that contains temporary libtool files. 10585 # The name of the directory that contains temporary libtool files.
10586 objdir=$objdir 10586 objdir=$objdir
10587 10587
10588@@ -14388,6 +15090,9 @@ 10588@@ -14388,6 +15090,9 @@ MAGIC_CMD=$MAGIC_CMD
10589 # Must we lock files when doing compilation? 10589 # Must we lock files when doing compilation?
10590 need_locks=$lt_need_locks 10590 need_locks=$lt_need_locks
10591 10591
@@ -10595,7 +10595,7 @@ Index: binutils-2.21/opcodes/configure
10595 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 10595 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
10596 DSYMUTIL=$lt_DSYMUTIL 10596 DSYMUTIL=$lt_DSYMUTIL
10597 10597
10598@@ -14502,12 +15207,12 @@ 10598@@ -14502,12 +15207,12 @@ with_gcc=$GCC
10599 # Compiler flag to turn off builtin functions. 10599 # Compiler flag to turn off builtin functions.
10600 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 10600 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10601 10601
@@ -10611,7 +10611,7 @@ Index: binutils-2.21/opcodes/configure
10611 # Compiler flag to prevent dynamic linking. 10611 # Compiler flag to prevent dynamic linking.
10612 link_static_flag=$lt_lt_prog_compiler_static 10612 link_static_flag=$lt_lt_prog_compiler_static
10613 10613
10614@@ -14594,9 +15299,6 @@ 10614@@ -14594,9 +15299,6 @@ inherit_rpath=$inherit_rpath
10615 # Whether libtool must link a program against all its dependency libraries. 10615 # Whether libtool must link a program against all its dependency libraries.
10616 link_all_deplibs=$link_all_deplibs 10616 link_all_deplibs=$link_all_deplibs
10617 10617
@@ -10621,7 +10621,7 @@ Index: binutils-2.21/opcodes/configure
10621 # Set to "yes" if exported symbols are required. 10621 # Set to "yes" if exported symbols are required.
10622 always_export_symbols=$always_export_symbols 10622 always_export_symbols=$always_export_symbols
10623 10623
10624@@ -14612,6 +15314,9 @@ 10624@@ -14612,6 +15314,9 @@ include_expsyms=$lt_include_expsyms
10625 # Commands necessary for linking programs (against libraries) with templates. 10625 # Commands necessary for linking programs (against libraries) with templates.
10626 prelink_cmds=$lt_prelink_cmds 10626 prelink_cmds=$lt_prelink_cmds
10627 10627
@@ -10631,7 +10631,7 @@ Index: binutils-2.21/opcodes/configure
10631 # Specify filename containing input files. 10631 # Specify filename containing input files.
10632 file_list_spec=$lt_file_list_spec 10632 file_list_spec=$lt_file_list_spec
10633 10633
10634@@ -14644,210 +15349,169 @@ 10634@@ -14644,210 +15349,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
10635 # if finds mixed CR/LF and LF-only lines. Since sed operates in 10635 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10636 # text mode, it properly converts lines to CR/LF. This bash problem 10636 # text mode, it properly converts lines to CR/LF. This bash problem
10637 # is reportedly fixed, but why not run on old versions too? 10637 # is reportedly fixed, but why not run on old versions too?
@@ -11002,11 +11002,11 @@ Index: binutils-2.21/opcodes/configure
11002 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 11002 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11003 chmod +x "$ofile" 11003 chmod +x "$ofile"
11004 11004
11005Index: binutils-2.21/binutils/configure 11005Index: binutils-2.21.1/binutils/configure
11006=================================================================== 11006===================================================================
11007--- binutils-2.21.orig/binutils/configure 2010-11-05 03:32:55.000000000 -0700 11007--- binutils-2.21.1.orig/binutils/configure
11008+++ binutils-2.21/binutils/configure 2011-01-07 10:49:16.426101000 -0800 11008+++ binutils-2.21.1/binutils/configure
11009@@ -654,8 +654,11 @@ 11009@@ -654,8 +654,11 @@ OTOOL
11010 LIPO 11010 LIPO
11011 NMEDIT 11011 NMEDIT
11012 DSYMUTIL 11012 DSYMUTIL
@@ -11018,7 +11018,7 @@ Index: binutils-2.21/binutils/configure
11018 OBJDUMP 11018 OBJDUMP
11019 LN_S 11019 LN_S
11020 NM 11020 NM
11021@@ -768,6 +771,7 @@ 11021@@ -768,6 +771,7 @@ enable_static
11022 with_pic 11022 with_pic
11023 enable_fast_install 11023 enable_fast_install
11024 with_gnu_ld 11024 with_gnu_ld
@@ -11026,7 +11026,7 @@ Index: binutils-2.21/binutils/configure
11026 enable_libtool_lock 11026 enable_libtool_lock
11027 enable_targets 11027 enable_targets
11028 enable_werror 11028 enable_werror
11029@@ -1429,6 +1433,8 @@ 11029@@ -1429,6 +1433,8 @@ Optional Packages:
11030 --with-pic try to use only PIC/non-PIC objects [default=use 11030 --with-pic try to use only PIC/non-PIC objects [default=use
11031 both] 11031 both]
11032 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 11032 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -11035,7 +11035,7 @@ Index: binutils-2.21/binutils/configure
11035 --with-gnu-ld assume the C compiler uses GNU ld default=no 11035 --with-gnu-ld assume the C compiler uses GNU ld default=no
11036 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 11036 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
11037 --without-libiconv-prefix don't search for libiconv in includedir and libdir 11037 --without-libiconv-prefix don't search for libiconv in includedir and libdir
11038@@ -5146,8 +5152,8 @@ 11038@@ -5146,8 +5152,8 @@ esac
11039 11039
11040 11040
11041 11041
@@ -11046,7 +11046,7 @@ Index: binutils-2.21/binutils/configure
11046 11046
11047 11047
11048 11048
11049@@ -5187,7 +5193,7 @@ 11049@@ -5187,7 +5193,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
11051 $as_echo_n "checking how to print strings... " >&6; } 11051 $as_echo_n "checking how to print strings... " >&6; }
11052 # Test print first, because it will be a builtin if present. 11052 # Test print first, because it will be a builtin if present.
@@ -11055,7 +11055,7 @@ Index: binutils-2.21/binutils/configure
11055 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 11055 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
11056 ECHO='print -r --' 11056 ECHO='print -r --'
11057 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 11057 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
11058@@ -5873,8 +5879,8 @@ 11058@@ -5873,8 +5879,8 @@ $as_echo_n "checking whether the shell u
11059 # Try some XSI features 11059 # Try some XSI features
11060 xsi_shell=no 11060 xsi_shell=no
11061 ( _lt_dummy="a/b/c" 11061 ( _lt_dummy="a/b/c"
@@ -11066,7 +11066,7 @@ Index: binutils-2.21/binutils/configure
11066 && eval 'test $(( 1 + 1 )) -eq 2 \ 11066 && eval 'test $(( 1 + 1 )) -eq 2 \
11067 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 11067 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
11068 && xsi_shell=yes 11068 && xsi_shell=yes
11069@@ -5923,6 +5929,80 @@ 11069@@ -5923,6 +5929,80 @@ esac
11070 11070
11071 11071
11072 11072
@@ -11147,7 +11147,7 @@ Index: binutils-2.21/binutils/configure
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
11148 $as_echo_n "checking for $LD option to reload object files... " >&6; } 11148 $as_echo_n "checking for $LD option to reload object files... " >&6; }
11149 if test "${lt_cv_ld_reload_flag+set}" = set; then : 11149 if test "${lt_cv_ld_reload_flag+set}" = set; then :
11150@@ -5939,6 +6019,11 @@ 11150@@ -5939,6 +6019,11 @@ case $reload_flag in
11151 esac 11151 esac
11152 reload_cmds='$LD$reload_flag -o $output$reload_objs' 11152 reload_cmds='$LD$reload_flag -o $output$reload_objs'
11153 case $host_os in 11153 case $host_os in
@@ -11159,7 +11159,7 @@ Index: binutils-2.21/binutils/configure
11159 darwin*) 11159 darwin*)
11160 if test "$GCC" = yes; then 11160 if test "$GCC" = yes; then
11161 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 11161 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
11162@@ -6107,7 +6192,8 @@ 11162@@ -6107,7 +6192,8 @@ mingw* | pw32*)
11163 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 11163 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11164 lt_cv_file_magic_cmd='func_win32_libid' 11164 lt_cv_file_magic_cmd='func_win32_libid'
11165 else 11165 else
@@ -11169,7 +11169,7 @@ Index: binutils-2.21/binutils/configure
11169 lt_cv_file_magic_cmd='$OBJDUMP -f' 11169 lt_cv_file_magic_cmd='$OBJDUMP -f'
11170 fi 11170 fi
11171 ;; 11171 ;;
11172@@ -6261,6 +6347,21 @@ 11172@@ -6261,6 +6347,21 @@ esac
11173 fi 11173 fi
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
11175 $as_echo "$lt_cv_deplibs_check_method" >&6; } 11175 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -11191,7 +11191,7 @@ Index: binutils-2.21/binutils/configure
11191 file_magic_cmd=$lt_cv_file_magic_cmd 11191 file_magic_cmd=$lt_cv_file_magic_cmd
11192 deplibs_check_method=$lt_cv_deplibs_check_method 11192 deplibs_check_method=$lt_cv_deplibs_check_method
11193 test -z "$deplibs_check_method" && deplibs_check_method=unknown 11193 test -z "$deplibs_check_method" && deplibs_check_method=unknown
11194@@ -6276,9 +6377,162 @@ 11194@@ -6276,9 +6377,162 @@ test -z "$deplibs_check_method" && depli
11195 11195
11196 11196
11197 11197
@@ -11356,7 +11356,7 @@ Index: binutils-2.21/binutils/configure
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11357 $as_echo_n "checking for $ac_word... " >&6; } 11357 $as_echo_n "checking for $ac_word... " >&6; }
11358 if test "${ac_cv_prog_AR+set}" = set; then : 11358 if test "${ac_cv_prog_AR+set}" = set; then :
11359@@ -6294,7 +6548,7 @@ 11359@@ -6294,7 +6548,7 @@ do
11360 test -z "$as_dir" && as_dir=. 11360 test -z "$as_dir" && as_dir=.
11361 for ac_exec_ext in '' $ac_executable_extensions; do 11361 for ac_exec_ext in '' $ac_executable_extensions; do
11362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -11365,7 +11365,7 @@ Index: binutils-2.21/binutils/configure
11365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11366 break 2 11366 break 2
11367 fi 11367 fi
11368@@ -6314,11 +6568,15 @@ 11368@@ -6314,11 +6568,15 @@ $as_echo "no" >&6; }
11369 fi 11369 fi
11370 11370
11371 11371
@@ -11384,7 +11384,7 @@ Index: binutils-2.21/binutils/configure
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11385 $as_echo_n "checking for $ac_word... " >&6; } 11385 $as_echo_n "checking for $ac_word... " >&6; }
11386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 11386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
11387@@ -6334,7 +6592,7 @@ 11387@@ -6334,7 +6592,7 @@ do
11388 test -z "$as_dir" && as_dir=. 11388 test -z "$as_dir" && as_dir=.
11389 for ac_exec_ext in '' $ac_executable_extensions; do 11389 for ac_exec_ext in '' $ac_executable_extensions; do
11390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -11393,7 +11393,7 @@ Index: binutils-2.21/binutils/configure
11393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11394 break 2 11394 break 2
11395 fi 11395 fi
11396@@ -6353,6 +6611,10 @@ 11396@@ -6353,6 +6611,10 @@ else
11397 $as_echo "no" >&6; } 11397 $as_echo "no" >&6; }
11398 fi 11398 fi
11399 11399
@@ -11404,7 +11404,7 @@ Index: binutils-2.21/binutils/configure
11404 if test "x$ac_ct_AR" = x; then 11404 if test "x$ac_ct_AR" = x; then
11405 AR="false" 11405 AR="false"
11406 else 11406 else
11407@@ -6364,12 +6626,10 @@ 11407@@ -6364,12 +6626,10 @@ ac_tool_warned=yes ;;
11408 esac 11408 esac
11409 AR=$ac_ct_AR 11409 AR=$ac_ct_AR
11410 fi 11410 fi
@@ -11419,7 +11419,7 @@ Index: binutils-2.21/binutils/configure
11419 11419
11420 11420
11421 11421
11422@@ -6381,6 +6641,64 @@ 11422@@ -6381,6 +6641,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
11423 11423
11424 11424
11425 11425
@@ -11484,7 +11484,7 @@ Index: binutils-2.21/binutils/configure
11484 if test -n "$ac_tool_prefix"; then 11484 if test -n "$ac_tool_prefix"; then
11485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 11485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11486 set dummy ${ac_tool_prefix}strip; ac_word=$2 11486 set dummy ${ac_tool_prefix}strip; ac_word=$2
11487@@ -6715,8 +7033,8 @@ 11487@@ -6715,8 +7033,8 @@ esac
11488 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 11488 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11489 11489
11490 # Transform an extracted symbol line into symbol name and symbol address 11490 # Transform an extracted symbol line into symbol name and symbol address
@@ -11495,7 +11495,7 @@ Index: binutils-2.21/binutils/configure
11495 11495
11496 # Handle CRLF in mingw tool chain 11496 # Handle CRLF in mingw tool chain
11497 opt_cr= 11497 opt_cr=
11498@@ -6752,6 +7070,7 @@ 11498@@ -6752,6 +7070,7 @@ for ac_symprfx in "" "_"; do
11499 else 11499 else
11500 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 11500 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11501 fi 11501 fi
@@ -11503,7 +11503,7 @@ Index: binutils-2.21/binutils/configure
11503 11503
11504 # Check to see that the pipe works correctly. 11504 # Check to see that the pipe works correctly.
11505 pipe_works=no 11505 pipe_works=no
11506@@ -6793,6 +7112,18 @@ 11506@@ -6793,6 +7112,18 @@ _LT_EOF
11507 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 11507 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11508 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 11508 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
11509 cat <<_LT_EOF > conftest.$ac_ext 11509 cat <<_LT_EOF > conftest.$ac_ext
@@ -11522,7 +11522,7 @@ Index: binutils-2.21/binutils/configure
11522 #ifdef __cplusplus 11522 #ifdef __cplusplus
11523 extern "C" { 11523 extern "C" {
11524 #endif 11524 #endif
11525@@ -6804,7 +7135,7 @@ 11525@@ -6804,7 +7135,7 @@ _LT_EOF
11526 cat <<_LT_EOF >> conftest.$ac_ext 11526 cat <<_LT_EOF >> conftest.$ac_ext
11527 11527
11528 /* The mapping between symbol names and symbols. */ 11528 /* The mapping between symbol names and symbols. */
@@ -11531,7 +11531,7 @@ Index: binutils-2.21/binutils/configure
11531 const char *name; 11531 const char *name;
11532 void *address; 11532 void *address;
11533 } 11533 }
11534@@ -6830,8 +7161,8 @@ 11534@@ -6830,8 +7161,8 @@ static const void *lt_preloaded_setup()
11535 _LT_EOF 11535 _LT_EOF
11536 # Now try linking the two files. 11536 # Now try linking the two files.
11537 mv conftest.$ac_objext conftstm.$ac_objext 11537 mv conftest.$ac_objext conftstm.$ac_objext
@@ -11542,7 +11542,7 @@ Index: binutils-2.21/binutils/configure
11542 LIBS="conftstm.$ac_objext" 11542 LIBS="conftstm.$ac_objext"
11543 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 11543 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11545@@ -6841,8 +7172,8 @@ 11545@@ -6841,8 +7172,8 @@ _LT_EOF
11546 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 11546 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
11547 pipe_works=yes 11547 pipe_works=yes
11548 fi 11548 fi
@@ -11553,7 +11553,7 @@ Index: binutils-2.21/binutils/configure
11553 else 11553 else
11554 echo "cannot find nm_test_func in $nlist" >&5 11554 echo "cannot find nm_test_func in $nlist" >&5
11555 fi 11555 fi
11556@@ -6879,6 +7210,19 @@ 11556@@ -6879,6 +7210,19 @@ else
11557 $as_echo "ok" >&6; } 11557 $as_echo "ok" >&6; }
11558 fi 11558 fi
11559 11559
@@ -11573,7 +11573,7 @@ Index: binutils-2.21/binutils/configure
11573 11573
11574 11574
11575 11575
11576@@ -6899,6 +7243,42 @@ 11576@@ -6899,6 +7243,42 @@ fi
11577 11577
11578 11578
11579 11579
@@ -11616,7 +11616,7 @@ Index: binutils-2.21/binutils/configure
11616 11616
11617 # Check whether --enable-libtool-lock was given. 11617 # Check whether --enable-libtool-lock was given.
11618 if test "${enable_libtool_lock+set}" = set; then : 11618 if test "${enable_libtool_lock+set}" = set; then :
11619@@ -7093,6 +7473,123 @@ 11619@@ -7093,6 +7473,123 @@ esac
11620 11620
11621 need_locks="$enable_libtool_lock" 11621 need_locks="$enable_libtool_lock"
11622 11622
@@ -11740,7 +11740,7 @@ Index: binutils-2.21/binutils/configure
11740 11740
11741 case $host_os in 11741 case $host_os in
11742 rhapsody* | darwin*) 11742 rhapsody* | darwin*)
11743@@ -7656,6 +8153,8 @@ 11743@@ -7656,6 +8153,8 @@ _LT_EOF
11744 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 11744 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11745 echo "$AR cru libconftest.a conftest.o" >&5 11745 echo "$AR cru libconftest.a conftest.o" >&5
11746 $AR cru libconftest.a conftest.o 2>&5 11746 $AR cru libconftest.a conftest.o 2>&5
@@ -11749,7 +11749,7 @@ Index: binutils-2.21/binutils/configure
11749 cat > conftest.c << _LT_EOF 11749 cat > conftest.c << _LT_EOF
11750 int main() { return 0;} 11750 int main() { return 0;}
11751 _LT_EOF 11751 _LT_EOF
11752@@ -7851,7 +8350,8 @@ 11752@@ -7851,7 +8350,8 @@ fi
11753 LIBTOOL_DEPS="$ltmain" 11753 LIBTOOL_DEPS="$ltmain"
11754 11754
11755 # Always use our own libtool. 11755 # Always use our own libtool.
@@ -11759,7 +11759,7 @@ Index: binutils-2.21/binutils/configure
11759 11759
11760 11760
11761 11761
11762@@ -7940,7 +8440,7 @@ 11762@@ -7940,7 +8440,7 @@ aix3*)
11763 esac 11763 esac
11764 11764
11765 # Global variables: 11765 # Global variables:
@@ -11768,7 +11768,7 @@ Index: binutils-2.21/binutils/configure
11768 can_build_shared=yes 11768 can_build_shared=yes
11769 11769
11770 # All known linkers require a `.a' archive for static linking (except MSVC, 11770 # All known linkers require a `.a' archive for static linking (except MSVC,
11771@@ -8238,8 +8738,6 @@ 11771@@ -8238,8 +8738,6 @@ fi
11772 lt_prog_compiler_pic= 11772 lt_prog_compiler_pic=
11773 lt_prog_compiler_static= 11773 lt_prog_compiler_static=
11774 11774
@@ -11777,7 +11777,7 @@ Index: binutils-2.21/binutils/configure
11777 11777
11778 if test "$GCC" = yes; then 11778 if test "$GCC" = yes; then
11779 lt_prog_compiler_wl='-Wl,' 11779 lt_prog_compiler_wl='-Wl,'
11780@@ -8404,6 +8902,12 @@ 11780@@ -8404,6 +8902,12 @@ $as_echo_n "checking for $compiler optio
11781 lt_prog_compiler_pic='--shared' 11781 lt_prog_compiler_pic='--shared'
11782 lt_prog_compiler_static='--static' 11782 lt_prog_compiler_static='--static'
11783 ;; 11783 ;;
@@ -11790,7 +11790,7 @@ Index: binutils-2.21/binutils/configure
11790 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 11790 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11791 # Portland Group compilers (*not* the Pentium gcc compiler, 11791 # Portland Group compilers (*not* the Pentium gcc compiler,
11792 # which looks to be a dead project) 11792 # which looks to be a dead project)
11793@@ -8466,7 +8970,7 @@ 11793@@ -8466,7 +8970,7 @@ $as_echo_n "checking for $compiler optio
11794 lt_prog_compiler_pic='-KPIC' 11794 lt_prog_compiler_pic='-KPIC'
11795 lt_prog_compiler_static='-Bstatic' 11795 lt_prog_compiler_static='-Bstatic'
11796 case $cc_basename in 11796 case $cc_basename in
@@ -11799,7 +11799,7 @@ Index: binutils-2.21/binutils/configure
11799 lt_prog_compiler_wl='-Qoption ld ';; 11799 lt_prog_compiler_wl='-Qoption ld ';;
11800 *) 11800 *)
11801 lt_prog_compiler_wl='-Wl,';; 11801 lt_prog_compiler_wl='-Wl,';;
11802@@ -8523,13 +9027,17 @@ 11802@@ -8523,13 +9027,17 @@ case $host_os in
11803 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 11803 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11804 ;; 11804 ;;
11805 esac 11805 esac
@@ -11823,7 +11823,7 @@ Index: binutils-2.21/binutils/configure
11823 11823
11824 # 11824 #
11825 # Check to make sure the PIC flag actually works. 11825 # Check to make sure the PIC flag actually works.
11826@@ -8590,6 +9098,11 @@ 11826@@ -8590,6 +9098,11 @@ fi
11827 11827
11828 11828
11829 11829
@@ -11835,7 +11835,7 @@ Index: binutils-2.21/binutils/configure
11835 # 11835 #
11836 # Check to make sure the static flag actually works. 11836 # Check to make sure the static flag actually works.
11837 # 11837 #
11838@@ -8940,7 +9453,8 @@ 11838@@ -8940,7 +9453,8 @@ _LT_EOF
11839 allow_undefined_flag=unsupported 11839 allow_undefined_flag=unsupported
11840 always_export_symbols=no 11840 always_export_symbols=no
11841 enable_shared_with_static_runtimes=yes 11841 enable_shared_with_static_runtimes=yes
@@ -11845,7 +11845,7 @@ Index: binutils-2.21/binutils/configure
11845 11845
11846 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 11846 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11847 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 11847 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11848@@ -8988,7 +9502,7 @@ 11848@@ -8988,7 +9502,7 @@ _LT_EOF
11849 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 11849 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11850 && test "$tmp_diet" = no 11850 && test "$tmp_diet" = no
11851 then 11851 then
@@ -11854,7 +11854,7 @@ Index: binutils-2.21/binutils/configure
11854 tmp_sharedflag='-shared' 11854 tmp_sharedflag='-shared'
11855 case $cc_basename,$host_cpu in 11855 case $cc_basename,$host_cpu in
11856 pgcc*) # Portland Group C compiler 11856 pgcc*) # Portland Group C compiler
11857@@ -9039,12 +9553,12 @@ 11857@@ -9039,12 +9553,12 @@ _LT_EOF
11858 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 11858 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11859 hardcode_libdir_flag_spec= 11859 hardcode_libdir_flag_spec=
11860 hardcode_libdir_flag_spec_ld='-rpath $libdir' 11860 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -11869,7 +11869,7 @@ Index: binutils-2.21/binutils/configure
11869 fi 11869 fi
11870 ;; 11870 ;;
11871 esac 11871 esac
11872@@ -9058,8 +9572,8 @@ 11872@@ -9058,8 +9572,8 @@ _LT_EOF
11873 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11873 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11874 wlarc= 11874 wlarc=
11875 else 11875 else
@@ -11880,7 +11880,7 @@ Index: binutils-2.21/binutils/configure
11880 fi 11880 fi
11881 ;; 11881 ;;
11882 11882
11883@@ -9077,8 +9591,8 @@ 11883@@ -9077,8 +9591,8 @@ _LT_EOF
11884 11884
11885 _LT_EOF 11885 _LT_EOF
11886 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11886 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11891,7 +11891,7 @@ Index: binutils-2.21/binutils/configure
11891 else 11891 else
11892 ld_shlibs=no 11892 ld_shlibs=no
11893 fi 11893 fi
11894@@ -9124,8 +9638,8 @@ 11894@@ -9124,8 +9638,8 @@ _LT_EOF
11895 11895
11896 *) 11896 *)
11897 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11897 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11902,7 +11902,7 @@ Index: binutils-2.21/binutils/configure
11902 else 11902 else
11903 ld_shlibs=no 11903 ld_shlibs=no
11904 fi 11904 fi
11905@@ -9255,7 +9769,13 @@ 11905@@ -9255,7 +9769,13 @@ _LT_EOF
11906 allow_undefined_flag='-berok' 11906 allow_undefined_flag='-berok'
11907 # Determine the default libpath from the value encoded in an 11907 # Determine the default libpath from the value encoded in an
11908 # empty executable. 11908 # empty executable.
@@ -11917,7 +11917,7 @@ Index: binutils-2.21/binutils/configure
11917 /* end confdefs.h. */ 11917 /* end confdefs.h. */
11918 11918
11919 int 11919 int
11920@@ -9268,22 +9788,29 @@ 11920@@ -9268,22 +9788,29 @@ main ()
11921 _ACEOF 11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then : 11922 if ac_fn_c_try_link "$LINENO"; then :
11923 11923
@@ -11960,7 +11960,7 @@ Index: binutils-2.21/binutils/configure
11960 11960
11961 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11961 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11962 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" 11962 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"
11963@@ -9295,7 +9822,13 @@ 11963@@ -9295,7 +9822,13 @@ if test -z "$aix_libpath"; then aix_libp
11964 else 11964 else
11965 # Determine the default libpath from the value encoded in an 11965 # Determine the default libpath from the value encoded in an
11966 # empty executable. 11966 # empty executable.
@@ -11975,7 +11975,7 @@ Index: binutils-2.21/binutils/configure
11975 /* end confdefs.h. */ 11975 /* end confdefs.h. */
11976 11976
11977 int 11977 int
11978@@ -9308,22 +9841,29 @@ 11978@@ -9308,22 +9841,29 @@ main ()
11979 _ACEOF 11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then : 11980 if ac_fn_c_try_link "$LINENO"; then :
11981 11981
@@ -12018,7 +12018,7 @@ Index: binutils-2.21/binutils/configure
12018 12018
12019 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 12019 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12020 # Warning - without using the other run time loading flags, 12020 # Warning - without using the other run time loading flags,
12021@@ -9368,20 +9908,63 @@ 12021@@ -9368,20 +9908,63 @@ if test -z "$aix_libpath"; then aix_libp
12022 # Microsoft Visual C++. 12022 # Microsoft Visual C++.
12023 # hardcode_libdir_flag_spec is actually meaningless, as there is 12023 # hardcode_libdir_flag_spec is actually meaningless, as there is
12024 # no search path for DLLs. 12024 # no search path for DLLs.
@@ -12096,7 +12096,7 @@ Index: binutils-2.21/binutils/configure
12096 ;; 12096 ;;
12097 12097
12098 darwin* | rhapsody*) 12098 darwin* | rhapsody*)
12099@@ -9446,7 +10029,7 @@ 12099@@ -9446,7 +10029,7 @@ if test -z "$aix_libpath"; then aix_libp
12100 12100
12101 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 12101 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12102 freebsd* | dragonfly*) 12102 freebsd* | dragonfly*)
@@ -12105,7 +12105,7 @@ Index: binutils-2.21/binutils/configure
12105 hardcode_libdir_flag_spec='-R$libdir' 12105 hardcode_libdir_flag_spec='-R$libdir'
12106 hardcode_direct=yes 12106 hardcode_direct=yes
12107 hardcode_shlibpath_var=no 12107 hardcode_shlibpath_var=no
12108@@ -9454,7 +10037,7 @@ 12108@@ -9454,7 +10037,7 @@ if test -z "$aix_libpath"; then aix_libp
12109 12109
12110 hpux9*) 12110 hpux9*)
12111 if test "$GCC" = yes; then 12111 if test "$GCC" = yes; then
@@ -12114,7 +12114,7 @@ Index: binutils-2.21/binutils/configure
12114 else 12114 else
12115 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' 12115 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'
12116 fi 12116 fi
12117@@ -9470,7 +10053,7 @@ 12117@@ -9470,7 +10053,7 @@ if test -z "$aix_libpath"; then aix_libp
12118 12118
12119 hpux10*) 12119 hpux10*)
12120 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 12120 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -12123,7 +12123,7 @@ Index: binutils-2.21/binutils/configure
12123 else 12123 else
12124 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12124 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12125 fi 12125 fi
12126@@ -9494,10 +10077,10 @@ 12126@@ -9494,10 +10077,10 @@ if test -z "$aix_libpath"; then aix_libp
12127 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 12127 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12128 ;; 12128 ;;
12129 ia64*) 12129 ia64*)
@@ -12136,7 +12136,7 @@ Index: binutils-2.21/binutils/configure
12136 ;; 12136 ;;
12137 esac 12137 esac
12138 else 12138 else
12139@@ -9576,23 +10159,36 @@ 12139@@ -9576,23 +10159,36 @@ fi
12140 12140
12141 irix5* | irix6* | nonstopux*) 12141 irix5* | irix6* | nonstopux*)
12142 if test "$GCC" = yes; then 12142 if test "$GCC" = yes; then
@@ -12181,7 +12181,7 @@ Index: binutils-2.21/binutils/configure
12181 else 12181 else
12182 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' 12182 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'
12183 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' 12183 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'
12184@@ -9677,7 +10273,7 @@ 12184@@ -9677,7 +10273,7 @@ rm -f core conftest.err conftest.$ac_obj
12185 osf4* | osf5*) # as osf3* with the addition of -msym flag 12185 osf4* | osf5*) # as osf3* with the addition of -msym flag
12186 if test "$GCC" = yes; then 12186 if test "$GCC" = yes; then
12187 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 12187 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -12190,7 +12190,7 @@ Index: binutils-2.21/binutils/configure
12190 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 12190 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12191 else 12191 else
12192 allow_undefined_flag=' -expect_unresolved \*' 12192 allow_undefined_flag=' -expect_unresolved \*'
12193@@ -9696,9 +10292,9 @@ 12193@@ -9696,9 +10292,9 @@ rm -f core conftest.err conftest.$ac_obj
12194 no_undefined_flag=' -z defs' 12194 no_undefined_flag=' -z defs'
12195 if test "$GCC" = yes; then 12195 if test "$GCC" = yes; then
12196 wlarc='${wl}' 12196 wlarc='${wl}'
@@ -12202,7 +12202,7 @@ Index: binutils-2.21/binutils/configure
12202 else 12202 else
12203 case `$CC -V 2>&1` in 12203 case `$CC -V 2>&1` in
12204 *"Compilers 5.0"*) 12204 *"Compilers 5.0"*)
12205@@ -10274,8 +10870,9 @@ 12205@@ -10274,8 +10870,9 @@ cygwin* | mingw* | pw32* | cegcc*)
12206 need_version=no 12206 need_version=no
12207 need_lib_prefix=no 12207 need_lib_prefix=no
12208 12208
@@ -12214,7 +12214,7 @@ Index: binutils-2.21/binutils/configure
12214 library_names_spec='$libname.dll.a' 12214 library_names_spec='$libname.dll.a'
12215 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12215 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12216 postinstall_cmds='base_file=`basename \${file}`~ 12216 postinstall_cmds='base_file=`basename \${file}`~
12217@@ -10308,13 +10905,71 @@ 12217@@ -10308,13 +10905,71 @@ cygwin* | mingw* | pw32* | cegcc*)
12218 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 12218 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12219 ;; 12219 ;;
12220 esac 12220 esac
@@ -12287,7 +12287,7 @@ Index: binutils-2.21/binutils/configure
12287 # FIXME: first we should search . and the directory the executable is in 12287 # FIXME: first we should search . and the directory the executable is in
12288 shlibpath_var=PATH 12288 shlibpath_var=PATH
12289 ;; 12289 ;;
12290@@ -10410,7 +11065,7 @@ 12290@@ -10410,7 +11065,7 @@ haiku*)
12291 soname_spec='${libname}${release}${shared_ext}$major' 12291 soname_spec='${libname}${release}${shared_ext}$major'
12292 shlibpath_var=LIBRARY_PATH 12292 shlibpath_var=LIBRARY_PATH
12293 shlibpath_overrides_runpath=yes 12293 shlibpath_overrides_runpath=yes
@@ -12296,7 +12296,7 @@ Index: binutils-2.21/binutils/configure
12296 hardcode_into_libs=yes 12296 hardcode_into_libs=yes
12297 ;; 12297 ;;
12298 12298
12299@@ -11206,7 +11861,7 @@ 12299@@ -11206,7 +11861,7 @@ else
12300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12301 lt_status=$lt_dlunknown 12301 lt_status=$lt_dlunknown
12302 cat > conftest.$ac_ext <<_LT_EOF 12302 cat > conftest.$ac_ext <<_LT_EOF
@@ -12305,7 +12305,7 @@ Index: binutils-2.21/binutils/configure
12305 #include "confdefs.h" 12305 #include "confdefs.h"
12306 12306
12307 #if HAVE_DLFCN_H 12307 #if HAVE_DLFCN_H
12308@@ -11250,10 +11905,10 @@ 12308@@ -11250,10 +11905,10 @@ else
12309 /* When -fvisbility=hidden is used, assume the code has been annotated 12309 /* When -fvisbility=hidden is used, assume the code has been annotated
12310 correspondingly for the symbols needed. */ 12310 correspondingly for the symbols needed. */
12311 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12311 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -12318,7 +12318,7 @@ Index: binutils-2.21/binutils/configure
12318 int main () 12318 int main ()
12319 { 12319 {
12320 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12320 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12321@@ -11312,7 +11967,7 @@ 12321@@ -11312,7 +11967,7 @@ else
12322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12323 lt_status=$lt_dlunknown 12323 lt_status=$lt_dlunknown
12324 cat > conftest.$ac_ext <<_LT_EOF 12324 cat > conftest.$ac_ext <<_LT_EOF
@@ -12327,7 +12327,7 @@ Index: binutils-2.21/binutils/configure
12327 #include "confdefs.h" 12327 #include "confdefs.h"
12328 12328
12329 #if HAVE_DLFCN_H 12329 #if HAVE_DLFCN_H
12330@@ -11356,10 +12011,10 @@ 12330@@ -11356,10 +12011,10 @@ else
12331 /* When -fvisbility=hidden is used, assume the code has been annotated 12331 /* When -fvisbility=hidden is used, assume the code has been annotated
12332 correspondingly for the symbols needed. */ 12332 correspondingly for the symbols needed. */
12333 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12333 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -12340,7 +12340,7 @@ Index: binutils-2.21/binutils/configure
12340 int main () 12340 int main ()
12341 { 12341 {
12342 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12342 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12343@@ -14751,13 +15406,20 @@ 12343@@ -14754,13 +15409,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
12344 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12344 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12345 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12345 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12346 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12346 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -12361,7 +12361,7 @@ Index: binutils-2.21/binutils/configure
12361 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12361 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12362 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12362 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12363 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12363 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12364@@ -14772,14 +15434,17 @@ 12364@@ -14775,14 +15437,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
12365 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12365 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12366 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12366 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12367 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"`' 12367 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"`'
@@ -12380,7 +12380,7 @@ Index: binutils-2.21/binutils/configure
12380 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12380 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12381 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12381 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12382 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12382 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12383@@ -14812,12 +15477,12 @@ 12383@@ -14815,12 +15480,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
12384 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12384 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12385 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12385 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12386 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12386 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -12394,7 +12394,7 @@ Index: binutils-2.21/binutils/configure
12394 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12394 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12395 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12395 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12396 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12396 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12397@@ -14872,8 +15537,13 @@ 12397@@ -14875,8 +15540,13 @@ reload_flag \
12398 OBJDUMP \ 12398 OBJDUMP \
12399 deplibs_check_method \ 12399 deplibs_check_method \
12400 file_magic_cmd \ 12400 file_magic_cmd \
@@ -12408,7 +12408,7 @@ Index: binutils-2.21/binutils/configure
12408 STRIP \ 12408 STRIP \
12409 RANLIB \ 12409 RANLIB \
12410 CC \ 12410 CC \
12411@@ -14883,12 +15553,14 @@ 12411@@ -14886,12 +15556,14 @@ lt_cv_sys_global_symbol_pipe \
12412 lt_cv_sys_global_symbol_to_cdecl \ 12412 lt_cv_sys_global_symbol_to_cdecl \
12413 lt_cv_sys_global_symbol_to_c_name_address \ 12413 lt_cv_sys_global_symbol_to_c_name_address \
12414 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12414 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -12424,7 +12424,7 @@ Index: binutils-2.21/binutils/configure
12424 DSYMUTIL \ 12424 DSYMUTIL \
12425 NMEDIT \ 12425 NMEDIT \
12426 LIPO \ 12426 LIPO \
12427@@ -14904,7 +15576,6 @@ 12427@@ -14907,7 +15579,6 @@ no_undefined_flag \
12428 hardcode_libdir_flag_spec \ 12428 hardcode_libdir_flag_spec \
12429 hardcode_libdir_flag_spec_ld \ 12429 hardcode_libdir_flag_spec_ld \
12430 hardcode_libdir_separator \ 12430 hardcode_libdir_separator \
@@ -12432,7 +12432,7 @@ Index: binutils-2.21/binutils/configure
12432 exclude_expsyms \ 12432 exclude_expsyms \
12433 include_expsyms \ 12433 include_expsyms \
12434 file_list_spec \ 12434 file_list_spec \
12435@@ -14940,6 +15611,7 @@ 12435@@ -14943,6 +15614,7 @@ module_cmds \
12436 module_expsym_cmds \ 12436 module_expsym_cmds \
12437 export_symbols_cmds \ 12437 export_symbols_cmds \
12438 prelink_cmds \ 12438 prelink_cmds \
@@ -12440,7 +12440,7 @@ Index: binutils-2.21/binutils/configure
12440 postinstall_cmds \ 12440 postinstall_cmds \
12441 postuninstall_cmds \ 12441 postuninstall_cmds \
12442 finish_cmds \ 12442 finish_cmds \
12443@@ -15697,7 +16369,8 @@ 12443@@ -15700,7 +16372,8 @@ $as_echo X"$file" |
12444 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 12444 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12445 # 12445 #
12446 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 12446 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -12450,7 +12450,7 @@ Index: binutils-2.21/binutils/configure
12450 # Written by Gordon Matzigkeit, 1996 12450 # Written by Gordon Matzigkeit, 1996
12451 # 12451 #
12452 # This file is part of GNU Libtool. 12452 # This file is part of GNU Libtool.
12453@@ -15800,19 +16473,42 @@ 12453@@ -15803,19 +16476,42 @@ SP2NL=$lt_lt_SP2NL
12454 # turn newlines into spaces. 12454 # turn newlines into spaces.
12455 NL2SP=$lt_lt_NL2SP 12455 NL2SP=$lt_lt_NL2SP
12456 12456
@@ -12494,7 +12494,7 @@ Index: binutils-2.21/binutils/configure
12494 # A symbol stripping program. 12494 # A symbol stripping program.
12495 STRIP=$lt_STRIP 12495 STRIP=$lt_STRIP
12496 12496
12497@@ -15842,6 +16538,12 @@ 12497@@ -15845,6 +16541,12 @@ global_symbol_to_c_name_address=$lt_lt_c
12498 # Transform the output of nm in a C name address pair when lib prefix is needed. 12498 # Transform the output of nm in a C name address pair when lib prefix is needed.
12499 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 12499 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12500 12500
@@ -12507,7 +12507,7 @@ Index: binutils-2.21/binutils/configure
12507 # The name of the directory that contains temporary libtool files. 12507 # The name of the directory that contains temporary libtool files.
12508 objdir=$objdir 12508 objdir=$objdir
12509 12509
12510@@ -15851,6 +16553,9 @@ 12510@@ -15854,6 +16556,9 @@ MAGIC_CMD=$MAGIC_CMD
12511 # Must we lock files when doing compilation? 12511 # Must we lock files when doing compilation?
12512 need_locks=$lt_need_locks 12512 need_locks=$lt_need_locks
12513 12513
@@ -12517,7 +12517,7 @@ Index: binutils-2.21/binutils/configure
12517 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 12517 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12518 DSYMUTIL=$lt_DSYMUTIL 12518 DSYMUTIL=$lt_DSYMUTIL
12519 12519
12520@@ -15965,12 +16670,12 @@ 12520@@ -15968,12 +16673,12 @@ with_gcc=$GCC
12521 # Compiler flag to turn off builtin functions. 12521 # Compiler flag to turn off builtin functions.
12522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 12522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12523 12523
@@ -12533,7 +12533,7 @@ Index: binutils-2.21/binutils/configure
12533 # Compiler flag to prevent dynamic linking. 12533 # Compiler flag to prevent dynamic linking.
12534 link_static_flag=$lt_lt_prog_compiler_static 12534 link_static_flag=$lt_lt_prog_compiler_static
12535 12535
12536@@ -16057,9 +16762,6 @@ 12536@@ -16060,9 +16765,6 @@ inherit_rpath=$inherit_rpath
12537 # Whether libtool must link a program against all its dependency libraries. 12537 # Whether libtool must link a program against all its dependency libraries.
12538 link_all_deplibs=$link_all_deplibs 12538 link_all_deplibs=$link_all_deplibs
12539 12539
@@ -12543,7 +12543,7 @@ Index: binutils-2.21/binutils/configure
12543 # Set to "yes" if exported symbols are required. 12543 # Set to "yes" if exported symbols are required.
12544 always_export_symbols=$always_export_symbols 12544 always_export_symbols=$always_export_symbols
12545 12545
12546@@ -16075,6 +16777,9 @@ 12546@@ -16078,6 +16780,9 @@ include_expsyms=$lt_include_expsyms
12547 # Commands necessary for linking programs (against libraries) with templates. 12547 # Commands necessary for linking programs (against libraries) with templates.
12548 prelink_cmds=$lt_prelink_cmds 12548 prelink_cmds=$lt_prelink_cmds
12549 12549
@@ -12553,7 +12553,7 @@ Index: binutils-2.21/binutils/configure
12553 # Specify filename containing input files. 12553 # Specify filename containing input files.
12554 file_list_spec=$lt_file_list_spec 12554 file_list_spec=$lt_file_list_spec
12555 12555
12556@@ -16107,210 +16812,169 @@ 12556@@ -16110,210 +16815,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
12557 # if finds mixed CR/LF and LF-only lines. Since sed operates in 12557 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12558 # text mode, it properly converts lines to CR/LF. This bash problem 12558 # text mode, it properly converts lines to CR/LF. This bash problem
12559 # is reportedly fixed, but why not run on old versions too? 12559 # is reportedly fixed, but why not run on old versions too?
@@ -12924,11 +12924,11 @@ Index: binutils-2.21/binutils/configure
12924 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 12924 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12925 chmod +x "$ofile" 12925 chmod +x "$ofile"
12926 12926
12927Index: binutils-2.21/gas/configure 12927Index: binutils-2.21.1/gas/configure
12928=================================================================== 12928===================================================================
12929--- binutils-2.21.orig/gas/configure 2010-11-05 03:33:36.000000000 -0700 12929--- binutils-2.21.1.orig/gas/configure
12930+++ binutils-2.21/gas/configure 2011-01-07 10:49:16.426101000 -0800 12930+++ binutils-2.21.1/gas/configure
12931@@ -645,8 +645,11 @@ 12931@@ -645,8 +645,11 @@ OTOOL
12932 LIPO 12932 LIPO
12933 NMEDIT 12933 NMEDIT
12934 DSYMUTIL 12934 DSYMUTIL
@@ -12940,7 +12940,7 @@ Index: binutils-2.21/gas/configure
12940 OBJDUMP 12940 OBJDUMP
12941 LN_S 12941 LN_S
12942 NM 12942 NM
12943@@ -759,6 +762,7 @@ 12943@@ -759,6 +762,7 @@ enable_static
12944 with_pic 12944 with_pic
12945 enable_fast_install 12945 enable_fast_install
12946 with_gnu_ld 12946 with_gnu_ld
@@ -12948,7 +12948,7 @@ Index: binutils-2.21/gas/configure
12948 enable_libtool_lock 12948 enable_libtool_lock
12949 enable_targets 12949 enable_targets
12950 enable_checking 12950 enable_checking
12951@@ -1420,6 +1424,8 @@ 12951@@ -1420,6 +1424,8 @@ Optional Packages:
12952 --with-pic try to use only PIC/non-PIC objects [default=use 12952 --with-pic try to use only PIC/non-PIC objects [default=use
12953 both] 12953 both]
12954 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 12954 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -12957,7 +12957,7 @@ Index: binutils-2.21/gas/configure
12957 --with-zlib include zlib support (auto/yes/no) default=auto 12957 --with-zlib include zlib support (auto/yes/no) default=auto
12958 12958
12959 Some influential environment variables: 12959 Some influential environment variables:
12960@@ -5135,8 +5141,8 @@ 12960@@ -5135,8 +5141,8 @@ esac
12961 12961
12962 12962
12963 12963
@@ -12968,7 +12968,7 @@ Index: binutils-2.21/gas/configure
12968 12968
12969 12969
12970 12970
12971@@ -5176,7 +5182,7 @@ 12971@@ -5176,7 +5182,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
12973 $as_echo_n "checking how to print strings... " >&6; } 12973 $as_echo_n "checking how to print strings... " >&6; }
12974 # Test print first, because it will be a builtin if present. 12974 # Test print first, because it will be a builtin if present.
@@ -12977,7 +12977,7 @@ Index: binutils-2.21/gas/configure
12977 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 12977 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
12978 ECHO='print -r --' 12978 ECHO='print -r --'
12979 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 12979 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
12980@@ -5862,8 +5868,8 @@ 12980@@ -5862,8 +5868,8 @@ $as_echo_n "checking whether the shell u
12981 # Try some XSI features 12981 # Try some XSI features
12982 xsi_shell=no 12982 xsi_shell=no
12983 ( _lt_dummy="a/b/c" 12983 ( _lt_dummy="a/b/c"
@@ -12988,7 +12988,7 @@ Index: binutils-2.21/gas/configure
12988 && eval 'test $(( 1 + 1 )) -eq 2 \ 12988 && eval 'test $(( 1 + 1 )) -eq 2 \
12989 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 12989 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
12990 && xsi_shell=yes 12990 && xsi_shell=yes
12991@@ -5912,6 +5918,80 @@ 12991@@ -5912,6 +5918,80 @@ esac
12992 12992
12993 12993
12994 12994
@@ -13069,7 +13069,7 @@ Index: binutils-2.21/gas/configure
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
13070 $as_echo_n "checking for $LD option to reload object files... " >&6; } 13070 $as_echo_n "checking for $LD option to reload object files... " >&6; }
13071 if test "${lt_cv_ld_reload_flag+set}" = set; then : 13071 if test "${lt_cv_ld_reload_flag+set}" = set; then :
13072@@ -5928,6 +6008,11 @@ 13072@@ -5928,6 +6008,11 @@ case $reload_flag in
13073 esac 13073 esac
13074 reload_cmds='$LD$reload_flag -o $output$reload_objs' 13074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
13075 case $host_os in 13075 case $host_os in
@@ -13081,7 +13081,7 @@ Index: binutils-2.21/gas/configure
13081 darwin*) 13081 darwin*)
13082 if test "$GCC" = yes; then 13082 if test "$GCC" = yes; then
13083 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 13083 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13084@@ -6096,7 +6181,8 @@ 13084@@ -6096,7 +6181,8 @@ mingw* | pw32*)
13085 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 13085 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13086 lt_cv_file_magic_cmd='func_win32_libid' 13086 lt_cv_file_magic_cmd='func_win32_libid'
13087 else 13087 else
@@ -13091,7 +13091,7 @@ Index: binutils-2.21/gas/configure
13091 lt_cv_file_magic_cmd='$OBJDUMP -f' 13091 lt_cv_file_magic_cmd='$OBJDUMP -f'
13092 fi 13092 fi
13093 ;; 13093 ;;
13094@@ -6250,6 +6336,21 @@ 13094@@ -6250,6 +6336,21 @@ esac
13095 fi 13095 fi
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
13097 $as_echo "$lt_cv_deplibs_check_method" >&6; } 13097 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -13113,7 +13113,7 @@ Index: binutils-2.21/gas/configure
13113 file_magic_cmd=$lt_cv_file_magic_cmd 13113 file_magic_cmd=$lt_cv_file_magic_cmd
13114 deplibs_check_method=$lt_cv_deplibs_check_method 13114 deplibs_check_method=$lt_cv_deplibs_check_method
13115 test -z "$deplibs_check_method" && deplibs_check_method=unknown 13115 test -z "$deplibs_check_method" && deplibs_check_method=unknown
13116@@ -6265,9 +6366,162 @@ 13116@@ -6265,9 +6366,162 @@ test -z "$deplibs_check_method" && depli
13117 13117
13118 13118
13119 13119
@@ -13278,7 +13278,7 @@ Index: binutils-2.21/gas/configure
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13279 $as_echo_n "checking for $ac_word... " >&6; } 13279 $as_echo_n "checking for $ac_word... " >&6; }
13280 if test "${ac_cv_prog_AR+set}" = set; then : 13280 if test "${ac_cv_prog_AR+set}" = set; then :
13281@@ -6283,7 +6537,7 @@ 13281@@ -6283,7 +6537,7 @@ do
13282 test -z "$as_dir" && as_dir=. 13282 test -z "$as_dir" && as_dir=.
13283 for ac_exec_ext in '' $ac_executable_extensions; do 13283 for ac_exec_ext in '' $ac_executable_extensions; do
13284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -13287,7 +13287,7 @@ Index: binutils-2.21/gas/configure
13287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13288 break 2 13288 break 2
13289 fi 13289 fi
13290@@ -6303,11 +6557,15 @@ 13290@@ -6303,11 +6557,15 @@ $as_echo "no" >&6; }
13291 fi 13291 fi
13292 13292
13293 13293
@@ -13306,7 +13306,7 @@ Index: binutils-2.21/gas/configure
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13307 $as_echo_n "checking for $ac_word... " >&6; } 13307 $as_echo_n "checking for $ac_word... " >&6; }
13308 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 13308 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
13309@@ -6323,7 +6581,7 @@ 13309@@ -6323,7 +6581,7 @@ do
13310 test -z "$as_dir" && as_dir=. 13310 test -z "$as_dir" && as_dir=.
13311 for ac_exec_ext in '' $ac_executable_extensions; do 13311 for ac_exec_ext in '' $ac_executable_extensions; do
13312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -13315,7 +13315,7 @@ Index: binutils-2.21/gas/configure
13315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13316 break 2 13316 break 2
13317 fi 13317 fi
13318@@ -6342,6 +6600,10 @@ 13318@@ -6342,6 +6600,10 @@ else
13319 $as_echo "no" >&6; } 13319 $as_echo "no" >&6; }
13320 fi 13320 fi
13321 13321
@@ -13326,7 +13326,7 @@ Index: binutils-2.21/gas/configure
13326 if test "x$ac_ct_AR" = x; then 13326 if test "x$ac_ct_AR" = x; then
13327 AR="false" 13327 AR="false"
13328 else 13328 else
13329@@ -6353,16 +6615,72 @@ 13329@@ -6353,16 +6615,72 @@ ac_tool_warned=yes ;;
13330 esac 13330 esac
13331 AR=$ac_ct_AR 13331 AR=$ac_ct_AR
13332 fi 13332 fi
@@ -13403,7 +13403,7 @@ Index: binutils-2.21/gas/configure
13403 13403
13404 13404
13405 13405
13406@@ -6704,8 +7022,8 @@ 13406@@ -6704,8 +7022,8 @@ esac
13407 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 13407 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13408 13408
13409 # Transform an extracted symbol line into symbol name and symbol address 13409 # Transform an extracted symbol line into symbol name and symbol address
@@ -13414,7 +13414,7 @@ Index: binutils-2.21/gas/configure
13414 13414
13415 # Handle CRLF in mingw tool chain 13415 # Handle CRLF in mingw tool chain
13416 opt_cr= 13416 opt_cr=
13417@@ -6741,6 +7059,7 @@ 13417@@ -6741,6 +7059,7 @@ for ac_symprfx in "" "_"; do
13418 else 13418 else
13419 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 13419 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13420 fi 13420 fi
@@ -13422,7 +13422,7 @@ Index: binutils-2.21/gas/configure
13422 13422
13423 # Check to see that the pipe works correctly. 13423 # Check to see that the pipe works correctly.
13424 pipe_works=no 13424 pipe_works=no
13425@@ -6782,6 +7101,18 @@ 13425@@ -6782,6 +7101,18 @@ _LT_EOF
13426 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 13426 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
13427 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 13427 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
13428 cat <<_LT_EOF > conftest.$ac_ext 13428 cat <<_LT_EOF > conftest.$ac_ext
@@ -13441,7 +13441,7 @@ Index: binutils-2.21/gas/configure
13441 #ifdef __cplusplus 13441 #ifdef __cplusplus
13442 extern "C" { 13442 extern "C" {
13443 #endif 13443 #endif
13444@@ -6793,7 +7124,7 @@ 13444@@ -6793,7 +7124,7 @@ _LT_EOF
13445 cat <<_LT_EOF >> conftest.$ac_ext 13445 cat <<_LT_EOF >> conftest.$ac_ext
13446 13446
13447 /* The mapping between symbol names and symbols. */ 13447 /* The mapping between symbol names and symbols. */
@@ -13450,7 +13450,7 @@ Index: binutils-2.21/gas/configure
13450 const char *name; 13450 const char *name;
13451 void *address; 13451 void *address;
13452 } 13452 }
13453@@ -6819,8 +7150,8 @@ 13453@@ -6819,8 +7150,8 @@ static const void *lt_preloaded_setup()
13454 _LT_EOF 13454 _LT_EOF
13455 # Now try linking the two files. 13455 # Now try linking the two files.
13456 mv conftest.$ac_objext conftstm.$ac_objext 13456 mv conftest.$ac_objext conftstm.$ac_objext
@@ -13461,7 +13461,7 @@ Index: binutils-2.21/gas/configure
13461 LIBS="conftstm.$ac_objext" 13461 LIBS="conftstm.$ac_objext"
13462 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 13462 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13464@@ -6830,8 +7161,8 @@ 13464@@ -6830,8 +7161,8 @@ _LT_EOF
13465 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 13465 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
13466 pipe_works=yes 13466 pipe_works=yes
13467 fi 13467 fi
@@ -13472,7 +13472,7 @@ Index: binutils-2.21/gas/configure
13472 else 13472 else
13473 echo "cannot find nm_test_func in $nlist" >&5 13473 echo "cannot find nm_test_func in $nlist" >&5
13474 fi 13474 fi
13475@@ -6868,6 +7199,19 @@ 13475@@ -6868,6 +7199,19 @@ else
13476 $as_echo "ok" >&6; } 13476 $as_echo "ok" >&6; }
13477 fi 13477 fi
13478 13478
@@ -13492,7 +13492,7 @@ Index: binutils-2.21/gas/configure
13492 13492
13493 13493
13494 13494
13495@@ -6888,6 +7232,42 @@ 13495@@ -6888,6 +7232,42 @@ fi
13496 13496
13497 13497
13498 13498
@@ -13535,7 +13535,7 @@ Index: binutils-2.21/gas/configure
13535 13535
13536 # Check whether --enable-libtool-lock was given. 13536 # Check whether --enable-libtool-lock was given.
13537 if test "${enable_libtool_lock+set}" = set; then : 13537 if test "${enable_libtool_lock+set}" = set; then :
13538@@ -7082,6 +7462,123 @@ 13538@@ -7082,6 +7462,123 @@ esac
13539 13539
13540 need_locks="$enable_libtool_lock" 13540 need_locks="$enable_libtool_lock"
13541 13541
@@ -13659,7 +13659,7 @@ Index: binutils-2.21/gas/configure
13659 13659
13660 case $host_os in 13660 case $host_os in
13661 rhapsody* | darwin*) 13661 rhapsody* | darwin*)
13662@@ -7645,6 +8142,8 @@ 13662@@ -7645,6 +8142,8 @@ _LT_EOF
13663 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 13663 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
13664 echo "$AR cru libconftest.a conftest.o" >&5 13664 echo "$AR cru libconftest.a conftest.o" >&5
13665 $AR cru libconftest.a conftest.o 2>&5 13665 $AR cru libconftest.a conftest.o 2>&5
@@ -13668,7 +13668,7 @@ Index: binutils-2.21/gas/configure
13668 cat > conftest.c << _LT_EOF 13668 cat > conftest.c << _LT_EOF
13669 int main() { return 0;} 13669 int main() { return 0;}
13670 _LT_EOF 13670 _LT_EOF
13671@@ -7840,7 +8339,8 @@ 13671@@ -7840,7 +8339,8 @@ fi
13672 LIBTOOL_DEPS="$ltmain" 13672 LIBTOOL_DEPS="$ltmain"
13673 13673
13674 # Always use our own libtool. 13674 # Always use our own libtool.
@@ -13678,7 +13678,7 @@ Index: binutils-2.21/gas/configure
13678 13678
13679 13679
13680 13680
13681@@ -7929,7 +8429,7 @@ 13681@@ -7929,7 +8429,7 @@ aix3*)
13682 esac 13682 esac
13683 13683
13684 # Global variables: 13684 # Global variables:
@@ -13687,7 +13687,7 @@ Index: binutils-2.21/gas/configure
13687 can_build_shared=yes 13687 can_build_shared=yes
13688 13688
13689 # All known linkers require a `.a' archive for static linking (except MSVC, 13689 # All known linkers require a `.a' archive for static linking (except MSVC,
13690@@ -8227,8 +8727,6 @@ 13690@@ -8227,8 +8727,6 @@ fi
13691 lt_prog_compiler_pic= 13691 lt_prog_compiler_pic=
13692 lt_prog_compiler_static= 13692 lt_prog_compiler_static=
13693 13693
@@ -13696,7 +13696,7 @@ Index: binutils-2.21/gas/configure
13696 13696
13697 if test "$GCC" = yes; then 13697 if test "$GCC" = yes; then
13698 lt_prog_compiler_wl='-Wl,' 13698 lt_prog_compiler_wl='-Wl,'
13699@@ -8393,6 +8891,12 @@ 13699@@ -8393,6 +8891,12 @@ $as_echo_n "checking for $compiler optio
13700 lt_prog_compiler_pic='--shared' 13700 lt_prog_compiler_pic='--shared'
13701 lt_prog_compiler_static='--static' 13701 lt_prog_compiler_static='--static'
13702 ;; 13702 ;;
@@ -13709,7 +13709,7 @@ Index: binutils-2.21/gas/configure
13709 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 13709 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13710 # Portland Group compilers (*not* the Pentium gcc compiler, 13710 # Portland Group compilers (*not* the Pentium gcc compiler,
13711 # which looks to be a dead project) 13711 # which looks to be a dead project)
13712@@ -8455,7 +8959,7 @@ 13712@@ -8455,7 +8959,7 @@ $as_echo_n "checking for $compiler optio
13713 lt_prog_compiler_pic='-KPIC' 13713 lt_prog_compiler_pic='-KPIC'
13714 lt_prog_compiler_static='-Bstatic' 13714 lt_prog_compiler_static='-Bstatic'
13715 case $cc_basename in 13715 case $cc_basename in
@@ -13718,7 +13718,7 @@ Index: binutils-2.21/gas/configure
13718 lt_prog_compiler_wl='-Qoption ld ';; 13718 lt_prog_compiler_wl='-Qoption ld ';;
13719 *) 13719 *)
13720 lt_prog_compiler_wl='-Wl,';; 13720 lt_prog_compiler_wl='-Wl,';;
13721@@ -8512,13 +9016,17 @@ 13721@@ -8512,13 +9016,17 @@ case $host_os in
13722 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 13722 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13723 ;; 13723 ;;
13724 esac 13724 esac
@@ -13742,7 +13742,7 @@ Index: binutils-2.21/gas/configure
13742 13742
13743 # 13743 #
13744 # Check to make sure the PIC flag actually works. 13744 # Check to make sure the PIC flag actually works.
13745@@ -8579,6 +9087,11 @@ 13745@@ -8579,6 +9087,11 @@ fi
13746 13746
13747 13747
13748 13748
@@ -13754,7 +13754,7 @@ Index: binutils-2.21/gas/configure
13754 # 13754 #
13755 # Check to make sure the static flag actually works. 13755 # Check to make sure the static flag actually works.
13756 # 13756 #
13757@@ -8929,7 +9442,8 @@ 13757@@ -8929,7 +9442,8 @@ _LT_EOF
13758 allow_undefined_flag=unsupported 13758 allow_undefined_flag=unsupported
13759 always_export_symbols=no 13759 always_export_symbols=no
13760 enable_shared_with_static_runtimes=yes 13760 enable_shared_with_static_runtimes=yes
@@ -13764,7 +13764,7 @@ Index: binutils-2.21/gas/configure
13764 13764
13765 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 13765 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13766 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 13766 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13767@@ -8977,7 +9491,7 @@ 13767@@ -8977,7 +9491,7 @@ _LT_EOF
13768 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 13768 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13769 && test "$tmp_diet" = no 13769 && test "$tmp_diet" = no
13770 then 13770 then
@@ -13773,7 +13773,7 @@ Index: binutils-2.21/gas/configure
13773 tmp_sharedflag='-shared' 13773 tmp_sharedflag='-shared'
13774 case $cc_basename,$host_cpu in 13774 case $cc_basename,$host_cpu in
13775 pgcc*) # Portland Group C compiler 13775 pgcc*) # Portland Group C compiler
13776@@ -9028,12 +9542,12 @@ 13776@@ -9028,12 +9542,12 @@ _LT_EOF
13777 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 13777 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13778 hardcode_libdir_flag_spec= 13778 hardcode_libdir_flag_spec=
13779 hardcode_libdir_flag_spec_ld='-rpath $libdir' 13779 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -13788,7 +13788,7 @@ Index: binutils-2.21/gas/configure
13788 fi 13788 fi
13789 ;; 13789 ;;
13790 esac 13790 esac
13791@@ -9047,8 +9561,8 @@ 13791@@ -9047,8 +9561,8 @@ _LT_EOF
13792 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 13792 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13793 wlarc= 13793 wlarc=
13794 else 13794 else
@@ -13799,7 +13799,7 @@ Index: binutils-2.21/gas/configure
13799 fi 13799 fi
13800 ;; 13800 ;;
13801 13801
13802@@ -9066,8 +9580,8 @@ 13802@@ -9066,8 +9580,8 @@ _LT_EOF
13803 13803
13804 _LT_EOF 13804 _LT_EOF
13805 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13805 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -13810,7 +13810,7 @@ Index: binutils-2.21/gas/configure
13810 else 13810 else
13811 ld_shlibs=no 13811 ld_shlibs=no
13812 fi 13812 fi
13813@@ -9113,8 +9627,8 @@ 13813@@ -9113,8 +9627,8 @@ _LT_EOF
13814 13814
13815 *) 13815 *)
13816 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 13816 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -13821,7 +13821,7 @@ Index: binutils-2.21/gas/configure
13821 else 13821 else
13822 ld_shlibs=no 13822 ld_shlibs=no
13823 fi 13823 fi
13824@@ -9244,7 +9758,13 @@ 13824@@ -9244,7 +9758,13 @@ _LT_EOF
13825 allow_undefined_flag='-berok' 13825 allow_undefined_flag='-berok'
13826 # Determine the default libpath from the value encoded in an 13826 # Determine the default libpath from the value encoded in an
13827 # empty executable. 13827 # empty executable.
@@ -13836,7 +13836,7 @@ Index: binutils-2.21/gas/configure
13836 /* end confdefs.h. */ 13836 /* end confdefs.h. */
13837 13837
13838 int 13838 int
13839@@ -9257,22 +9777,29 @@ 13839@@ -9257,22 +9777,29 @@ main ()
13840 _ACEOF 13840 _ACEOF
13841 if ac_fn_c_try_link "$LINENO"; then : 13841 if ac_fn_c_try_link "$LINENO"; then :
13842 13842
@@ -13879,7 +13879,7 @@ Index: binutils-2.21/gas/configure
13879 13879
13880 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 13880 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13881 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" 13881 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"
13882@@ -9284,7 +9811,13 @@ 13882@@ -9284,7 +9811,13 @@ if test -z "$aix_libpath"; then aix_libp
13883 else 13883 else
13884 # Determine the default libpath from the value encoded in an 13884 # Determine the default libpath from the value encoded in an
13885 # empty executable. 13885 # empty executable.
@@ -13894,7 +13894,7 @@ Index: binutils-2.21/gas/configure
13894 /* end confdefs.h. */ 13894 /* end confdefs.h. */
13895 13895
13896 int 13896 int
13897@@ -9297,22 +9830,29 @@ 13897@@ -9297,22 +9830,29 @@ main ()
13898 _ACEOF 13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then : 13899 if ac_fn_c_try_link "$LINENO"; then :
13900 13900
@@ -13937,7 +13937,7 @@ Index: binutils-2.21/gas/configure
13937 13937
13938 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 13938 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13939 # Warning - without using the other run time loading flags, 13939 # Warning - without using the other run time loading flags,
13940@@ -9357,20 +9897,63 @@ 13940@@ -9357,20 +9897,63 @@ if test -z "$aix_libpath"; then aix_libp
13941 # Microsoft Visual C++. 13941 # Microsoft Visual C++.
13942 # hardcode_libdir_flag_spec is actually meaningless, as there is 13942 # hardcode_libdir_flag_spec is actually meaningless, as there is
13943 # no search path for DLLs. 13943 # no search path for DLLs.
@@ -14015,7 +14015,7 @@ Index: binutils-2.21/gas/configure
14015 ;; 14015 ;;
14016 14016
14017 darwin* | rhapsody*) 14017 darwin* | rhapsody*)
14018@@ -9435,7 +10018,7 @@ 14018@@ -9435,7 +10018,7 @@ if test -z "$aix_libpath"; then aix_libp
14019 14019
14020 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 14020 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14021 freebsd* | dragonfly*) 14021 freebsd* | dragonfly*)
@@ -14024,7 +14024,7 @@ Index: binutils-2.21/gas/configure
14024 hardcode_libdir_flag_spec='-R$libdir' 14024 hardcode_libdir_flag_spec='-R$libdir'
14025 hardcode_direct=yes 14025 hardcode_direct=yes
14026 hardcode_shlibpath_var=no 14026 hardcode_shlibpath_var=no
14027@@ -9443,7 +10026,7 @@ 14027@@ -9443,7 +10026,7 @@ if test -z "$aix_libpath"; then aix_libp
14028 14028
14029 hpux9*) 14029 hpux9*)
14030 if test "$GCC" = yes; then 14030 if test "$GCC" = yes; then
@@ -14033,7 +14033,7 @@ Index: binutils-2.21/gas/configure
14033 else 14033 else
14034 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' 14034 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'
14035 fi 14035 fi
14036@@ -9459,7 +10042,7 @@ 14036@@ -9459,7 +10042,7 @@ if test -z "$aix_libpath"; then aix_libp
14037 14037
14038 hpux10*) 14038 hpux10*)
14039 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 14039 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -14042,7 +14042,7 @@ Index: binutils-2.21/gas/configure
14042 else 14042 else
14043 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 14043 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14044 fi 14044 fi
14045@@ -9483,10 +10066,10 @@ 14045@@ -9483,10 +10066,10 @@ if test -z "$aix_libpath"; then aix_libp
14046 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 14046 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14047 ;; 14047 ;;
14048 ia64*) 14048 ia64*)
@@ -14055,7 +14055,7 @@ Index: binutils-2.21/gas/configure
14055 ;; 14055 ;;
14056 esac 14056 esac
14057 else 14057 else
14058@@ -9565,23 +10148,36 @@ 14058@@ -9565,23 +10148,36 @@ fi
14059 14059
14060 irix5* | irix6* | nonstopux*) 14060 irix5* | irix6* | nonstopux*)
14061 if test "$GCC" = yes; then 14061 if test "$GCC" = yes; then
@@ -14100,7 +14100,7 @@ Index: binutils-2.21/gas/configure
14100 else 14100 else
14101 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' 14101 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'
14102 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' 14102 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'
14103@@ -9666,7 +10262,7 @@ 14103@@ -9666,7 +10262,7 @@ rm -f core conftest.err conftest.$ac_obj
14104 osf4* | osf5*) # as osf3* with the addition of -msym flag 14104 osf4* | osf5*) # as osf3* with the addition of -msym flag
14105 if test "$GCC" = yes; then 14105 if test "$GCC" = yes; then
14106 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 14106 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -14109,7 +14109,7 @@ Index: binutils-2.21/gas/configure
14109 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14109 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14110 else 14110 else
14111 allow_undefined_flag=' -expect_unresolved \*' 14111 allow_undefined_flag=' -expect_unresolved \*'
14112@@ -9685,9 +10281,9 @@ 14112@@ -9685,9 +10281,9 @@ rm -f core conftest.err conftest.$ac_obj
14113 no_undefined_flag=' -z defs' 14113 no_undefined_flag=' -z defs'
14114 if test "$GCC" = yes; then 14114 if test "$GCC" = yes; then
14115 wlarc='${wl}' 14115 wlarc='${wl}'
@@ -14121,7 +14121,7 @@ Index: binutils-2.21/gas/configure
14121 else 14121 else
14122 case `$CC -V 2>&1` in 14122 case `$CC -V 2>&1` in
14123 *"Compilers 5.0"*) 14123 *"Compilers 5.0"*)
14124@@ -10263,8 +10859,9 @@ 14124@@ -10263,8 +10859,9 @@ cygwin* | mingw* | pw32* | cegcc*)
14125 need_version=no 14125 need_version=no
14126 need_lib_prefix=no 14126 need_lib_prefix=no
14127 14127
@@ -14133,7 +14133,7 @@ Index: binutils-2.21/gas/configure
14133 library_names_spec='$libname.dll.a' 14133 library_names_spec='$libname.dll.a'
14134 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14134 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14135 postinstall_cmds='base_file=`basename \${file}`~ 14135 postinstall_cmds='base_file=`basename \${file}`~
14136@@ -10297,13 +10894,71 @@ 14136@@ -10297,13 +10894,71 @@ cygwin* | mingw* | pw32* | cegcc*)
14137 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14137 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14138 ;; 14138 ;;
14139 esac 14139 esac
@@ -14206,7 +14206,7 @@ Index: binutils-2.21/gas/configure
14206 # FIXME: first we should search . and the directory the executable is in 14206 # FIXME: first we should search . and the directory the executable is in
14207 shlibpath_var=PATH 14207 shlibpath_var=PATH
14208 ;; 14208 ;;
14209@@ -10399,7 +11054,7 @@ 14209@@ -10399,7 +11054,7 @@ haiku*)
14210 soname_spec='${libname}${release}${shared_ext}$major' 14210 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LIBRARY_PATH 14211 shlibpath_var=LIBRARY_PATH
14212 shlibpath_overrides_runpath=yes 14212 shlibpath_overrides_runpath=yes
@@ -14215,7 +14215,7 @@ Index: binutils-2.21/gas/configure
14215 hardcode_into_libs=yes 14215 hardcode_into_libs=yes
14216 ;; 14216 ;;
14217 14217
14218@@ -11195,7 +11850,7 @@ 14218@@ -11195,7 +11850,7 @@ else
14219 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14219 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14220 lt_status=$lt_dlunknown 14220 lt_status=$lt_dlunknown
14221 cat > conftest.$ac_ext <<_LT_EOF 14221 cat > conftest.$ac_ext <<_LT_EOF
@@ -14224,7 +14224,7 @@ Index: binutils-2.21/gas/configure
14224 #include "confdefs.h" 14224 #include "confdefs.h"
14225 14225
14226 #if HAVE_DLFCN_H 14226 #if HAVE_DLFCN_H
14227@@ -11239,10 +11894,10 @@ 14227@@ -11239,10 +11894,10 @@ else
14228 /* When -fvisbility=hidden is used, assume the code has been annotated 14228 /* When -fvisbility=hidden is used, assume the code has been annotated
14229 correspondingly for the symbols needed. */ 14229 correspondingly for the symbols needed. */
14230 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14230 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14237,7 +14237,7 @@ Index: binutils-2.21/gas/configure
14237 int main () 14237 int main ()
14238 { 14238 {
14239 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14239 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14240@@ -11301,7 +11956,7 @@ 14240@@ -11301,7 +11956,7 @@ else
14241 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14241 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14242 lt_status=$lt_dlunknown 14242 lt_status=$lt_dlunknown
14243 cat > conftest.$ac_ext <<_LT_EOF 14243 cat > conftest.$ac_ext <<_LT_EOF
@@ -14246,7 +14246,7 @@ Index: binutils-2.21/gas/configure
14246 #include "confdefs.h" 14246 #include "confdefs.h"
14247 14247
14248 #if HAVE_DLFCN_H 14248 #if HAVE_DLFCN_H
14249@@ -11345,10 +12000,10 @@ 14249@@ -11345,10 +12000,10 @@ else
14250 /* When -fvisbility=hidden is used, assume the code has been annotated 14250 /* When -fvisbility=hidden is used, assume the code has been annotated
14251 correspondingly for the symbols needed. */ 14251 correspondingly for the symbols needed. */
14252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14259,7 +14259,7 @@ Index: binutils-2.21/gas/configure
14259 int main () 14259 int main ()
14260 { 14260 {
14261 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14261 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14262@@ -14941,13 +15596,20 @@ 14262@@ -14941,13 +15596,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
14263 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14263 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14264 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14264 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14265 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14265 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -14280,7 +14280,7 @@ Index: binutils-2.21/gas/configure
14280 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14280 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14281 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14281 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14282 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14282 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14283@@ -14962,14 +15624,17 @@ 14283@@ -14962,14 +15624,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
14284 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14284 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14285 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14285 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14286 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"`' 14286 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"`'
@@ -14299,7 +14299,7 @@ Index: binutils-2.21/gas/configure
14299 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14299 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14300 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14300 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14301 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14301 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14302@@ -15002,12 +15667,12 @@ 14302@@ -15002,12 +15667,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
14303 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14303 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14304 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14304 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14305 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14305 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -14313,7 +14313,7 @@ Index: binutils-2.21/gas/configure
14313 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14313 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14314 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14314 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14315 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14315 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14316@@ -15062,8 +15727,13 @@ 14316@@ -15062,8 +15727,13 @@ reload_flag \
14317 OBJDUMP \ 14317 OBJDUMP \
14318 deplibs_check_method \ 14318 deplibs_check_method \
14319 file_magic_cmd \ 14319 file_magic_cmd \
@@ -14327,7 +14327,7 @@ Index: binutils-2.21/gas/configure
14327 STRIP \ 14327 STRIP \
14328 RANLIB \ 14328 RANLIB \
14329 CC \ 14329 CC \
14330@@ -15073,12 +15743,14 @@ 14330@@ -15073,12 +15743,14 @@ lt_cv_sys_global_symbol_pipe \
14331 lt_cv_sys_global_symbol_to_cdecl \ 14331 lt_cv_sys_global_symbol_to_cdecl \
14332 lt_cv_sys_global_symbol_to_c_name_address \ 14332 lt_cv_sys_global_symbol_to_c_name_address \
14333 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14333 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -14343,7 +14343,7 @@ Index: binutils-2.21/gas/configure
14343 DSYMUTIL \ 14343 DSYMUTIL \
14344 NMEDIT \ 14344 NMEDIT \
14345 LIPO \ 14345 LIPO \
14346@@ -15094,7 +15766,6 @@ 14346@@ -15094,7 +15766,6 @@ no_undefined_flag \
14347 hardcode_libdir_flag_spec \ 14347 hardcode_libdir_flag_spec \
14348 hardcode_libdir_flag_spec_ld \ 14348 hardcode_libdir_flag_spec_ld \
14349 hardcode_libdir_separator \ 14349 hardcode_libdir_separator \
@@ -14351,7 +14351,7 @@ Index: binutils-2.21/gas/configure
14351 exclude_expsyms \ 14351 exclude_expsyms \
14352 include_expsyms \ 14352 include_expsyms \
14353 file_list_spec \ 14353 file_list_spec \
14354@@ -15130,6 +15801,7 @@ 14354@@ -15130,6 +15801,7 @@ module_cmds \
14355 module_expsym_cmds \ 14355 module_expsym_cmds \
14356 export_symbols_cmds \ 14356 export_symbols_cmds \
14357 prelink_cmds \ 14357 prelink_cmds \
@@ -14359,7 +14359,7 @@ Index: binutils-2.21/gas/configure
14359 postinstall_cmds \ 14359 postinstall_cmds \
14360 postuninstall_cmds \ 14360 postuninstall_cmds \
14361 finish_cmds \ 14361 finish_cmds \
14362@@ -15894,7 +16566,8 @@ 14362@@ -15894,7 +16566,8 @@ $as_echo X"$file" |
14363 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 14363 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14364 # 14364 #
14365 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14365 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -14369,7 +14369,7 @@ Index: binutils-2.21/gas/configure
14369 # Written by Gordon Matzigkeit, 1996 14369 # Written by Gordon Matzigkeit, 1996
14370 # 14370 #
14371 # This file is part of GNU Libtool. 14371 # This file is part of GNU Libtool.
14372@@ -15997,19 +16670,42 @@ 14372@@ -15997,19 +16670,42 @@ SP2NL=$lt_lt_SP2NL
14373 # turn newlines into spaces. 14373 # turn newlines into spaces.
14374 NL2SP=$lt_lt_NL2SP 14374 NL2SP=$lt_lt_NL2SP
14375 14375
@@ -14413,7 +14413,7 @@ Index: binutils-2.21/gas/configure
14413 # A symbol stripping program. 14413 # A symbol stripping program.
14414 STRIP=$lt_STRIP 14414 STRIP=$lt_STRIP
14415 14415
14416@@ -16039,6 +16735,12 @@ 14416@@ -16039,6 +16735,12 @@ global_symbol_to_c_name_address=$lt_lt_c
14417 # Transform the output of nm in a C name address pair when lib prefix is needed. 14417 # Transform the output of nm in a C name address pair when lib prefix is needed.
14418 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14418 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14419 14419
@@ -14426,7 +14426,7 @@ Index: binutils-2.21/gas/configure
14426 # The name of the directory that contains temporary libtool files. 14426 # The name of the directory that contains temporary libtool files.
14427 objdir=$objdir 14427 objdir=$objdir
14428 14428
14429@@ -16048,6 +16750,9 @@ 14429@@ -16048,6 +16750,9 @@ MAGIC_CMD=$MAGIC_CMD
14430 # Must we lock files when doing compilation? 14430 # Must we lock files when doing compilation?
14431 need_locks=$lt_need_locks 14431 need_locks=$lt_need_locks
14432 14432
@@ -14436,7 +14436,7 @@ Index: binutils-2.21/gas/configure
14436 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14436 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14437 DSYMUTIL=$lt_DSYMUTIL 14437 DSYMUTIL=$lt_DSYMUTIL
14438 14438
14439@@ -16162,12 +16867,12 @@ 14439@@ -16162,12 +16867,12 @@ with_gcc=$GCC
14440 # Compiler flag to turn off builtin functions. 14440 # Compiler flag to turn off builtin functions.
14441 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14441 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14442 14442
@@ -14452,7 +14452,7 @@ Index: binutils-2.21/gas/configure
14452 # Compiler flag to prevent dynamic linking. 14452 # Compiler flag to prevent dynamic linking.
14453 link_static_flag=$lt_lt_prog_compiler_static 14453 link_static_flag=$lt_lt_prog_compiler_static
14454 14454
14455@@ -16254,9 +16959,6 @@ 14455@@ -16254,9 +16959,6 @@ inherit_rpath=$inherit_rpath
14456 # Whether libtool must link a program against all its dependency libraries. 14456 # Whether libtool must link a program against all its dependency libraries.
14457 link_all_deplibs=$link_all_deplibs 14457 link_all_deplibs=$link_all_deplibs
14458 14458
@@ -14462,7 +14462,7 @@ Index: binutils-2.21/gas/configure
14462 # Set to "yes" if exported symbols are required. 14462 # Set to "yes" if exported symbols are required.
14463 always_export_symbols=$always_export_symbols 14463 always_export_symbols=$always_export_symbols
14464 14464
14465@@ -16272,6 +16974,9 @@ 14465@@ -16272,6 +16974,9 @@ include_expsyms=$lt_include_expsyms
14466 # Commands necessary for linking programs (against libraries) with templates. 14466 # Commands necessary for linking programs (against libraries) with templates.
14467 prelink_cmds=$lt_prelink_cmds 14467 prelink_cmds=$lt_prelink_cmds
14468 14468
@@ -14472,7 +14472,7 @@ Index: binutils-2.21/gas/configure
14472 # Specify filename containing input files. 14472 # Specify filename containing input files.
14473 file_list_spec=$lt_file_list_spec 14473 file_list_spec=$lt_file_list_spec
14474 14474
14475@@ -16304,210 +17009,169 @@ 14475@@ -16304,210 +17009,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
14476 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14476 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14477 # text mode, it properly converts lines to CR/LF. This bash problem 14477 # text mode, it properly converts lines to CR/LF. This bash problem
14478 # is reportedly fixed, but why not run on old versions too? 14478 # is reportedly fixed, but why not run on old versions too?
@@ -14843,11 +14843,11 @@ Index: binutils-2.21/gas/configure
14843 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14843 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14844 chmod +x "$ofile" 14844 chmod +x "$ofile"
14845 14845
14846Index: binutils-2.21/gprof/configure 14846Index: binutils-2.21.1/gprof/configure
14847=================================================================== 14847===================================================================
14848--- binutils-2.21.orig/gprof/configure 2011-01-07 10:49:15.956101000 -0800 14848--- binutils-2.21.1.orig/gprof/configure
14849+++ binutils-2.21/gprof/configure 2011-01-07 10:49:16.436101000 -0800 14849+++ binutils-2.21.1/gprof/configure
14850@@ -629,8 +629,11 @@ 14850@@ -629,8 +629,11 @@ OTOOL
14851 LIPO 14851 LIPO
14852 NMEDIT 14852 NMEDIT
14853 DSYMUTIL 14853 DSYMUTIL
@@ -14859,7 +14859,7 @@ Index: binutils-2.21/gprof/configure
14859 OBJDUMP 14859 OBJDUMP
14860 LN_S 14860 LN_S
14861 NM 14861 NM
14862@@ -743,6 +746,7 @@ 14862@@ -743,6 +746,7 @@ enable_static
14863 with_pic 14863 with_pic
14864 enable_fast_install 14864 enable_fast_install
14865 with_gnu_ld 14865 with_gnu_ld
@@ -14867,7 +14867,7 @@ Index: binutils-2.21/gprof/configure
14867 enable_libtool_lock 14867 enable_libtool_lock
14868 enable_nls 14868 enable_nls
14869 enable_maintainer_mode 14869 enable_maintainer_mode
14870@@ -1397,6 +1401,8 @@ 14870@@ -1397,6 +1401,8 @@ Optional Packages:
14871 --with-pic try to use only PIC/non-PIC objects [default=use 14871 --with-pic try to use only PIC/non-PIC objects [default=use
14872 both] 14872 both]
14873 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 14873 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -14876,7 +14876,7 @@ Index: binutils-2.21/gprof/configure
14876 14876
14877 Some influential environment variables: 14877 Some influential environment variables:
14878 CC C compiler command 14878 CC C compiler command
14879@@ -5065,8 +5071,8 @@ 14879@@ -5065,8 +5071,8 @@ esac
14880 14880
14881 14881
14882 14882
@@ -14887,7 +14887,7 @@ Index: binutils-2.21/gprof/configure
14887 14887
14888 14888
14889 14889
14890@@ -5106,7 +5112,7 @@ 14890@@ -5106,7 +5112,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
14892 $as_echo_n "checking how to print strings... " >&6; } 14892 $as_echo_n "checking how to print strings... " >&6; }
14893 # Test print first, because it will be a builtin if present. 14893 # Test print first, because it will be a builtin if present.
@@ -14896,7 +14896,7 @@ Index: binutils-2.21/gprof/configure
14896 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 14896 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
14897 ECHO='print -r --' 14897 ECHO='print -r --'
14898 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 14898 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
14899@@ -5792,8 +5798,8 @@ 14899@@ -5792,8 +5798,8 @@ $as_echo_n "checking whether the shell u
14900 # Try some XSI features 14900 # Try some XSI features
14901 xsi_shell=no 14901 xsi_shell=no
14902 ( _lt_dummy="a/b/c" 14902 ( _lt_dummy="a/b/c"
@@ -14907,7 +14907,7 @@ Index: binutils-2.21/gprof/configure
14907 && eval 'test $(( 1 + 1 )) -eq 2 \ 14907 && eval 'test $(( 1 + 1 )) -eq 2 \
14908 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 14908 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
14909 && xsi_shell=yes 14909 && xsi_shell=yes
14910@@ -5842,6 +5848,80 @@ 14910@@ -5842,6 +5848,80 @@ esac
14911 14911
14912 14912
14913 14913
@@ -14988,7 +14988,7 @@ Index: binutils-2.21/gprof/configure
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
14989 $as_echo_n "checking for $LD option to reload object files... " >&6; } 14989 $as_echo_n "checking for $LD option to reload object files... " >&6; }
14990 if test "${lt_cv_ld_reload_flag+set}" = set; then : 14990 if test "${lt_cv_ld_reload_flag+set}" = set; then :
14991@@ -5858,6 +5938,11 @@ 14991@@ -5858,6 +5938,11 @@ case $reload_flag in
14992 esac 14992 esac
14993 reload_cmds='$LD$reload_flag -o $output$reload_objs' 14993 reload_cmds='$LD$reload_flag -o $output$reload_objs'
14994 case $host_os in 14994 case $host_os in
@@ -15000,7 +15000,7 @@ Index: binutils-2.21/gprof/configure
15000 darwin*) 15000 darwin*)
15001 if test "$GCC" = yes; then 15001 if test "$GCC" = yes; then
15002 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 15002 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
15003@@ -6026,7 +6111,8 @@ 15003@@ -6026,7 +6111,8 @@ mingw* | pw32*)
15004 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 15004 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
15005 lt_cv_file_magic_cmd='func_win32_libid' 15005 lt_cv_file_magic_cmd='func_win32_libid'
15006 else 15006 else
@@ -15010,7 +15010,7 @@ Index: binutils-2.21/gprof/configure
15010 lt_cv_file_magic_cmd='$OBJDUMP -f' 15010 lt_cv_file_magic_cmd='$OBJDUMP -f'
15011 fi 15011 fi
15012 ;; 15012 ;;
15013@@ -6103,11 +6189,6 @@ 15013@@ -6103,11 +6189,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
15014 lt_cv_deplibs_check_method=pass_all 15014 lt_cv_deplibs_check_method=pass_all
15015 ;; 15015 ;;
15016 15016
@@ -15022,7 +15022,7 @@ Index: binutils-2.21/gprof/configure
15022 netbsd*) 15022 netbsd*)
15023 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 15023 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
15024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 15024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
15025@@ -6185,6 +6266,21 @@ 15025@@ -6185,6 +6266,21 @@ esac
15026 fi 15026 fi
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 15027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
15028 $as_echo "$lt_cv_deplibs_check_method" >&6; } 15028 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -15044,7 +15044,7 @@ Index: binutils-2.21/gprof/configure
15044 file_magic_cmd=$lt_cv_file_magic_cmd 15044 file_magic_cmd=$lt_cv_file_magic_cmd
15045 deplibs_check_method=$lt_cv_deplibs_check_method 15045 deplibs_check_method=$lt_cv_deplibs_check_method
15046 test -z "$deplibs_check_method" && deplibs_check_method=unknown 15046 test -z "$deplibs_check_method" && deplibs_check_method=unknown
15047@@ -6200,9 +6296,162 @@ 15047@@ -6200,9 +6296,162 @@ test -z "$deplibs_check_method" && depli
15048 15048
15049 15049
15050 15050
@@ -15209,7 +15209,7 @@ Index: binutils-2.21/gprof/configure
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15210 $as_echo_n "checking for $ac_word... " >&6; } 15210 $as_echo_n "checking for $ac_word... " >&6; }
15211 if test "${ac_cv_prog_AR+set}" = set; then : 15211 if test "${ac_cv_prog_AR+set}" = set; then :
15212@@ -6218,7 +6467,7 @@ 15212@@ -6218,7 +6467,7 @@ do
15213 test -z "$as_dir" && as_dir=. 15213 test -z "$as_dir" && as_dir=.
15214 for ac_exec_ext in '' $ac_executable_extensions; do 15214 for ac_exec_ext in '' $ac_executable_extensions; do
15215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 15215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -15218,7 +15218,7 @@ Index: binutils-2.21/gprof/configure
15218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15219 break 2 15219 break 2
15220 fi 15220 fi
15221@@ -6238,11 +6487,15 @@ 15221@@ -6238,11 +6487,15 @@ $as_echo "no" >&6; }
15222 fi 15222 fi
15223 15223
15224 15224
@@ -15237,7 +15237,7 @@ Index: binutils-2.21/gprof/configure
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15238 $as_echo_n "checking for $ac_word... " >&6; } 15238 $as_echo_n "checking for $ac_word... " >&6; }
15239 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 15239 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
15240@@ -6258,7 +6511,7 @@ 15240@@ -6258,7 +6511,7 @@ do
15241 test -z "$as_dir" && as_dir=. 15241 test -z "$as_dir" && as_dir=.
15242 for ac_exec_ext in '' $ac_executable_extensions; do 15242 for ac_exec_ext in '' $ac_executable_extensions; do
15243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 15243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -15246,7 +15246,7 @@ Index: binutils-2.21/gprof/configure
15246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15247 break 2 15247 break 2
15248 fi 15248 fi
15249@@ -6277,6 +6530,10 @@ 15249@@ -6277,6 +6530,10 @@ else
15250 $as_echo "no" >&6; } 15250 $as_echo "no" >&6; }
15251 fi 15251 fi
15252 15252
@@ -15257,7 +15257,7 @@ Index: binutils-2.21/gprof/configure
15257 if test "x$ac_ct_AR" = x; then 15257 if test "x$ac_ct_AR" = x; then
15258 AR="false" 15258 AR="false"
15259 else 15259 else
15260@@ -6288,16 +6545,72 @@ 15260@@ -6288,16 +6545,72 @@ ac_tool_warned=yes ;;
15261 esac 15261 esac
15262 AR=$ac_ct_AR 15262 AR=$ac_ct_AR
15263 fi 15263 fi
@@ -15334,7 +15334,7 @@ Index: binutils-2.21/gprof/configure
15334 15334
15335 15335
15336 15336
15337@@ -6639,8 +6952,8 @@ 15337@@ -6639,8 +6952,8 @@ esac
15338 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 15338 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
15339 15339
15340 # Transform an extracted symbol line into symbol name and symbol address 15340 # Transform an extracted symbol line into symbol name and symbol address
@@ -15345,7 +15345,7 @@ Index: binutils-2.21/gprof/configure
15345 15345
15346 # Handle CRLF in mingw tool chain 15346 # Handle CRLF in mingw tool chain
15347 opt_cr= 15347 opt_cr=
15348@@ -6676,6 +6989,7 @@ 15348@@ -6676,6 +6989,7 @@ for ac_symprfx in "" "_"; do
15349 else 15349 else
15350 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 15350 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
15351 fi 15351 fi
@@ -15353,7 +15353,7 @@ Index: binutils-2.21/gprof/configure
15353 15353
15354 # Check to see that the pipe works correctly. 15354 # Check to see that the pipe works correctly.
15355 pipe_works=no 15355 pipe_works=no
15356@@ -6717,6 +7031,18 @@ 15356@@ -6717,6 +7031,18 @@ _LT_EOF
15357 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 15357 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
15358 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 15358 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
15359 cat <<_LT_EOF > conftest.$ac_ext 15359 cat <<_LT_EOF > conftest.$ac_ext
@@ -15372,7 +15372,7 @@ Index: binutils-2.21/gprof/configure
15372 #ifdef __cplusplus 15372 #ifdef __cplusplus
15373 extern "C" { 15373 extern "C" {
15374 #endif 15374 #endif
15375@@ -6728,7 +7054,7 @@ 15375@@ -6728,7 +7054,7 @@ _LT_EOF
15376 cat <<_LT_EOF >> conftest.$ac_ext 15376 cat <<_LT_EOF >> conftest.$ac_ext
15377 15377
15378 /* The mapping between symbol names and symbols. */ 15378 /* The mapping between symbol names and symbols. */
@@ -15381,7 +15381,7 @@ Index: binutils-2.21/gprof/configure
15381 const char *name; 15381 const char *name;
15382 void *address; 15382 void *address;
15383 } 15383 }
15384@@ -6754,8 +7080,8 @@ 15384@@ -6754,8 +7080,8 @@ static const void *lt_preloaded_setup()
15385 _LT_EOF 15385 _LT_EOF
15386 # Now try linking the two files. 15386 # Now try linking the two files.
15387 mv conftest.$ac_objext conftstm.$ac_objext 15387 mv conftest.$ac_objext conftstm.$ac_objext
@@ -15392,7 +15392,7 @@ Index: binutils-2.21/gprof/configure
15392 LIBS="conftstm.$ac_objext" 15392 LIBS="conftstm.$ac_objext"
15393 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 15393 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
15394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 15394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15395@@ -6765,8 +7091,8 @@ 15395@@ -6765,8 +7091,8 @@ _LT_EOF
15396 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 15396 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
15397 pipe_works=yes 15397 pipe_works=yes
15398 fi 15398 fi
@@ -15403,7 +15403,7 @@ Index: binutils-2.21/gprof/configure
15403 else 15403 else
15404 echo "cannot find nm_test_func in $nlist" >&5 15404 echo "cannot find nm_test_func in $nlist" >&5
15405 fi 15405 fi
15406@@ -6803,6 +7129,17 @@ 15406@@ -6803,6 +7129,17 @@ else
15407 $as_echo "ok" >&6; } 15407 $as_echo "ok" >&6; }
15408 fi 15408 fi
15409 15409
@@ -15421,7 +15421,7 @@ Index: binutils-2.21/gprof/configure
15421 15421
15422 15422
15423 15423
15424@@ -6824,6 +7161,44 @@ 15424@@ -6824,6 +7161,44 @@ fi
15425 15425
15426 15426
15427 15427
@@ -15466,7 +15466,7 @@ Index: binutils-2.21/gprof/configure
15466 # Check whether --enable-libtool-lock was given. 15466 # Check whether --enable-libtool-lock was given.
15467 if test "${enable_libtool_lock+set}" = set; then : 15467 if test "${enable_libtool_lock+set}" = set; then :
15468 enableval=$enable_libtool_lock; 15468 enableval=$enable_libtool_lock;
15469@@ -7017,6 +7392,123 @@ 15469@@ -7017,6 +7392,123 @@ esac
15470 15470
15471 need_locks="$enable_libtool_lock" 15471 need_locks="$enable_libtool_lock"
15472 15472
@@ -15590,7 +15590,7 @@ Index: binutils-2.21/gprof/configure
15590 15590
15591 case $host_os in 15591 case $host_os in
15592 rhapsody* | darwin*) 15592 rhapsody* | darwin*)
15593@@ -7580,6 +8072,8 @@ 15593@@ -7580,6 +8072,8 @@ _LT_EOF
15594 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 15594 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
15595 echo "$AR cru libconftest.a conftest.o" >&5 15595 echo "$AR cru libconftest.a conftest.o" >&5
15596 $AR cru libconftest.a conftest.o 2>&5 15596 $AR cru libconftest.a conftest.o 2>&5
@@ -15599,7 +15599,7 @@ Index: binutils-2.21/gprof/configure
15599 cat > conftest.c << _LT_EOF 15599 cat > conftest.c << _LT_EOF
15600 int main() { return 0;} 15600 int main() { return 0;}
15601 _LT_EOF 15601 _LT_EOF
15602@@ -7775,7 +8269,8 @@ 15602@@ -7775,7 +8269,8 @@ fi
15603 LIBTOOL_DEPS="$ltmain" 15603 LIBTOOL_DEPS="$ltmain"
15604 15604
15605 # Always use our own libtool. 15605 # Always use our own libtool.
@@ -15609,7 +15609,7 @@ Index: binutils-2.21/gprof/configure
15609 15609
15610 15610
15611 15611
15612@@ -7864,7 +8359,7 @@ 15612@@ -7864,7 +8359,7 @@ aix3*)
15613 esac 15613 esac
15614 15614
15615 # Global variables: 15615 # Global variables:
@@ -15618,7 +15618,7 @@ Index: binutils-2.21/gprof/configure
15618 can_build_shared=yes 15618 can_build_shared=yes
15619 15619
15620 # All known linkers require a `.a' archive for static linking (except MSVC, 15620 # All known linkers require a `.a' archive for static linking (except MSVC,
15621@@ -8162,8 +8657,6 @@ 15621@@ -8162,8 +8657,6 @@ fi
15622 lt_prog_compiler_pic= 15622 lt_prog_compiler_pic=
15623 lt_prog_compiler_static= 15623 lt_prog_compiler_static=
15624 15624
@@ -15627,7 +15627,7 @@ Index: binutils-2.21/gprof/configure
15627 15627
15628 if test "$GCC" = yes; then 15628 if test "$GCC" = yes; then
15629 lt_prog_compiler_wl='-Wl,' 15629 lt_prog_compiler_wl='-Wl,'
15630@@ -8328,6 +8821,12 @@ 15630@@ -8328,6 +8821,12 @@ $as_echo_n "checking for $compiler optio
15631 lt_prog_compiler_pic='--shared' 15631 lt_prog_compiler_pic='--shared'
15632 lt_prog_compiler_static='--static' 15632 lt_prog_compiler_static='--static'
15633 ;; 15633 ;;
@@ -15640,7 +15640,7 @@ Index: binutils-2.21/gprof/configure
15640 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 15640 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
15641 # Portland Group compilers (*not* the Pentium gcc compiler, 15641 # Portland Group compilers (*not* the Pentium gcc compiler,
15642 # which looks to be a dead project) 15642 # which looks to be a dead project)
15643@@ -8390,7 +8889,7 @@ 15643@@ -8390,7 +8889,7 @@ $as_echo_n "checking for $compiler optio
15644 lt_prog_compiler_pic='-KPIC' 15644 lt_prog_compiler_pic='-KPIC'
15645 lt_prog_compiler_static='-Bstatic' 15645 lt_prog_compiler_static='-Bstatic'
15646 case $cc_basename in 15646 case $cc_basename in
@@ -15649,7 +15649,7 @@ Index: binutils-2.21/gprof/configure
15649 lt_prog_compiler_wl='-Qoption ld ';; 15649 lt_prog_compiler_wl='-Qoption ld ';;
15650 *) 15650 *)
15651 lt_prog_compiler_wl='-Wl,';; 15651 lt_prog_compiler_wl='-Wl,';;
15652@@ -8447,13 +8946,17 @@ 15652@@ -8447,13 +8946,17 @@ case $host_os in
15653 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 15653 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15654 ;; 15654 ;;
15655 esac 15655 esac
@@ -15673,7 +15673,7 @@ Index: binutils-2.21/gprof/configure
15673 15673
15674 # 15674 #
15675 # Check to make sure the PIC flag actually works. 15675 # Check to make sure the PIC flag actually works.
15676@@ -8514,6 +9017,11 @@ 15676@@ -8514,6 +9017,11 @@ fi
15677 15677
15678 15678
15679 15679
@@ -15685,7 +15685,7 @@ Index: binutils-2.21/gprof/configure
15685 # 15685 #
15686 # Check to make sure the static flag actually works. 15686 # Check to make sure the static flag actually works.
15687 # 15687 #
15688@@ -8864,7 +9372,8 @@ 15688@@ -8864,7 +9372,8 @@ _LT_EOF
15689 allow_undefined_flag=unsupported 15689 allow_undefined_flag=unsupported
15690 always_export_symbols=no 15690 always_export_symbols=no
15691 enable_shared_with_static_runtimes=yes 15691 enable_shared_with_static_runtimes=yes
@@ -15695,7 +15695,7 @@ Index: binutils-2.21/gprof/configure
15695 15695
15696 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 15696 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15697 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 15697 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15698@@ -8912,7 +9421,7 @@ 15698@@ -8912,7 +9421,7 @@ _LT_EOF
15699 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 15699 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
15700 && test "$tmp_diet" = no 15700 && test "$tmp_diet" = no
15701 then 15701 then
@@ -15704,7 +15704,7 @@ Index: binutils-2.21/gprof/configure
15704 tmp_sharedflag='-shared' 15704 tmp_sharedflag='-shared'
15705 case $cc_basename,$host_cpu in 15705 case $cc_basename,$host_cpu in
15706 pgcc*) # Portland Group C compiler 15706 pgcc*) # Portland Group C compiler
15707@@ -8963,12 +9472,12 @@ 15707@@ -8963,12 +9472,12 @@ _LT_EOF
15708 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 15708 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
15709 hardcode_libdir_flag_spec= 15709 hardcode_libdir_flag_spec=
15710 hardcode_libdir_flag_spec_ld='-rpath $libdir' 15710 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -15719,7 +15719,7 @@ Index: binutils-2.21/gprof/configure
15719 fi 15719 fi
15720 ;; 15720 ;;
15721 esac 15721 esac
15722@@ -8982,8 +9491,8 @@ 15722@@ -8982,8 +9491,8 @@ _LT_EOF
15723 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 15723 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15724 wlarc= 15724 wlarc=
15725 else 15725 else
@@ -15730,7 +15730,7 @@ Index: binutils-2.21/gprof/configure
15730 fi 15730 fi
15731 ;; 15731 ;;
15732 15732
15733@@ -9001,8 +9510,8 @@ 15733@@ -9001,8 +9510,8 @@ _LT_EOF
15734 15734
15735 _LT_EOF 15735 _LT_EOF
15736 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15736 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -15741,7 +15741,7 @@ Index: binutils-2.21/gprof/configure
15741 else 15741 else
15742 ld_shlibs=no 15742 ld_shlibs=no
15743 fi 15743 fi
15744@@ -9048,8 +9557,8 @@ 15744@@ -9048,8 +9557,8 @@ _LT_EOF
15745 15745
15746 *) 15746 *)
15747 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 15747 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -15752,7 +15752,7 @@ Index: binutils-2.21/gprof/configure
15752 else 15752 else
15753 ld_shlibs=no 15753 ld_shlibs=no
15754 fi 15754 fi
15755@@ -9179,7 +9688,13 @@ 15755@@ -9179,7 +9688,13 @@ _LT_EOF
15756 allow_undefined_flag='-berok' 15756 allow_undefined_flag='-berok'
15757 # Determine the default libpath from the value encoded in an 15757 # Determine the default libpath from the value encoded in an
15758 # empty executable. 15758 # empty executable.
@@ -15767,7 +15767,7 @@ Index: binutils-2.21/gprof/configure
15767 /* end confdefs.h. */ 15767 /* end confdefs.h. */
15768 15768
15769 int 15769 int
15770@@ -9192,22 +9707,29 @@ 15770@@ -9192,22 +9707,29 @@ main ()
15771 _ACEOF 15771 _ACEOF
15772 if ac_fn_c_try_link "$LINENO"; then : 15772 if ac_fn_c_try_link "$LINENO"; then :
15773 15773
@@ -15810,7 +15810,7 @@ Index: binutils-2.21/gprof/configure
15810 15810
15811 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 15811 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15812 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" 15812 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"
15813@@ -9219,7 +9741,13 @@ 15813@@ -9219,7 +9741,13 @@ if test -z "$aix_libpath"; then aix_libp
15814 else 15814 else
15815 # Determine the default libpath from the value encoded in an 15815 # Determine the default libpath from the value encoded in an
15816 # empty executable. 15816 # empty executable.
@@ -15825,7 +15825,7 @@ Index: binutils-2.21/gprof/configure
15825 /* end confdefs.h. */ 15825 /* end confdefs.h. */
15826 15826
15827 int 15827 int
15828@@ -9232,22 +9760,29 @@ 15828@@ -9232,22 +9760,29 @@ main ()
15829 _ACEOF 15829 _ACEOF
15830 if ac_fn_c_try_link "$LINENO"; then : 15830 if ac_fn_c_try_link "$LINENO"; then :
15831 15831
@@ -15868,7 +15868,7 @@ Index: binutils-2.21/gprof/configure
15868 15868
15869 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 15869 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15870 # Warning - without using the other run time loading flags, 15870 # Warning - without using the other run time loading flags,
15871@@ -9292,20 +9827,63 @@ 15871@@ -9292,20 +9827,63 @@ if test -z "$aix_libpath"; then aix_libp
15872 # Microsoft Visual C++. 15872 # Microsoft Visual C++.
15873 # hardcode_libdir_flag_spec is actually meaningless, as there is 15873 # hardcode_libdir_flag_spec is actually meaningless, as there is
15874 # no search path for DLLs. 15874 # no search path for DLLs.
@@ -15946,7 +15946,7 @@ Index: binutils-2.21/gprof/configure
15946 ;; 15946 ;;
15947 15947
15948 darwin* | rhapsody*) 15948 darwin* | rhapsody*)
15949@@ -9370,7 +9948,7 @@ 15949@@ -9370,7 +9948,7 @@ if test -z "$aix_libpath"; then aix_libp
15950 15950
15951 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15951 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15952 freebsd* | dragonfly*) 15952 freebsd* | dragonfly*)
@@ -15955,7 +15955,7 @@ Index: binutils-2.21/gprof/configure
15955 hardcode_libdir_flag_spec='-R$libdir' 15955 hardcode_libdir_flag_spec='-R$libdir'
15956 hardcode_direct=yes 15956 hardcode_direct=yes
15957 hardcode_shlibpath_var=no 15957 hardcode_shlibpath_var=no
15958@@ -9378,7 +9956,7 @@ 15958@@ -9378,7 +9956,7 @@ if test -z "$aix_libpath"; then aix_libp
15959 15959
15960 hpux9*) 15960 hpux9*)
15961 if test "$GCC" = yes; then 15961 if test "$GCC" = yes; then
@@ -15964,7 +15964,7 @@ Index: binutils-2.21/gprof/configure
15964 else 15964 else
15965 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' 15965 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'
15966 fi 15966 fi
15967@@ -9394,7 +9972,7 @@ 15967@@ -9394,7 +9972,7 @@ if test -z "$aix_libpath"; then aix_libp
15968 15968
15969 hpux10*) 15969 hpux10*)
15970 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 15970 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -15973,7 +15973,7 @@ Index: binutils-2.21/gprof/configure
15973 else 15973 else
15974 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15974 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15975 fi 15975 fi
15976@@ -9418,10 +9996,10 @@ 15976@@ -9418,10 +9996,10 @@ if test -z "$aix_libpath"; then aix_libp
15977 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15977 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15978 ;; 15978 ;;
15979 ia64*) 15979 ia64*)
@@ -15986,7 +15986,7 @@ Index: binutils-2.21/gprof/configure
15986 ;; 15986 ;;
15987 esac 15987 esac
15988 else 15988 else
15989@@ -9500,23 +10078,36 @@ 15989@@ -9500,23 +10078,36 @@ fi
15990 15990
15991 irix5* | irix6* | nonstopux*) 15991 irix5* | irix6* | nonstopux*)
15992 if test "$GCC" = yes; then 15992 if test "$GCC" = yes; then
@@ -16031,7 +16031,7 @@ Index: binutils-2.21/gprof/configure
16031 else 16031 else
16032 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' 16032 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'
16033 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' 16033 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'
16034@@ -9601,7 +10192,7 @@ 16034@@ -9601,7 +10192,7 @@ rm -f core conftest.err conftest.$ac_obj
16035 osf4* | osf5*) # as osf3* with the addition of -msym flag 16035 osf4* | osf5*) # as osf3* with the addition of -msym flag
16036 if test "$GCC" = yes; then 16036 if test "$GCC" = yes; then
16037 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 16037 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -16040,7 +16040,7 @@ Index: binutils-2.21/gprof/configure
16040 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 16040 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16041 else 16041 else
16042 allow_undefined_flag=' -expect_unresolved \*' 16042 allow_undefined_flag=' -expect_unresolved \*'
16043@@ -9620,9 +10211,9 @@ 16043@@ -9620,9 +10211,9 @@ rm -f core conftest.err conftest.$ac_obj
16044 no_undefined_flag=' -z defs' 16044 no_undefined_flag=' -z defs'
16045 if test "$GCC" = yes; then 16045 if test "$GCC" = yes; then
16046 wlarc='${wl}' 16046 wlarc='${wl}'
@@ -16052,7 +16052,7 @@ Index: binutils-2.21/gprof/configure
16052 else 16052 else
16053 case `$CC -V 2>&1` in 16053 case `$CC -V 2>&1` in
16054 *"Compilers 5.0"*) 16054 *"Compilers 5.0"*)
16055@@ -10198,8 +10789,9 @@ 16055@@ -10198,8 +10789,9 @@ cygwin* | mingw* | pw32* | cegcc*)
16056 need_version=no 16056 need_version=no
16057 need_lib_prefix=no 16057 need_lib_prefix=no
16058 16058
@@ -16064,7 +16064,7 @@ Index: binutils-2.21/gprof/configure
16064 library_names_spec='$libname.dll.a' 16064 library_names_spec='$libname.dll.a'
16065 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16065 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16066 postinstall_cmds='base_file=`basename \${file}`~ 16066 postinstall_cmds='base_file=`basename \${file}`~
16067@@ -10232,13 +10824,71 @@ 16067@@ -10232,13 +10824,71 @@ cygwin* | mingw* | pw32* | cegcc*)
16068 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16068 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16069 ;; 16069 ;;
16070 esac 16070 esac
@@ -16137,7 +16137,7 @@ Index: binutils-2.21/gprof/configure
16137 # FIXME: first we should search . and the directory the executable is in 16137 # FIXME: first we should search . and the directory the executable is in
16138 shlibpath_var=PATH 16138 shlibpath_var=PATH
16139 ;; 16139 ;;
16140@@ -10334,7 +10984,7 @@ 16140@@ -10334,7 +10984,7 @@ haiku*)
16141 soname_spec='${libname}${release}${shared_ext}$major' 16141 soname_spec='${libname}${release}${shared_ext}$major'
16142 shlibpath_var=LIBRARY_PATH 16142 shlibpath_var=LIBRARY_PATH
16143 shlibpath_overrides_runpath=yes 16143 shlibpath_overrides_runpath=yes
@@ -16146,7 +16146,7 @@ Index: binutils-2.21/gprof/configure
16146 hardcode_into_libs=yes 16146 hardcode_into_libs=yes
16147 ;; 16147 ;;
16148 16148
16149@@ -11130,7 +11780,7 @@ 16149@@ -11130,7 +11780,7 @@ else
16150 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16150 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16151 lt_status=$lt_dlunknown 16151 lt_status=$lt_dlunknown
16152 cat > conftest.$ac_ext <<_LT_EOF 16152 cat > conftest.$ac_ext <<_LT_EOF
@@ -16155,7 +16155,7 @@ Index: binutils-2.21/gprof/configure
16155 #include "confdefs.h" 16155 #include "confdefs.h"
16156 16156
16157 #if HAVE_DLFCN_H 16157 #if HAVE_DLFCN_H
16158@@ -11174,10 +11824,10 @@ 16158@@ -11174,10 +11824,10 @@ else
16159 /* When -fvisbility=hidden is used, assume the code has been annotated 16159 /* When -fvisbility=hidden is used, assume the code has been annotated
16160 correspondingly for the symbols needed. */ 16160 correspondingly for the symbols needed. */
16161 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16161 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -16168,7 +16168,7 @@ Index: binutils-2.21/gprof/configure
16168 int main () 16168 int main ()
16169 { 16169 {
16170 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16170 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16171@@ -11236,7 +11886,7 @@ 16171@@ -11236,7 +11886,7 @@ else
16172 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16172 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16173 lt_status=$lt_dlunknown 16173 lt_status=$lt_dlunknown
16174 cat > conftest.$ac_ext <<_LT_EOF 16174 cat > conftest.$ac_ext <<_LT_EOF
@@ -16177,7 +16177,7 @@ Index: binutils-2.21/gprof/configure
16177 #include "confdefs.h" 16177 #include "confdefs.h"
16178 16178
16179 #if HAVE_DLFCN_H 16179 #if HAVE_DLFCN_H
16180@@ -11280,10 +11930,10 @@ 16180@@ -11280,10 +11930,10 @@ else
16181 /* When -fvisbility=hidden is used, assume the code has been annotated 16181 /* When -fvisbility=hidden is used, assume the code has been annotated
16182 correspondingly for the symbols needed. */ 16182 correspondingly for the symbols needed. */
16183 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16183 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -16190,7 +16190,7 @@ Index: binutils-2.21/gprof/configure
16190 int main () 16190 int main ()
16191 { 16191 {
16192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16193@@ -12825,13 +13475,20 @@ 16193@@ -12825,13 +13475,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
16194 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16194 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16195 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16195 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16196 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16196 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -16211,7 +16211,7 @@ Index: binutils-2.21/gprof/configure
16211 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16211 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16212 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16212 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16213 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16213 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16214@@ -12846,14 +13503,17 @@ 16214@@ -12846,14 +13503,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
16215 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 16215 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16216 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 16216 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16217 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"`' 16217 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"`'
@@ -16230,7 +16230,7 @@ Index: binutils-2.21/gprof/configure
16230 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16230 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16231 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16231 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16232 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16232 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16233@@ -12886,12 +13546,12 @@ 16233@@ -12886,12 +13546,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
16234 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16234 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16235 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16235 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16236 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16236 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -16244,7 +16244,7 @@ Index: binutils-2.21/gprof/configure
16244 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16244 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16245 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 16245 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16246 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 16246 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16247@@ -12946,8 +13606,13 @@ 16247@@ -12946,8 +13606,13 @@ reload_flag \
16248 OBJDUMP \ 16248 OBJDUMP \
16249 deplibs_check_method \ 16249 deplibs_check_method \
16250 file_magic_cmd \ 16250 file_magic_cmd \
@@ -16258,7 +16258,7 @@ Index: binutils-2.21/gprof/configure
16258 STRIP \ 16258 STRIP \
16259 RANLIB \ 16259 RANLIB \
16260 CC \ 16260 CC \
16261@@ -12957,12 +13622,14 @@ 16261@@ -12957,12 +13622,14 @@ lt_cv_sys_global_symbol_pipe \
16262 lt_cv_sys_global_symbol_to_cdecl \ 16262 lt_cv_sys_global_symbol_to_cdecl \
16263 lt_cv_sys_global_symbol_to_c_name_address \ 16263 lt_cv_sys_global_symbol_to_c_name_address \
16264 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16264 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -16274,7 +16274,7 @@ Index: binutils-2.21/gprof/configure
16274 DSYMUTIL \ 16274 DSYMUTIL \
16275 NMEDIT \ 16275 NMEDIT \
16276 LIPO \ 16276 LIPO \
16277@@ -12978,7 +13645,6 @@ 16277@@ -12978,7 +13645,6 @@ no_undefined_flag \
16278 hardcode_libdir_flag_spec \ 16278 hardcode_libdir_flag_spec \
16279 hardcode_libdir_flag_spec_ld \ 16279 hardcode_libdir_flag_spec_ld \
16280 hardcode_libdir_separator \ 16280 hardcode_libdir_separator \
@@ -16282,7 +16282,7 @@ Index: binutils-2.21/gprof/configure
16282 exclude_expsyms \ 16282 exclude_expsyms \
16283 include_expsyms \ 16283 include_expsyms \
16284 file_list_spec \ 16284 file_list_spec \
16285@@ -13014,6 +13680,7 @@ 16285@@ -13014,6 +13680,7 @@ module_cmds \
16286 module_expsym_cmds \ 16286 module_expsym_cmds \
16287 export_symbols_cmds \ 16287 export_symbols_cmds \
16288 prelink_cmds \ 16288 prelink_cmds \
@@ -16290,7 +16290,7 @@ Index: binutils-2.21/gprof/configure
16290 postinstall_cmds \ 16290 postinstall_cmds \
16291 postuninstall_cmds \ 16291 postuninstall_cmds \
16292 finish_cmds \ 16292 finish_cmds \
16293@@ -13770,7 +14437,8 @@ 16293@@ -13770,7 +14437,8 @@ $as_echo X"$file" |
16294 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 16294 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16295 # 16295 #
16296 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16296 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -16300,7 +16300,7 @@ Index: binutils-2.21/gprof/configure
16300 # Written by Gordon Matzigkeit, 1996 16300 # Written by Gordon Matzigkeit, 1996
16301 # 16301 #
16302 # This file is part of GNU Libtool. 16302 # This file is part of GNU Libtool.
16303@@ -13873,19 +14541,42 @@ 16303@@ -13873,19 +14541,42 @@ SP2NL=$lt_lt_SP2NL
16304 # turn newlines into spaces. 16304 # turn newlines into spaces.
16305 NL2SP=$lt_lt_NL2SP 16305 NL2SP=$lt_lt_NL2SP
16306 16306
@@ -16344,7 +16344,7 @@ Index: binutils-2.21/gprof/configure
16344 # A symbol stripping program. 16344 # A symbol stripping program.
16345 STRIP=$lt_STRIP 16345 STRIP=$lt_STRIP
16346 16346
16347@@ -13915,6 +14606,12 @@ 16347@@ -13915,6 +14606,12 @@ global_symbol_to_c_name_address=$lt_lt_c
16348 # Transform the output of nm in a C name address pair when lib prefix is needed. 16348 # Transform the output of nm in a C name address pair when lib prefix is needed.
16349 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16349 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16350 16350
@@ -16357,7 +16357,7 @@ Index: binutils-2.21/gprof/configure
16357 # The name of the directory that contains temporary libtool files. 16357 # The name of the directory that contains temporary libtool files.
16358 objdir=$objdir 16358 objdir=$objdir
16359 16359
16360@@ -13924,6 +14621,9 @@ 16360@@ -13924,6 +14621,9 @@ MAGIC_CMD=$MAGIC_CMD
16361 # Must we lock files when doing compilation? 16361 # Must we lock files when doing compilation?
16362 need_locks=$lt_need_locks 16362 need_locks=$lt_need_locks
16363 16363
@@ -16367,7 +16367,7 @@ Index: binutils-2.21/gprof/configure
16367 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16367 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16368 DSYMUTIL=$lt_DSYMUTIL 16368 DSYMUTIL=$lt_DSYMUTIL
16369 16369
16370@@ -14038,12 +14738,12 @@ 16370@@ -14038,12 +14738,12 @@ with_gcc=$GCC
16371 # Compiler flag to turn off builtin functions. 16371 # Compiler flag to turn off builtin functions.
16372 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16372 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16373 16373
@@ -16383,7 +16383,7 @@ Index: binutils-2.21/gprof/configure
16383 # Compiler flag to prevent dynamic linking. 16383 # Compiler flag to prevent dynamic linking.
16384 link_static_flag=$lt_lt_prog_compiler_static 16384 link_static_flag=$lt_lt_prog_compiler_static
16385 16385
16386@@ -14130,9 +14830,6 @@ 16386@@ -14130,9 +14830,6 @@ inherit_rpath=$inherit_rpath
16387 # Whether libtool must link a program against all its dependency libraries. 16387 # Whether libtool must link a program against all its dependency libraries.
16388 link_all_deplibs=$link_all_deplibs 16388 link_all_deplibs=$link_all_deplibs
16389 16389
@@ -16393,7 +16393,7 @@ Index: binutils-2.21/gprof/configure
16393 # Set to "yes" if exported symbols are required. 16393 # Set to "yes" if exported symbols are required.
16394 always_export_symbols=$always_export_symbols 16394 always_export_symbols=$always_export_symbols
16395 16395
16396@@ -14148,6 +14845,9 @@ 16396@@ -14148,6 +14845,9 @@ include_expsyms=$lt_include_expsyms
16397 # Commands necessary for linking programs (against libraries) with templates. 16397 # Commands necessary for linking programs (against libraries) with templates.
16398 prelink_cmds=$lt_prelink_cmds 16398 prelink_cmds=$lt_prelink_cmds
16399 16399
@@ -16403,7 +16403,7 @@ Index: binutils-2.21/gprof/configure
16403 # Specify filename containing input files. 16403 # Specify filename containing input files.
16404 file_list_spec=$lt_file_list_spec 16404 file_list_spec=$lt_file_list_spec
16405 16405
16406@@ -14180,210 +14880,169 @@ 16406@@ -14180,210 +14880,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
16407 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16407 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16408 # text mode, it properly converts lines to CR/LF. This bash problem 16408 # text mode, it properly converts lines to CR/LF. This bash problem
16409 # is reportedly fixed, but why not run on old versions too? 16409 # is reportedly fixed, but why not run on old versions too?
@@ -16774,11 +16774,11 @@ Index: binutils-2.21/gprof/configure
16774 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16774 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16775 chmod +x "$ofile" 16775 chmod +x "$ofile"
16776 16776
16777Index: binutils-2.21/ld/configure 16777Index: binutils-2.21.1/ld/configure
16778=================================================================== 16778===================================================================
16779--- binutils-2.21.orig/ld/configure 2010-11-23 05:50:32.000000000 -0800 16779--- binutils-2.21.1.orig/ld/configure
16780+++ binutils-2.21/ld/configure 2011-01-07 10:49:16.436101000 -0800 16780+++ binutils-2.21.1/ld/configure
16781@@ -643,8 +643,11 @@ 16781@@ -644,8 +644,11 @@ OTOOL
16782 LIPO 16782 LIPO
16783 NMEDIT 16783 NMEDIT
16784 DSYMUTIL 16784 DSYMUTIL
@@ -16790,7 +16790,7 @@ Index: binutils-2.21/ld/configure
16790 OBJDUMP 16790 OBJDUMP
16791 LN_S 16791 LN_S
16792 NM 16792 NM
16793@@ -776,6 +779,7 @@ 16793@@ -783,6 +786,7 @@ enable_static
16794 with_pic 16794 with_pic
16795 enable_fast_install 16795 enable_fast_install
16796 with_gnu_ld 16796 with_gnu_ld
@@ -16798,7 +16798,7 @@ Index: binutils-2.21/ld/configure
16798 enable_libtool_lock 16798 enable_libtool_lock
16799 enable_nls 16799 enable_nls
16800 ' 16800 '
16801@@ -1436,6 +1440,8 @@ 16801@@ -1447,6 +1451,8 @@ Optional Packages:
16802 --with-pic try to use only PIC/non-PIC objects [default=use 16802 --with-pic try to use only PIC/non-PIC objects [default=use
16803 both] 16803 both]
16804 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 16804 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -16807,7 +16807,7 @@ Index: binutils-2.21/ld/configure
16807 16807
16808 Some influential environment variables: 16808 Some influential environment variables:
16809 CC C compiler command 16809 CC C compiler command
16810@@ -5562,8 +5568,8 @@ 16810@@ -6081,8 +6087,8 @@ esac
16811 16811
16812 16812
16813 16813
@@ -16818,7 +16818,7 @@ Index: binutils-2.21/ld/configure
16818 16818
16819 16819
16820 16820
16821@@ -5603,7 +5609,7 @@ 16821@@ -6122,7 +6128,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 16822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
16823 $as_echo_n "checking how to print strings... " >&6; } 16823 $as_echo_n "checking how to print strings... " >&6; }
16824 # Test print first, because it will be a builtin if present. 16824 # Test print first, because it will be a builtin if present.
@@ -16827,7 +16827,7 @@ Index: binutils-2.21/ld/configure
16827 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 16827 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
16828 ECHO='print -r --' 16828 ECHO='print -r --'
16829 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 16829 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
16830@@ -6289,8 +6295,8 @@ 16830@@ -6808,8 +6814,8 @@ $as_echo_n "checking whether the shell u
16831 # Try some XSI features 16831 # Try some XSI features
16832 xsi_shell=no 16832 xsi_shell=no
16833 ( _lt_dummy="a/b/c" 16833 ( _lt_dummy="a/b/c"
@@ -16838,7 +16838,7 @@ Index: binutils-2.21/ld/configure
16838 && eval 'test $(( 1 + 1 )) -eq 2 \ 16838 && eval 'test $(( 1 + 1 )) -eq 2 \
16839 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 16839 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
16840 && xsi_shell=yes 16840 && xsi_shell=yes
16841@@ -6339,6 +6345,80 @@ 16841@@ -6858,6 +6864,80 @@ esac
16842 16842
16843 16843
16844 16844
@@ -16919,7 +16919,7 @@ Index: binutils-2.21/ld/configure
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
16920 $as_echo_n "checking for $LD option to reload object files... " >&6; } 16920 $as_echo_n "checking for $LD option to reload object files... " >&6; }
16921 if test "${lt_cv_ld_reload_flag+set}" = set; then : 16921 if test "${lt_cv_ld_reload_flag+set}" = set; then :
16922@@ -6355,6 +6435,11 @@ 16922@@ -6874,6 +6954,11 @@ case $reload_flag in
16923 esac 16923 esac
16924 reload_cmds='$LD$reload_flag -o $output$reload_objs' 16924 reload_cmds='$LD$reload_flag -o $output$reload_objs'
16925 case $host_os in 16925 case $host_os in
@@ -16931,7 +16931,7 @@ Index: binutils-2.21/ld/configure
16931 darwin*) 16931 darwin*)
16932 if test "$GCC" = yes; then 16932 if test "$GCC" = yes; then
16933 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 16933 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
16934@@ -6523,7 +6608,8 @@ 16934@@ -7042,7 +7127,8 @@ mingw* | pw32*)
16935 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 16935 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
16936 lt_cv_file_magic_cmd='func_win32_libid' 16936 lt_cv_file_magic_cmd='func_win32_libid'
16937 else 16937 else
@@ -16941,7 +16941,7 @@ Index: binutils-2.21/ld/configure
16941 lt_cv_file_magic_cmd='$OBJDUMP -f' 16941 lt_cv_file_magic_cmd='$OBJDUMP -f'
16942 fi 16942 fi
16943 ;; 16943 ;;
16944@@ -6677,6 +6763,21 @@ 16944@@ -7196,6 +7282,21 @@ esac
16945 fi 16945 fi
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
16947 $as_echo "$lt_cv_deplibs_check_method" >&6; } 16947 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -16963,7 +16963,7 @@ Index: binutils-2.21/ld/configure
16963 file_magic_cmd=$lt_cv_file_magic_cmd 16963 file_magic_cmd=$lt_cv_file_magic_cmd
16964 deplibs_check_method=$lt_cv_deplibs_check_method 16964 deplibs_check_method=$lt_cv_deplibs_check_method
16965 test -z "$deplibs_check_method" && deplibs_check_method=unknown 16965 test -z "$deplibs_check_method" && deplibs_check_method=unknown
16966@@ -6692,9 +6793,162 @@ 16966@@ -7211,9 +7312,162 @@ test -z "$deplibs_check_method" && depli
16967 16967
16968 16968
16969 16969
@@ -16977,7 +16977,9 @@ Index: binutils-2.21/ld/configure
16977+ 16977+
16978+ 16978+
16979+ 16979+
16980+if test -n "$ac_tool_prefix"; then 16980 if test -n "$ac_tool_prefix"; then
16981- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16982-set dummy ${ac_tool_prefix}ar; ac_word=$2
16981+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 16983+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16982+set dummy ${ac_tool_prefix}dlltool; ac_word=$2 16984+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16983+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16985+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -17118,9 +17120,7 @@ Index: binutils-2.21/ld/configure
17118+ 17120+
17119+ 17121+
17120+ 17122+
17121 if test -n "$ac_tool_prefix"; then 17123+if test -n "$ac_tool_prefix"; then
17122- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17123-set dummy ${ac_tool_prefix}ar; ac_word=$2
17124+ for ac_prog in ar 17124+ for ac_prog in ar
17125+ do 17125+ do
17126+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 17126+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
@@ -17128,7 +17128,7 @@ Index: binutils-2.21/ld/configure
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17129 $as_echo_n "checking for $ac_word... " >&6; } 17129 $as_echo_n "checking for $ac_word... " >&6; }
17130 if test "${ac_cv_prog_AR+set}" = set; then : 17130 if test "${ac_cv_prog_AR+set}" = set; then :
17131@@ -6710,7 +6964,7 @@ 17131@@ -7229,7 +7483,7 @@ do
17132 test -z "$as_dir" && as_dir=. 17132 test -z "$as_dir" && as_dir=.
17133 for ac_exec_ext in '' $ac_executable_extensions; do 17133 for ac_exec_ext in '' $ac_executable_extensions; do
17134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -17137,7 +17137,7 @@ Index: binutils-2.21/ld/configure
17137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17138 break 2 17138 break 2
17139 fi 17139 fi
17140@@ -6730,11 +6984,15 @@ 17140@@ -7249,11 +7503,15 @@ $as_echo "no" >&6; }
17141 fi 17141 fi
17142 17142
17143 17143
@@ -17156,7 +17156,7 @@ Index: binutils-2.21/ld/configure
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17157 $as_echo_n "checking for $ac_word... " >&6; } 17157 $as_echo_n "checking for $ac_word... " >&6; }
17158 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 17158 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
17159@@ -6750,7 +7008,7 @@ 17159@@ -7269,7 +7527,7 @@ do
17160 test -z "$as_dir" && as_dir=. 17160 test -z "$as_dir" && as_dir=.
17161 for ac_exec_ext in '' $ac_executable_extensions; do 17161 for ac_exec_ext in '' $ac_executable_extensions; do
17162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -17165,7 +17165,7 @@ Index: binutils-2.21/ld/configure
17165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17166 break 2 17166 break 2
17167 fi 17167 fi
17168@@ -6769,6 +7027,10 @@ 17168@@ -7288,6 +7546,10 @@ else
17169 $as_echo "no" >&6; } 17169 $as_echo "no" >&6; }
17170 fi 17170 fi
17171 17171
@@ -17176,7 +17176,7 @@ Index: binutils-2.21/ld/configure
17176 if test "x$ac_ct_AR" = x; then 17176 if test "x$ac_ct_AR" = x; then
17177 AR="false" 17177 AR="false"
17178 else 17178 else
17179@@ -6780,16 +7042,72 @@ 17179@@ -7299,12 +7561,10 @@ ac_tool_warned=yes ;;
17180 esac 17180 esac
17181 AR=$ac_ct_AR 17181 AR=$ac_ct_AR
17182 fi 17182 fi
@@ -17188,17 +17188,13 @@ Index: binutils-2.21/ld/configure
17188-test -z "$AR_FLAGS" && AR_FLAGS=cru 17188-test -z "$AR_FLAGS" && AR_FLAGS=cru
17189+: ${AR=ar} 17189+: ${AR=ar}
17190+: ${AR_FLAGS=cru} 17190+: ${AR_FLAGS=cru}
17191+ 17191
17192+ 17192
17193+ 17193
17194+ 17194@@ -7316,6 +7576,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
17195+ 17195
17196+ 17196
17197+ 17197
17198+
17199+
17200+
17201+
17202+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 17198+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
17203+$as_echo_n "checking for archiver @FILE support... " >&6; } 17199+$as_echo_n "checking for archiver @FILE support... " >&6; }
17204+if test "${lt_cv_ar_at_file+set}" = set; then : 17200+if test "${lt_cv_ar_at_file+set}" = set; then :
@@ -17211,7 +17207,7 @@ Index: binutils-2.21/ld/configure
17211+int 17207+int
17212+main () 17208+main ()
17213+{ 17209+{
17214 17210+
17215+ ; 17211+ ;
17216+ return 0; 17212+ return 0;
17217+} 17213+}
@@ -17237,23 +17233,30 @@ Index: binutils-2.21/ld/configure
17237+ fi 17233+ fi
17238+ fi 17234+ fi
17239+ rm -f conftest.* libconftest.a 17235+ rm -f conftest.* libconftest.a
17240 17236+
17241+fi 17237+fi
17242+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17238+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 17239+
17244+fi 17240+fi
17245+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 17241+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
17246+$as_echo "$lt_cv_ar_at_file" >&6; } 17242+$as_echo "$lt_cv_ar_at_file" >&6; }
17247 17243+
17248+if test "x$lt_cv_ar_at_file" = xno; then 17244+if test "x$lt_cv_ar_at_file" = xno; then
17249+ archiver_list_spec= 17245+ archiver_list_spec=
17250+else 17246+else
17251+ archiver_list_spec=$lt_cv_ar_at_file 17247+ archiver_list_spec=$lt_cv_ar_at_file
17252+fi 17248+fi
17253 17249+
17254 17250+
17255 17251+
17256@@ -7131,8 +7449,8 @@ 17252+
17253+
17254+
17255+
17256 if test -n "$ac_tool_prefix"; then
17257 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
17258 set dummy ${ac_tool_prefix}strip; ac_word=$2
17259@@ -7650,8 +7968,8 @@ esac
17257 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 17260 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17258 17261
17259 # Transform an extracted symbol line into symbol name and symbol address 17262 # Transform an extracted symbol line into symbol name and symbol address
@@ -17264,7 +17267,7 @@ Index: binutils-2.21/ld/configure
17264 17267
17265 # Handle CRLF in mingw tool chain 17268 # Handle CRLF in mingw tool chain
17266 opt_cr= 17269 opt_cr=
17267@@ -7168,6 +7486,7 @@ 17270@@ -7687,6 +8005,7 @@ for ac_symprfx in "" "_"; do
17268 else 17271 else
17269 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 17272 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
17270 fi 17273 fi
@@ -17272,7 +17275,7 @@ Index: binutils-2.21/ld/configure
17272 17275
17273 # Check to see that the pipe works correctly. 17276 # Check to see that the pipe works correctly.
17274 pipe_works=no 17277 pipe_works=no
17275@@ -7209,6 +7528,18 @@ 17278@@ -7728,6 +8047,18 @@ _LT_EOF
17276 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 17279 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
17277 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 17280 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
17278 cat <<_LT_EOF > conftest.$ac_ext 17281 cat <<_LT_EOF > conftest.$ac_ext
@@ -17291,7 +17294,7 @@ Index: binutils-2.21/ld/configure
17291 #ifdef __cplusplus 17294 #ifdef __cplusplus
17292 extern "C" { 17295 extern "C" {
17293 #endif 17296 #endif
17294@@ -7220,7 +7551,7 @@ 17297@@ -7739,7 +8070,7 @@ _LT_EOF
17295 cat <<_LT_EOF >> conftest.$ac_ext 17298 cat <<_LT_EOF >> conftest.$ac_ext
17296 17299
17297 /* The mapping between symbol names and symbols. */ 17300 /* The mapping between symbol names and symbols. */
@@ -17300,7 +17303,7 @@ Index: binutils-2.21/ld/configure
17300 const char *name; 17303 const char *name;
17301 void *address; 17304 void *address;
17302 } 17305 }
17303@@ -7246,8 +7577,8 @@ 17306@@ -7765,8 +8096,8 @@ static const void *lt_preloaded_setup()
17304 _LT_EOF 17307 _LT_EOF
17305 # Now try linking the two files. 17308 # Now try linking the two files.
17306 mv conftest.$ac_objext conftstm.$ac_objext 17309 mv conftest.$ac_objext conftstm.$ac_objext
@@ -17311,7 +17314,7 @@ Index: binutils-2.21/ld/configure
17311 LIBS="conftstm.$ac_objext" 17314 LIBS="conftstm.$ac_objext"
17312 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 17315 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
17313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 17316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17314@@ -7257,8 +7588,8 @@ 17317@@ -7776,8 +8107,8 @@ _LT_EOF
17315 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 17318 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
17316 pipe_works=yes 17319 pipe_works=yes
17317 fi 17320 fi
@@ -17322,7 +17325,7 @@ Index: binutils-2.21/ld/configure
17322 else 17325 else
17323 echo "cannot find nm_test_func in $nlist" >&5 17326 echo "cannot find nm_test_func in $nlist" >&5
17324 fi 17327 fi
17325@@ -7295,6 +7626,19 @@ 17328@@ -7814,6 +8145,21 @@ else
17326 $as_echo "ok" >&6; } 17329 $as_echo "ok" >&6; }
17327 fi 17330 fi
17328 17331
@@ -17339,10 +17342,12 @@ Index: binutils-2.21/ld/configure
17339+ 17342+
17340+ 17343+
17341+ 17344+
17345+
17346+
17342 17347
17343 17348
17344 17349
17345@@ -7315,6 +7659,42 @@ 17350@@ -7832,6 +8178,40 @@ fi
17346 17351
17347 17352
17348 17353
@@ -17380,15 +17385,21 @@ Index: binutils-2.21/ld/configure
17380+$as_echo "${lt_sysroot:-no}" >&6; } 17385+$as_echo "${lt_sysroot:-no}" >&6; }
17381+ 17386+
17382+ 17387+
17383+
17384+
17385 17388
17386 # Check whether --enable-libtool-lock was given.
17387 if test "${enable_libtool_lock+set}" = set; then :
17388@@ -7509,6 +7889,123 @@
17389 17389
17390 need_locks="$enable_libtool_lock"
17391 17390
17391@@ -8022,11 +8402,128 @@ sparc*-*solaris*)
17392 ;;
17393 esac
17394 fi
17395- rm -rf conftest*
17396- ;;
17397+ rm -rf conftest*
17398+ ;;
17399+esac
17400+
17401+need_locks="$enable_libtool_lock"
17402+
17392+if test -n "$ac_tool_prefix"; then 17403+if test -n "$ac_tool_prefix"; then
17393+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 17404+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
17394+set dummy ${ac_tool_prefix}mt; ac_word=$2 17405+set dummy ${ac_tool_prefix}mt; ac_word=$2
@@ -17474,7 +17485,7 @@ Index: binutils-2.21/ld/configure
17474+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 17485+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17475+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 17486+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17476+ac_tool_warned=yes ;; 17487+ac_tool_warned=yes ;;
17477+esac 17488 esac
17478+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 17489+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
17479+ fi 17490+ fi
17480+else 17491+else
@@ -17504,12 +17515,12 @@ Index: binutils-2.21/ld/configure
17504+ 17515+
17505+ 17516+
17506+ 17517+
17507+ 17518
17508+ 17519-need_locks="$enable_libtool_lock"
17520
17509 17521
17510 case $host_os in 17522 case $host_os in
17511 rhapsody* | darwin*) 17523@@ -8591,6 +9088,8 @@ _LT_EOF
17512@@ -8072,6 +8569,8 @@
17513 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 17524 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
17514 echo "$AR cru libconftest.a conftest.o" >&5 17525 echo "$AR cru libconftest.a conftest.o" >&5
17515 $AR cru libconftest.a conftest.o 2>&5 17526 $AR cru libconftest.a conftest.o 2>&5
@@ -17518,7 +17529,7 @@ Index: binutils-2.21/ld/configure
17518 cat > conftest.c << _LT_EOF 17529 cat > conftest.c << _LT_EOF
17519 int main() { return 0;} 17530 int main() { return 0;}
17520 _LT_EOF 17531 _LT_EOF
17521@@ -8267,7 +8766,8 @@ 17532@@ -8787,7 +9286,8 @@ fi
17522 LIBTOOL_DEPS="$ltmain" 17533 LIBTOOL_DEPS="$ltmain"
17523 17534
17524 # Always use our own libtool. 17535 # Always use our own libtool.
@@ -17528,7 +17539,7 @@ Index: binutils-2.21/ld/configure
17528 17539
17529 17540
17530 17541
17531@@ -8356,7 +8856,7 @@ 17542@@ -8876,7 +9376,7 @@ aix3*)
17532 esac 17543 esac
17533 17544
17534 # Global variables: 17545 # Global variables:
@@ -17537,7 +17548,7 @@ Index: binutils-2.21/ld/configure
17537 can_build_shared=yes 17548 can_build_shared=yes
17538 17549
17539 # All known linkers require a `.a' archive for static linking (except MSVC, 17550 # All known linkers require a `.a' archive for static linking (except MSVC,
17540@@ -8654,8 +9154,6 @@ 17551@@ -9174,8 +9674,6 @@ fi
17541 lt_prog_compiler_pic= 17552 lt_prog_compiler_pic=
17542 lt_prog_compiler_static= 17553 lt_prog_compiler_static=
17543 17554
@@ -17546,7 +17557,7 @@ Index: binutils-2.21/ld/configure
17546 17557
17547 if test "$GCC" = yes; then 17558 if test "$GCC" = yes; then
17548 lt_prog_compiler_wl='-Wl,' 17559 lt_prog_compiler_wl='-Wl,'
17549@@ -8820,6 +9318,12 @@ 17560@@ -9340,6 +9838,12 @@ $as_echo_n "checking for $compiler optio
17550 lt_prog_compiler_pic='--shared' 17561 lt_prog_compiler_pic='--shared'
17551 lt_prog_compiler_static='--static' 17562 lt_prog_compiler_static='--static'
17552 ;; 17563 ;;
@@ -17559,7 +17570,7 @@ Index: binutils-2.21/ld/configure
17559 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 17570 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
17560 # Portland Group compilers (*not* the Pentium gcc compiler, 17571 # Portland Group compilers (*not* the Pentium gcc compiler,
17561 # which looks to be a dead project) 17572 # which looks to be a dead project)
17562@@ -8882,7 +9386,7 @@ 17573@@ -9402,7 +9906,7 @@ $as_echo_n "checking for $compiler optio
17563 lt_prog_compiler_pic='-KPIC' 17574 lt_prog_compiler_pic='-KPIC'
17564 lt_prog_compiler_static='-Bstatic' 17575 lt_prog_compiler_static='-Bstatic'
17565 case $cc_basename in 17576 case $cc_basename in
@@ -17568,7 +17579,7 @@ Index: binutils-2.21/ld/configure
17568 lt_prog_compiler_wl='-Qoption ld ';; 17579 lt_prog_compiler_wl='-Qoption ld ';;
17569 *) 17580 *)
17570 lt_prog_compiler_wl='-Wl,';; 17581 lt_prog_compiler_wl='-Wl,';;
17571@@ -8939,13 +9443,17 @@ 17582@@ -9459,13 +9963,17 @@ case $host_os in
17572 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 17583 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17573 ;; 17584 ;;
17574 esac 17585 esac
@@ -17592,7 +17603,7 @@ Index: binutils-2.21/ld/configure
17592 17603
17593 # 17604 #
17594 # Check to make sure the PIC flag actually works. 17605 # Check to make sure the PIC flag actually works.
17595@@ -9006,6 +9514,11 @@ 17606@@ -9526,6 +10034,11 @@ fi
17596 17607
17597 17608
17598 17609
@@ -17604,7 +17615,7 @@ Index: binutils-2.21/ld/configure
17604 # 17615 #
17605 # Check to make sure the static flag actually works. 17616 # Check to make sure the static flag actually works.
17606 # 17617 #
17607@@ -9356,7 +9869,8 @@ 17618@@ -9876,7 +10389,8 @@ _LT_EOF
17608 allow_undefined_flag=unsupported 17619 allow_undefined_flag=unsupported
17609 always_export_symbols=no 17620 always_export_symbols=no
17610 enable_shared_with_static_runtimes=yes 17621 enable_shared_with_static_runtimes=yes
@@ -17614,7 +17625,7 @@ Index: binutils-2.21/ld/configure
17614 17625
17615 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 17626 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17616 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17627 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17617@@ -9404,7 +9918,7 @@ 17628@@ -9924,7 +10438,7 @@ _LT_EOF
17618 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 17629 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
17619 && test "$tmp_diet" = no 17630 && test "$tmp_diet" = no
17620 then 17631 then
@@ -17623,7 +17634,7 @@ Index: binutils-2.21/ld/configure
17623 tmp_sharedflag='-shared' 17634 tmp_sharedflag='-shared'
17624 case $cc_basename,$host_cpu in 17635 case $cc_basename,$host_cpu in
17625 pgcc*) # Portland Group C compiler 17636 pgcc*) # Portland Group C compiler
17626@@ -9455,12 +9969,12 @@ 17637@@ -9975,12 +10489,12 @@ _LT_EOF
17627 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 17638 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
17628 hardcode_libdir_flag_spec= 17639 hardcode_libdir_flag_spec=
17629 hardcode_libdir_flag_spec_ld='-rpath $libdir' 17640 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -17638,7 +17649,7 @@ Index: binutils-2.21/ld/configure
17638 fi 17649 fi
17639 ;; 17650 ;;
17640 esac 17651 esac
17641@@ -9474,8 +9988,8 @@ 17652@@ -9994,8 +10508,8 @@ _LT_EOF
17642 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17653 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17643 wlarc= 17654 wlarc=
17644 else 17655 else
@@ -17649,7 +17660,7 @@ Index: binutils-2.21/ld/configure
17649 fi 17660 fi
17650 ;; 17661 ;;
17651 17662
17652@@ -9493,8 +10007,8 @@ 17663@@ -10013,8 +10527,8 @@ _LT_EOF
17653 17664
17654 _LT_EOF 17665 _LT_EOF
17655 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17666 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17660,7 +17671,7 @@ Index: binutils-2.21/ld/configure
17660 else 17671 else
17661 ld_shlibs=no 17672 ld_shlibs=no
17662 fi 17673 fi
17663@@ -9540,8 +10054,8 @@ 17674@@ -10060,8 +10574,8 @@ _LT_EOF
17664 17675
17665 *) 17676 *)
17666 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17677 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17671,7 +17682,7 @@ Index: binutils-2.21/ld/configure
17671 else 17682 else
17672 ld_shlibs=no 17683 ld_shlibs=no
17673 fi 17684 fi
17674@@ -9671,7 +10185,13 @@ 17685@@ -10191,7 +10705,13 @@ _LT_EOF
17675 allow_undefined_flag='-berok' 17686 allow_undefined_flag='-berok'
17676 # Determine the default libpath from the value encoded in an 17687 # Determine the default libpath from the value encoded in an
17677 # empty executable. 17688 # empty executable.
@@ -17686,7 +17697,7 @@ Index: binutils-2.21/ld/configure
17686 /* end confdefs.h. */ 17697 /* end confdefs.h. */
17687 17698
17688 int 17699 int
17689@@ -9684,22 +10204,29 @@ 17700@@ -10204,22 +10724,29 @@ main ()
17690 _ACEOF 17701 _ACEOF
17691 if ac_fn_c_try_link "$LINENO"; then : 17702 if ac_fn_c_try_link "$LINENO"; then :
17692 17703
@@ -17729,7 +17740,7 @@ Index: binutils-2.21/ld/configure
17729 17740
17730 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17741 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17731 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" 17742 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"
17732@@ -9711,7 +10238,13 @@ 17743@@ -10231,7 +10758,13 @@ if test -z "$aix_libpath"; then aix_libp
17733 else 17744 else
17734 # Determine the default libpath from the value encoded in an 17745 # Determine the default libpath from the value encoded in an
17735 # empty executable. 17746 # empty executable.
@@ -17744,7 +17755,7 @@ Index: binutils-2.21/ld/configure
17744 /* end confdefs.h. */ 17755 /* end confdefs.h. */
17745 17756
17746 int 17757 int
17747@@ -9724,22 +10257,29 @@ 17758@@ -10244,22 +10777,29 @@ main ()
17748 _ACEOF 17759 _ACEOF
17749 if ac_fn_c_try_link "$LINENO"; then : 17760 if ac_fn_c_try_link "$LINENO"; then :
17750 17761
@@ -17787,7 +17798,7 @@ Index: binutils-2.21/ld/configure
17787 17798
17788 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17799 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17789 # Warning - without using the other run time loading flags, 17800 # Warning - without using the other run time loading flags,
17790@@ -9784,20 +10324,63 @@ 17801@@ -10304,20 +10844,63 @@ if test -z "$aix_libpath"; then aix_libp
17791 # Microsoft Visual C++. 17802 # Microsoft Visual C++.
17792 # hardcode_libdir_flag_spec is actually meaningless, as there is 17803 # hardcode_libdir_flag_spec is actually meaningless, as there is
17793 # no search path for DLLs. 17804 # no search path for DLLs.
@@ -17865,7 +17876,7 @@ Index: binutils-2.21/ld/configure
17865 ;; 17876 ;;
17866 17877
17867 darwin* | rhapsody*) 17878 darwin* | rhapsody*)
17868@@ -9862,7 +10445,7 @@ 17879@@ -10382,7 +10965,7 @@ if test -z "$aix_libpath"; then aix_libp
17869 17880
17870 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 17881 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17871 freebsd* | dragonfly*) 17882 freebsd* | dragonfly*)
@@ -17874,7 +17885,7 @@ Index: binutils-2.21/ld/configure
17874 hardcode_libdir_flag_spec='-R$libdir' 17885 hardcode_libdir_flag_spec='-R$libdir'
17875 hardcode_direct=yes 17886 hardcode_direct=yes
17876 hardcode_shlibpath_var=no 17887 hardcode_shlibpath_var=no
17877@@ -9870,7 +10453,7 @@ 17888@@ -10390,7 +10973,7 @@ if test -z "$aix_libpath"; then aix_libp
17878 17889
17879 hpux9*) 17890 hpux9*)
17880 if test "$GCC" = yes; then 17891 if test "$GCC" = yes; then
@@ -17883,7 +17894,7 @@ Index: binutils-2.21/ld/configure
17883 else 17894 else
17884 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' 17895 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'
17885 fi 17896 fi
17886@@ -9886,7 +10469,7 @@ 17897@@ -10406,7 +10989,7 @@ if test -z "$aix_libpath"; then aix_libp
17887 17898
17888 hpux10*) 17899 hpux10*)
17889 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 17900 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -17892,7 +17903,7 @@ Index: binutils-2.21/ld/configure
17892 else 17903 else
17893 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 17904 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17894 fi 17905 fi
17895@@ -9910,10 +10493,10 @@ 17906@@ -10430,10 +11013,10 @@ if test -z "$aix_libpath"; then aix_libp
17896 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 17907 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17897 ;; 17908 ;;
17898 ia64*) 17909 ia64*)
@@ -17905,7 +17916,7 @@ Index: binutils-2.21/ld/configure
17905 ;; 17916 ;;
17906 esac 17917 esac
17907 else 17918 else
17908@@ -9992,23 +10575,36 @@ 17919@@ -10512,23 +11095,36 @@ fi
17909 17920
17910 irix5* | irix6* | nonstopux*) 17921 irix5* | irix6* | nonstopux*)
17911 if test "$GCC" = yes; then 17922 if test "$GCC" = yes; then
@@ -17950,7 +17961,7 @@ Index: binutils-2.21/ld/configure
17950 else 17961 else
17951 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' 17962 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'
17952 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' 17963 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'
17953@@ -10093,7 +10689,7 @@ 17964@@ -10613,7 +11209,7 @@ rm -f core conftest.err conftest.$ac_obj
17954 osf4* | osf5*) # as osf3* with the addition of -msym flag 17965 osf4* | osf5*) # as osf3* with the addition of -msym flag
17955 if test "$GCC" = yes; then 17966 if test "$GCC" = yes; then
17956 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 17967 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -17959,7 +17970,7 @@ Index: binutils-2.21/ld/configure
17959 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 17970 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
17960 else 17971 else
17961 allow_undefined_flag=' -expect_unresolved \*' 17972 allow_undefined_flag=' -expect_unresolved \*'
17962@@ -10112,9 +10708,9 @@ 17973@@ -10632,9 +11228,9 @@ rm -f core conftest.err conftest.$ac_obj
17963 no_undefined_flag=' -z defs' 17974 no_undefined_flag=' -z defs'
17964 if test "$GCC" = yes; then 17975 if test "$GCC" = yes; then
17965 wlarc='${wl}' 17976 wlarc='${wl}'
@@ -17971,7 +17982,7 @@ Index: binutils-2.21/ld/configure
17971 else 17982 else
17972 case `$CC -V 2>&1` in 17983 case `$CC -V 2>&1` in
17973 *"Compilers 5.0"*) 17984 *"Compilers 5.0"*)
17974@@ -10690,8 +11286,9 @@ 17985@@ -11210,8 +11806,9 @@ cygwin* | mingw* | pw32* | cegcc*)
17975 need_version=no 17986 need_version=no
17976 need_lib_prefix=no 17987 need_lib_prefix=no
17977 17988
@@ -17983,7 +17994,7 @@ Index: binutils-2.21/ld/configure
17983 library_names_spec='$libname.dll.a' 17994 library_names_spec='$libname.dll.a'
17984 # DLL is installed to $(libdir)/../bin by postinstall_cmds 17995 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17985 postinstall_cmds='base_file=`basename \${file}`~ 17996 postinstall_cmds='base_file=`basename \${file}`~
17986@@ -10724,13 +11321,71 @@ 17997@@ -11244,13 +11841,71 @@ cygwin* | mingw* | pw32* | cegcc*)
17987 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 17998 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17988 ;; 17999 ;;
17989 esac 18000 esac
@@ -18056,7 +18067,7 @@ Index: binutils-2.21/ld/configure
18056 # FIXME: first we should search . and the directory the executable is in 18067 # FIXME: first we should search . and the directory the executable is in
18057 shlibpath_var=PATH 18068 shlibpath_var=PATH
18058 ;; 18069 ;;
18059@@ -10826,7 +11481,7 @@ 18070@@ -11346,7 +12001,7 @@ haiku*)
18060 soname_spec='${libname}${release}${shared_ext}$major' 18071 soname_spec='${libname}${release}${shared_ext}$major'
18061 shlibpath_var=LIBRARY_PATH 18072 shlibpath_var=LIBRARY_PATH
18062 shlibpath_overrides_runpath=yes 18073 shlibpath_overrides_runpath=yes
@@ -18065,16 +18076,16 @@ Index: binutils-2.21/ld/configure
18065 hardcode_into_libs=yes 18076 hardcode_into_libs=yes
18066 ;; 18077 ;;
18067 18078
18068@@ -11622,7 +12277,7 @@ 18079@@ -12142,7 +12797,7 @@ else
18069 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18080 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18070 lt_status=$lt_dlunknown 18081 lt_status=$lt_dlunknown
18071 cat > conftest.$ac_ext <<_LT_EOF 18082 cat > conftest.$ac_ext <<_LT_EOF
18072-#line 11625 "configure" 18083-#line 12145 "configure"
18073+#line $LINENO "configure" 18084+#line $LINENO "configure"
18074 #include "confdefs.h" 18085 #include "confdefs.h"
18075 18086
18076 #if HAVE_DLFCN_H 18087 #if HAVE_DLFCN_H
18077@@ -11666,10 +12321,10 @@ 18088@@ -12186,10 +12841,10 @@ else
18078 /* When -fvisbility=hidden is used, assume the code has been annotated 18089 /* When -fvisbility=hidden is used, assume the code has been annotated
18079 correspondingly for the symbols needed. */ 18090 correspondingly for the symbols needed. */
18080 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 18091 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -18087,16 +18098,16 @@ Index: binutils-2.21/ld/configure
18087 int main () 18098 int main ()
18088 { 18099 {
18089 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 18100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18090@@ -11728,7 +12383,7 @@ 18101@@ -12248,7 +12903,7 @@ else
18091 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18102 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18092 lt_status=$lt_dlunknown 18103 lt_status=$lt_dlunknown
18093 cat > conftest.$ac_ext <<_LT_EOF 18104 cat > conftest.$ac_ext <<_LT_EOF
18094-#line 11731 "configure" 18105-#line 12251 "configure"
18095+#line $LINENO "configure" 18106+#line $LINENO "configure"
18096 #include "confdefs.h" 18107 #include "confdefs.h"
18097 18108
18098 #if HAVE_DLFCN_H 18109 #if HAVE_DLFCN_H
18099@@ -11772,10 +12427,10 @@ 18110@@ -12292,10 +12947,10 @@ else
18100 /* When -fvisbility=hidden is used, assume the code has been annotated 18111 /* When -fvisbility=hidden is used, assume the code has been annotated
18101 correspondingly for the symbols needed. */ 18112 correspondingly for the symbols needed. */
18102 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 18113 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -18109,7 +18120,7 @@ Index: binutils-2.21/ld/configure
18109 int main () 18120 int main ()
18110 { 18121 {
18111 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 18122 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18112@@ -14063,13 +14718,20 @@ 18123@@ -17606,13 +18261,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
18113 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18124 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18114 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18125 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18115 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18126 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -18130,7 +18141,7 @@ Index: binutils-2.21/ld/configure
18130 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18141 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18131 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18142 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18132 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18143 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18133@@ -14084,14 +14746,17 @@ 18144@@ -17627,14 +18289,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
18134 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18145 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18135 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 18146 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18136 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"`' 18147 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"`'
@@ -18149,7 +18160,7 @@ Index: binutils-2.21/ld/configure
18149 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18160 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18150 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18161 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18151 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18162 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18152@@ -14124,12 +14789,12 @@ 18163@@ -17667,12 +18332,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
18153 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18164 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18154 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18165 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18155 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18166 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -18163,7 +18174,7 @@ Index: binutils-2.21/ld/configure
18163 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18174 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18164 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18175 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18165 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18176 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18166@@ -14184,8 +14849,13 @@ 18177@@ -17782,8 +18447,13 @@ reload_flag \
18167 OBJDUMP \ 18178 OBJDUMP \
18168 deplibs_check_method \ 18179 deplibs_check_method \
18169 file_magic_cmd \ 18180 file_magic_cmd \
@@ -18177,7 +18188,7 @@ Index: binutils-2.21/ld/configure
18177 STRIP \ 18188 STRIP \
18178 RANLIB \ 18189 RANLIB \
18179 CC \ 18190 CC \
18180@@ -14195,12 +14865,14 @@ 18191@@ -17793,12 +18463,14 @@ lt_cv_sys_global_symbol_pipe \
18181 lt_cv_sys_global_symbol_to_cdecl \ 18192 lt_cv_sys_global_symbol_to_cdecl \
18182 lt_cv_sys_global_symbol_to_c_name_address \ 18193 lt_cv_sys_global_symbol_to_c_name_address \
18183 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18194 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -18193,7 +18204,7 @@ Index: binutils-2.21/ld/configure
18193 DSYMUTIL \ 18204 DSYMUTIL \
18194 NMEDIT \ 18205 NMEDIT \
18195 LIPO \ 18206 LIPO \
18196@@ -14216,7 +14888,6 @@ 18207@@ -17814,7 +18486,6 @@ no_undefined_flag \
18197 hardcode_libdir_flag_spec \ 18208 hardcode_libdir_flag_spec \
18198 hardcode_libdir_flag_spec_ld \ 18209 hardcode_libdir_flag_spec_ld \
18199 hardcode_libdir_separator \ 18210 hardcode_libdir_separator \
@@ -18201,7 +18212,7 @@ Index: binutils-2.21/ld/configure
18201 exclude_expsyms \ 18212 exclude_expsyms \
18202 include_expsyms \ 18213 include_expsyms \
18203 file_list_spec \ 18214 file_list_spec \
18204@@ -14252,6 +14923,7 @@ 18215@@ -17883,6 +18554,7 @@ module_cmds \
18205 module_expsym_cmds \ 18216 module_expsym_cmds \
18206 export_symbols_cmds \ 18217 export_symbols_cmds \
18207 prelink_cmds \ 18218 prelink_cmds \
@@ -18209,7 +18220,7 @@ Index: binutils-2.21/ld/configure
18209 postinstall_cmds \ 18220 postinstall_cmds \
18210 postuninstall_cmds \ 18221 postuninstall_cmds \
18211 finish_cmds \ 18222 finish_cmds \
18212@@ -15047,7 +15719,8 @@ 18223@@ -18690,7 +19362,8 @@ $as_echo X"$file" |
18213 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 18224 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18214 # 18225 #
18215 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 18226 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -18219,7 +18230,7 @@ Index: binutils-2.21/ld/configure
18219 # Written by Gordon Matzigkeit, 1996 18230 # Written by Gordon Matzigkeit, 1996
18220 # 18231 #
18221 # This file is part of GNU Libtool. 18232 # This file is part of GNU Libtool.
18222@@ -15150,19 +15823,42 @@ 18233@@ -18793,19 +19466,42 @@ SP2NL=$lt_lt_SP2NL
18223 # turn newlines into spaces. 18234 # turn newlines into spaces.
18224 NL2SP=$lt_lt_NL2SP 18235 NL2SP=$lt_lt_NL2SP
18225 18236
@@ -18263,7 +18274,7 @@ Index: binutils-2.21/ld/configure
18263 # A symbol stripping program. 18274 # A symbol stripping program.
18264 STRIP=$lt_STRIP 18275 STRIP=$lt_STRIP
18265 18276
18266@@ -15192,6 +15888,12 @@ 18277@@ -18835,6 +19531,12 @@ global_symbol_to_c_name_address=$lt_lt_c
18267 # Transform the output of nm in a C name address pair when lib prefix is needed. 18278 # Transform the output of nm in a C name address pair when lib prefix is needed.
18268 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18279 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18269 18280
@@ -18276,7 +18287,7 @@ Index: binutils-2.21/ld/configure
18276 # The name of the directory that contains temporary libtool files. 18287 # The name of the directory that contains temporary libtool files.
18277 objdir=$objdir 18288 objdir=$objdir
18278 18289
18279@@ -15201,6 +15903,9 @@ 18290@@ -18844,6 +19546,9 @@ MAGIC_CMD=$MAGIC_CMD
18280 # Must we lock files when doing compilation? 18291 # Must we lock files when doing compilation?
18281 need_locks=$lt_need_locks 18292 need_locks=$lt_need_locks
18282 18293
@@ -18286,7 +18297,7 @@ Index: binutils-2.21/ld/configure
18286 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18297 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18287 DSYMUTIL=$lt_DSYMUTIL 18298 DSYMUTIL=$lt_DSYMUTIL
18288 18299
18289@@ -15315,12 +16020,12 @@ 18300@@ -18958,12 +19663,12 @@ with_gcc=$GCC
18290 # Compiler flag to turn off builtin functions. 18301 # Compiler flag to turn off builtin functions.
18291 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18302 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18292 18303
@@ -18302,7 +18313,7 @@ Index: binutils-2.21/ld/configure
18302 # Compiler flag to prevent dynamic linking. 18313 # Compiler flag to prevent dynamic linking.
18303 link_static_flag=$lt_lt_prog_compiler_static 18314 link_static_flag=$lt_lt_prog_compiler_static
18304 18315
18305@@ -15407,9 +16112,6 @@ 18316@@ -19050,9 +19755,6 @@ inherit_rpath=$inherit_rpath
18306 # Whether libtool must link a program against all its dependency libraries. 18317 # Whether libtool must link a program against all its dependency libraries.
18307 link_all_deplibs=$link_all_deplibs 18318 link_all_deplibs=$link_all_deplibs
18308 18319
@@ -18312,7 +18323,7 @@ Index: binutils-2.21/ld/configure
18312 # Set to "yes" if exported symbols are required. 18323 # Set to "yes" if exported symbols are required.
18313 always_export_symbols=$always_export_symbols 18324 always_export_symbols=$always_export_symbols
18314 18325
18315@@ -15425,6 +16127,9 @@ 18326@@ -19068,6 +19770,9 @@ include_expsyms=$lt_include_expsyms
18316 # Commands necessary for linking programs (against libraries) with templates. 18327 # Commands necessary for linking programs (against libraries) with templates.
18317 prelink_cmds=$lt_prelink_cmds 18328 prelink_cmds=$lt_prelink_cmds
18318 18329
@@ -18322,7 +18333,7 @@ Index: binutils-2.21/ld/configure
18322 # Specify filename containing input files. 18333 # Specify filename containing input files.
18323 file_list_spec=$lt_file_list_spec 18334 file_list_spec=$lt_file_list_spec
18324 18335
18325@@ -15457,210 +16162,169 @@ 18336@@ -19114,210 +19819,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
18326 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18337 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18327 # text mode, it properly converts lines to CR/LF. This bash problem 18338 # text mode, it properly converts lines to CR/LF. This bash problem
18328 # is reportedly fixed, but why not run on old versions too? 18339 # is reportedly fixed, but why not run on old versions too?
@@ -18693,11 +18704,11 @@ Index: binutils-2.21/ld/configure
18693 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18704 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18694 chmod +x "$ofile" 18705 chmod +x "$ofile"
18695 18706
18696Index: binutils-2.21/bfd/configure.in 18707Index: binutils-2.21.1/bfd/configure.in
18697=================================================================== 18708===================================================================
18698--- binutils-2.21.orig/bfd/configure.in 2011-01-07 11:24:12.586101000 -0800 18709--- binutils-2.21.1.orig/bfd/configure.in
18699+++ binutils-2.21/bfd/configure.in 2011-01-07 11:24:45.206101000 -0800 18710+++ binutils-2.21.1/bfd/configure.in
18700@@ -532,7 +532,7 @@ 18711@@ -536,7 +536,7 @@ changequote(,)dnl
18701 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 18712 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18702 changequote([,])dnl 18713 changequote([,])dnl
18703 if test -n "$x"; then 18714 if test -n "$x"; then
@@ -18706,11 +18717,11 @@ Index: binutils-2.21/bfd/configure.in
18706 fi 18717 fi
18707 18718
18708 # More hacks to build DLLs on Windows. 18719 # More hacks to build DLLs on Windows.
18709Index: binutils-2.21/opcodes/configure.in 18720Index: binutils-2.21.1/opcodes/configure.in
18710=================================================================== 18721===================================================================
18711--- binutils-2.21.orig/opcodes/configure.in 2011-01-07 11:24:12.606100958 -0800 18722--- binutils-2.21.1.orig/opcodes/configure.in
18712+++ binutils-2.21/opcodes/configure.in 2011-01-07 11:25:36.816101002 -0800 18723+++ binutils-2.21.1/opcodes/configure.in
18713@@ -134,7 +134,7 @@ 18724@@ -134,7 +134,7 @@ changequote(,)dnl
18714 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 18725 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18715 changequote([,])dnl 18726 changequote([,])dnl
18716 if test -n "$x"; then 18727 if test -n "$x"; then
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/libtool-rpath-fix.patch b/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch
index 2666d311ff..2666d311ff 100644
--- a/meta/recipes-devtools/binutils/binutils-2.21/libtool-rpath-fix.patch
+++ b/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch
diff --git a/meta/recipes-devtools/binutils/binutils_2.21.bb b/meta/recipes-devtools/binutils/binutils_2.21.1.bb
index 2211931b1d..368ec4a828 100644
--- a/meta/recipes-devtools/binutils/binutils_2.21.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.21.1.bb
@@ -1,6 +1,6 @@
1require binutils.inc 1require binutils.inc
2 2
3PR = "r1" 3PR = "r0"
4 4
5LIC_FILES_CHKSUM="\ 5LIC_FILES_CHKSUM="\
6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ 6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
@@ -29,10 +29,9 @@ SRC_URI = "\
29 file://libiberty_path_fix.patch \ 29 file://libiberty_path_fix.patch \
30 file://binutils-poison.patch \ 30 file://binutils-poison.patch \
31 file://libtool-rpath-fix.patch \ 31 file://libtool-rpath-fix.patch \
32 file://binutils-pr12366.patch \
33 " 32 "
34 33
35SRC_URI[md5sum] = "c84c5acc9d266f1a7044b51c85a823f5" 34SRC_URI[md5sum] = "a22801a9cad45c85e9ff6afc10537d72"
36SRC_URI[sha256sum] = "60abec5bf448eb930a5a15acb8712612377dc8bcfb13dfd5131228f70561d0c7" 35SRC_URI[sha256sum] = "f769b64350a02fbee009e1582cc12b6ed43b41985de65effb741e258e075dd05"
37 36
38BBCLASSEXTEND = "native" 37BBCLASSEXTEND = "native"