summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb)2
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_2.22.bb (renamed from meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb (renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb)2
-rw-r--r--meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch24
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch10
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-poison.patch84
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch52
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch40
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch16
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch9
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch12
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch11
-rw-r--r--meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch10
-rw-r--r--meta/recipes-devtools/binutils/binutils/clone-shadow.patch18
-rw-r--r--meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch8
-rw-r--r--meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch803
-rw-r--r--meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch11
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.22.bb (renamed from meta/recipes-devtools/binutils/binutils_2.21.1a.bb)7
18 files changed, 542 insertions, 577 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb
index a49adedad6..7dad2a620b 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1a.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.22.bb
@@ -1,3 +1,3 @@
1require binutils_${PV}.bb 1require binutils_${PV}.bb
2require binutils-cross-canadian.inc 2require binutils-cross-canadian.inc
3PR = "r2" 3PR = "r0"
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb b/meta/recipes-devtools/binutils/binutils-cross_2.22.bb
index 01d99db419..01d99db419 100644
--- a/meta/recipes-devtools/binutils/binutils-cross_2.21.1a.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.22.bb
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb
index 21289cd4ec..0d6efffa2f 100644
--- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1a.bb
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.22.bb
@@ -4,7 +4,7 @@ inherit crosssdk
4 4
5PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" 5PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
6 6
7PR = "r1" 7PR = "r0"
8 8
9do_configure_prepend () { 9do_configure_prepend () {
10 sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt 10 sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
diff --git a/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch b/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch
deleted file mode 100644
index dc496137d0..0000000000
--- a/meta/recipes-devtools/binutils/binutils/110-arm-eabi-conf.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1Upstream-Status: Pending
2
3--- /tmp/configure.ac 2008-06-22 14:14:59.000000000 +0200
4+++ binutils-2.18.50.0.7/configure.ac 2008-06-22 14:15:30.000000000 +0200
5@@ -561,7 +561,7 @@
6 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
7 libgloss_dir=arm
8 ;;
9- arm*-*-linux-gnueabi)
10+ arm*-*-linux-gnueabi | arm*-*-linux-uclibceabi)
11 noconfigdirs="$noconfigdirs target-qthreads"
12 noconfigdirs="$noconfigdirs target-libobjc"
13 case ${with_newlib} in
14--- /tmp/configure 2008-06-22 14:17:11.000000000 +0200
15+++ binutils-2.18.50.0.7/configure 2008-06-22 14:17:56.000000000 +0200
16@@ -2307,7 +2307,7 @@
17 noconfigdirs="$noconfigdirs target-libffi target-qthreads"
18 libgloss_dir=arm
19 ;;
20- arm*-*-linux-gnueabi)
21+ arm*-*-linux-gnueabi | arm*-*-linux-uclibceabi)
22 noconfigdirs="$noconfigdirs target-qthreads"
23 noconfigdirs="$noconfigdirs target-libobjc"
24 case ${with_newlib} in
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch
index 1a640eac39..5e6be3a653 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-2.19.1-ld-sysroot.patch
@@ -6,13 +6,13 @@ Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
6 6
7Always try to prepend the sysroot prefix to absolute filenames first. 7Always try to prepend the sysroot prefix to absolute filenames first.
8 8
9Index: binutils-2.21/ld/ldfile.c 9Index: binutils-2.22/ld/ldfile.c
10=================================================================== 10===================================================================
11--- binutils-2.21.orig/ld/ldfile.c 11--- binutils-2.22.orig/ld/ldfile.c
12+++ binutils-2.21/ld/ldfile.c 12+++ binutils-2.22/ld/ldfile.c
13@@ -372,18 +372,24 @@ ldfile_open_file_search (const char *arc 13@@ -351,18 +351,24 @@ ldfile_open_file_search (const char *arc
14 directory first. */ 14 directory first. */
15 if (! entry->is_archive) 15 if (! entry->maybe_archive)
16 { 16 {
17- if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename)) 17- if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename))
18+ /* For absolute pathnames, try to always open the file in the 18+ /* For absolute pathnames, try to always open the file in the
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-poison.patch b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch
index 759aa88c59..7f81838f72 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-poison.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-poison.patch
@@ -52,9 +52,10 @@ Code Merged from Sourcery G++ binutils 2.19 - 4.4-277
52Signed-off-by: Mark Hatle <mark.hatle@windriver.com> 52Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
53Signed-off-by: Scott Garman <scott.a.garman@intel.com> 53Signed-off-by: Scott Garman <scott.a.garman@intel.com>
54 54
55diff -urN binutils-2.21.orig//ld/config.in binutils-2.21/ld/config.in 55Index: binutils-2.22/ld/config.in
56--- binutils-2.21.orig//ld/config.in 2010-11-05 03:34:27.000000000 -0700 56===================================================================
57+++ binutils-2.21/ld/config.in 2011-01-19 10:48:15.147301022 -0800 57--- binutils-2.22.orig/ld/config.in
58+++ binutils-2.22/ld/config.in
58@@ -4,6 +4,9 @@ 59@@ -4,6 +4,9 @@
59 language is requested. */ 60 language is requested. */
60 #undef ENABLE_NLS 61 #undef ENABLE_NLS
@@ -65,10 +66,11 @@ diff -urN binutils-2.21.orig//ld/config.in binutils-2.21/ld/config.in
65 /* Additional extension a shared object might have. */ 66 /* Additional extension a shared object might have. */
66 #undef EXTRA_SHLIB_EXTENSION 67 #undef EXTRA_SHLIB_EXTENSION
67 68
68diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure 69Index: binutils-2.22/ld/configure
69--- binutils-2.21.orig//ld/configure 2011-01-19 10:46:46.997571921 -0800 70===================================================================
70+++ binutils-2.21/ld/configure 2011-01-19 11:03:50.577832729 -0800 71--- binutils-2.22.orig/ld/configure
71@@ -768,6 +768,7 @@ 72+++ binutils-2.22/ld/configure
73@@ -776,6 +776,7 @@ with_lib_path
72 enable_targets 74 enable_targets
73 enable_64_bit_bfd 75 enable_64_bit_bfd
74 with_sysroot 76 with_sysroot
@@ -76,7 +78,7 @@ diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure
76 enable_gold 78 enable_gold
77 enable_got 79 enable_got
78 enable_werror 80 enable_werror
79@@ -1418,6 +1419,8 @@ 81@@ -1431,6 +1432,8 @@ Optional Features:
80 (and sometimes confusing) to the casual installer 82 (and sometimes confusing) to the casual installer
81 --enable-targets alternative target configurations 83 --enable-targets alternative target configurations
82 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) 84 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
@@ -85,7 +87,7 @@ diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure
85 --enable-gold[=ARG] build gold [ARG={default,yes,no}] 87 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
86 --enable-got=<type> GOT handling scheme (target, single, negative, 88 --enable-got=<type> GOT handling scheme (target, single, negative,
87 multigot) 89 multigot)
88@@ -4203,7 +4206,18 @@ 90@@ -4342,7 +4345,18 @@ else
89 fi 91 fi
90 92
91 93
@@ -104,10 +106,11 @@ diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure
104 106
105 # Check whether --enable-got was given. 107 # Check whether --enable-got was given.
106 if test "${enable_got+set}" = set; then : 108 if test "${enable_got+set}" = set; then :
107diff -urN binutils-2.21.orig//ld/configure.in binutils-2.21/ld/configure.in 109Index: binutils-2.22/ld/configure.in
108--- binutils-2.21.orig//ld/configure.in 2010-11-23 05:50:32.000000000 -0800 110===================================================================
109+++ binutils-2.21/ld/configure.in 2011-01-19 10:50:57.378398946 -0800 111--- binutils-2.22.orig/ld/configure.in
110@@ -69,6 +69,16 @@ 112+++ binutils-2.22/ld/configure.in
113@@ -70,6 +70,16 @@ AC_SUBST(use_sysroot)
111 AC_SUBST(TARGET_SYSTEM_ROOT) 114 AC_SUBST(TARGET_SYSTEM_ROOT)
112 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) 115 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
113 116
@@ -124,10 +127,11 @@ diff -urN binutils-2.21.orig//ld/configure.in binutils-2.21/ld/configure.in
124 dnl Use --enable-gold to decide if this linker should be the default. 127 dnl Use --enable-gold to decide if this linker should be the default.
125 dnl "install_as_default" is set to false if gold is the default linker. 128 dnl "install_as_default" is set to false if gold is the default linker.
126 dnl "installed_linker" is the installed BFD linker name. 129 dnl "installed_linker" is the installed BFD linker name.
127diff -urN binutils-2.21.orig//ld/ldfile.c binutils-2.21/ld/ldfile.c 130Index: binutils-2.22/ld/ldfile.c
128--- binutils-2.21.orig//ld/ldfile.c 2011-01-19 10:46:47.157553281 -0800 131===================================================================
129+++ binutils-2.21/ld/ldfile.c 2011-01-19 10:58:30.035468447 -0800 132--- binutils-2.22.orig/ld/ldfile.c
130@@ -124,6 +124,23 @@ 133+++ binutils-2.22/ld/ldfile.c
134@@ -125,6 +125,23 @@ ldfile_add_library_path (const char *nam
131 { 135 {
132 new_dirs->name = xstrdup (name); 136 new_dirs->name = xstrdup (name);
133 new_dirs->sysrooted = is_sysrooted_pathname (name, FALSE); 137 new_dirs->sysrooted = is_sysrooted_pathname (name, FALSE);
@@ -151,12 +155,13 @@ diff -urN binutils-2.21.orig//ld/ldfile.c binutils-2.21/ld/ldfile.c
151 } 155 }
152 } 156 }
153 157
154diff -urN binutils-2.21.orig//ld/ld.h binutils-2.21/ld/ld.h 158Index: binutils-2.22/ld/ld.h
155--- binutils-2.21.orig//ld/ld.h 2009-11-26 05:45:25.000000000 -0800 159===================================================================
156+++ binutils-2.21/ld/ld.h 2011-01-19 10:52:54.814716478 -0800 160--- binutils-2.22.orig/ld/ld.h
157@@ -198,6 +198,14 @@ 161+++ binutils-2.22/ld/ld.h
158 input files. */ 162@@ -203,6 +203,14 @@ typedef struct {
159 bfd_boolean accept_unknown_input_arch; 163 /* If TRUE we'll just print the default output on stdout. */
164 bfd_boolean print_output_format;
160 165
161+ /* If TRUE (the default) warn for uses of system directories when 166+ /* If TRUE (the default) warn for uses of system directories when
162+ cross linking. */ 167+ cross linking. */
@@ -169,10 +174,11 @@ diff -urN binutils-2.21.orig//ld/ld.h binutils-2.21/ld/ld.h
169 /* Big or little endian as set on command line. */ 174 /* Big or little endian as set on command line. */
170 enum endian_enum endian; 175 enum endian_enum endian;
171 176
172diff -urN binutils-2.21.orig//ld/ldmain.c binutils-2.21/ld/ldmain.c 177Index: binutils-2.22/ld/ldmain.c
173--- binutils-2.21.orig//ld/ldmain.c 2010-11-05 00:20:07.000000000 -0700 178===================================================================
174+++ binutils-2.21/ld/ldmain.c 2011-01-19 10:59:18.579767697 -0800 179--- binutils-2.22.orig/ld/ldmain.c
175@@ -259,6 +259,8 @@ 180+++ binutils-2.22/ld/ldmain.c
181@@ -259,6 +259,8 @@ main (int argc, char **argv)
176 command_line.warn_search_mismatch = TRUE; 182 command_line.warn_search_mismatch = TRUE;
177 command_line.check_section_addresses = -1; 183 command_line.check_section_addresses = -1;
178 command_line.disable_target_specific_optimizations = -1; 184 command_line.disable_target_specific_optimizations = -1;
@@ -181,10 +187,11 @@ diff -urN binutils-2.21.orig//ld/ldmain.c binutils-2.21/ld/ldmain.c
181 187
182 /* We initialize DEMANGLING based on the environment variable 188 /* We initialize DEMANGLING based on the environment variable
183 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the 189 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
184diff -urN binutils-2.21.orig//ld/ld.texinfo binutils-2.21/ld/ld.texinfo 190Index: binutils-2.22/ld/ld.texinfo
185--- binutils-2.21.orig//ld/ld.texinfo 2010-10-28 04:40:26.000000000 -0700 191===================================================================
186+++ binutils-2.21/ld/ld.texinfo 2011-01-19 10:56:04.452567113 -0800 192--- binutils-2.22.orig/ld/ld.texinfo
187@@ -2133,6 +2133,18 @@ 193+++ binutils-2.22/ld/ld.texinfo
194@@ -2147,6 +2147,18 @@ string identifying the original linked f
188 195
189 Passing @code{none} for @var{style} disables the setting from any 196 Passing @code{none} for @var{style} disables the setting from any
190 @code{--build-id} options earlier on the command line. 197 @code{--build-id} options earlier on the command line.
@@ -203,19 +210,20 @@ diff -urN binutils-2.21.orig//ld/ld.texinfo binutils-2.21/ld/ld.texinfo
203 @end table 210 @end table
204 211
205 @c man end 212 @c man end
206diff -urN binutils-2.21.orig//ld/lexsup.c binutils-2.21/ld/lexsup.c 213Index: binutils-2.22/ld/lexsup.c
207--- binutils-2.21.orig//ld/lexsup.c 2010-10-27 23:45:33.000000000 -0700 214===================================================================
208+++ binutils-2.21/ld/lexsup.c 2011-01-19 11:02:07.799898432 -0800 215--- binutils-2.22.orig/ld/lexsup.c
209@@ -175,6 +175,8 @@ 216+++ binutils-2.22/ld/lexsup.c
210 OPTION_PLUGIN_OPT, 217@@ -176,6 +176,8 @@ enum option_values
211 #endif /* ENABLE_PLUGINS */ 218 #endif /* ENABLE_PLUGINS */
212 OPTION_DEFAULT_SCRIPT, 219 OPTION_DEFAULT_SCRIPT,
220 OPTION_PRINT_OUTPUT_FORMAT,
213+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, 221+ OPTION_NO_POISON_SYSTEM_DIRECTORIES,
214+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES 222+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES
215 }; 223 };
216 224
217 /* The long options. This structure is used for both the option 225 /* The long options. This structure is used for both the option
218@@ -603,6 +605,14 @@ 226@@ -612,6 +614,14 @@ static const struct ld_option ld_options
219 TWO_DASHES }, 227 TWO_DASHES },
220 { {"wrap", required_argument, NULL, OPTION_WRAP}, 228 { {"wrap", required_argument, NULL, OPTION_WRAP},
221 '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES }, 229 '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES },
@@ -230,7 +238,7 @@ diff -urN binutils-2.21.orig//ld/lexsup.c binutils-2.21/ld/lexsup.c
230 }; 238 };
231 239
232 #define OPTION_COUNT ARRAY_SIZE (ld_options) 240 #define OPTION_COUNT ARRAY_SIZE (ld_options)
233@@ -1518,6 +1528,14 @@ 241@@ -1541,6 +1551,14 @@ parse_args (unsigned argc, char **argv)
234 einfo (_("%P%X: --hash-size needs a numeric argument\n")); 242 einfo (_("%P%X: --hash-size needs a numeric argument\n"));
235 } 243 }
236 break; 244 break;
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch b/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch
index 1de164d8b6..cd42a77324 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-powerpc-e5500.patch
@@ -5,11 +5,11 @@ Add support for FSL PowerPC e5500 core.
5Signed-off-by: Edmar Wienskoski <edmar@freescale.com> 5Signed-off-by: Edmar Wienskoski <edmar@freescale.com>
6Signed-off-by: Kumar Gala <galak@kernel.crashing.org> 6Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
7 7
8Index: binutils-2.21.1/bfd/archures.c 8Index: binutils-2.22/bfd/archures.c
9=================================================================== 9===================================================================
10--- binutils-2.21.1.orig/bfd/archures.c 10--- binutils-2.22.orig/bfd/archures.c
11+++ binutils-2.21.1/bfd/archures.c 11+++ binutils-2.22/bfd/archures.c
12@@ -231,6 +231,7 @@ DESCRIPTION 12@@ -239,6 +239,7 @@ DESCRIPTION
13 .#define bfd_mach_ppc_e500 500 13 .#define bfd_mach_ppc_e500 500
14 .#define bfd_mach_ppc_e500mc 5001 14 .#define bfd_mach_ppc_e500mc 5001
15 .#define bfd_mach_ppc_e500mc64 5005 15 .#define bfd_mach_ppc_e500mc64 5005
@@ -17,11 +17,11 @@ Index: binutils-2.21.1/bfd/archures.c
17 .#define bfd_mach_ppc_titan 83 17 .#define bfd_mach_ppc_titan 83
18 . bfd_arch_rs6000, {* IBM RS/6000 *} 18 . bfd_arch_rs6000, {* IBM RS/6000 *}
19 .#define bfd_mach_rs6k 6000 19 .#define bfd_mach_rs6k 6000
20Index: binutils-2.21.1/bfd/bfd-in2.h 20Index: binutils-2.22/bfd/bfd-in2.h
21=================================================================== 21===================================================================
22--- binutils-2.21.1.orig/bfd/bfd-in2.h 22--- binutils-2.22.orig/bfd/bfd-in2.h
23+++ binutils-2.21.1/bfd/bfd-in2.h 23+++ binutils-2.22/bfd/bfd-in2.h
24@@ -1918,6 +1918,7 @@ enum bfd_architecture 24@@ -1946,6 +1946,7 @@ enum bfd_architecture
25 #define bfd_mach_ppc_e500 500 25 #define bfd_mach_ppc_e500 500
26 #define bfd_mach_ppc_e500mc 5001 26 #define bfd_mach_ppc_e500mc 5001
27 #define bfd_mach_ppc_e500mc64 5005 27 #define bfd_mach_ppc_e500mc64 5005
@@ -29,10 +29,10 @@ Index: binutils-2.21.1/bfd/bfd-in2.h
29 #define bfd_mach_ppc_titan 83 29 #define bfd_mach_ppc_titan 83
30 bfd_arch_rs6000, /* IBM RS/6000 */ 30 bfd_arch_rs6000, /* IBM RS/6000 */
31 #define bfd_mach_rs6k 6000 31 #define bfd_mach_rs6k 6000
32Index: binutils-2.21.1/bfd/cpu-powerpc.c 32Index: binutils-2.22/bfd/cpu-powerpc.c
33=================================================================== 33===================================================================
34--- binutils-2.21.1.orig/bfd/cpu-powerpc.c 34--- binutils-2.22.orig/bfd/cpu-powerpc.c
35+++ binutils-2.21.1/bfd/cpu-powerpc.c 35+++ binutils-2.22/bfd/cpu-powerpc.c
36@@ -352,6 +352,20 @@ const bfd_arch_info_type bfd_powerpc_arc 36@@ -352,6 +352,20 @@ const bfd_arch_info_type bfd_powerpc_arc
37 FALSE, /* not the default */ 37 FALSE, /* not the default */
38 powerpc_compatible, 38 powerpc_compatible,
@@ -54,11 +54,11 @@ Index: binutils-2.21.1/bfd/cpu-powerpc.c
54 0 54 0
55 } 55 }
56 }; 56 };
57Index: binutils-2.21.1/gas/config/tc-ppc.c 57Index: binutils-2.22/gas/config/tc-ppc.c
58=================================================================== 58===================================================================
59--- binutils-2.21.1.orig/gas/config/tc-ppc.c 59--- binutils-2.22.orig/gas/config/tc-ppc.c
60+++ binutils-2.21.1/gas/config/tc-ppc.c 60+++ binutils-2.22/gas/config/tc-ppc.c
61@@ -1236,6 +1236,7 @@ PowerPC options:\n\ 61@@ -1265,6 +1265,7 @@ PowerPC options:\n\
62 -me500, -me500x2 generate code for Motorola e500 core complex\n\ 62 -me500, -me500x2 generate code for Motorola e500 core complex\n\
63 -me500mc, generate code for Freescale e500mc core complex\n\ 63 -me500mc, generate code for Freescale e500mc core complex\n\
64 -me500mc64, generate code for Freescale e500mc64 core complex\n\ 64 -me500mc64, generate code for Freescale e500mc64 core complex\n\
@@ -66,11 +66,11 @@ Index: binutils-2.21.1/gas/config/tc-ppc.c
66 -mspe generate code for Motorola SPE instructions\n\ 66 -mspe generate code for Motorola SPE instructions\n\
67 -mtitan generate code for AppliedMicro Titan core complex\n\ 67 -mtitan generate code for AppliedMicro Titan core complex\n\
68 -mregnames Allow symbolic names for registers\n\ 68 -mregnames Allow symbolic names for registers\n\
69Index: binutils-2.21.1/gas/doc/as.texinfo 69Index: binutils-2.22/gas/doc/as.texinfo
70=================================================================== 70===================================================================
71--- binutils-2.21.1.orig/gas/doc/as.texinfo 71--- binutils-2.22.orig/gas/doc/as.texinfo
72+++ binutils-2.21.1/gas/doc/as.texinfo 72+++ binutils-2.22/gas/doc/as.texinfo
73@@ -432,7 +432,7 @@ gcc(1), ld(1), and the Info entries for 73@@ -434,7 +434,7 @@ gcc(1), ld(1), and the Info entries for
74 [@b{-a32}|@b{-a64}] 74 [@b{-a32}|@b{-a64}]
75 [@b{-mpwrx}|@b{-mpwr2}|@b{-mpwr}|@b{-m601}|@b{-mppc}|@b{-mppc32}|@b{-m603}|@b{-m604}|@b{-m403}|@b{-m405}| 75 [@b{-mpwrx}|@b{-mpwr2}|@b{-mpwr}|@b{-m601}|@b{-mppc}|@b{-mppc32}|@b{-m603}|@b{-m604}|@b{-m403}|@b{-m405}|
76 @b{-m440}|@b{-m464}|@b{-m476}|@b{-m7400}|@b{-m7410}|@b{-m7450}|@b{-m7455}|@b{-m750cl}|@b{-mppc64}| 76 @b{-m440}|@b{-m464}|@b{-m476}|@b{-m7400}|@b{-m7410}|@b{-m7450}|@b{-m7455}|@b{-m750cl}|@b{-mppc64}|
@@ -79,11 +79,11 @@ Index: binutils-2.21.1/gas/doc/as.texinfo
79 @b{-mpower4}|@b{-mpr4}|@b{-mpower5}|@b{-mpwr5}|@b{-mpwr5x}|@b{-mpower6}|@b{-mpwr6}| 79 @b{-mpower4}|@b{-mpr4}|@b{-mpower5}|@b{-mpwr5}|@b{-mpwr5x}|@b{-mpower6}|@b{-mpwr6}|
80 @b{-mpower7}|@b{-mpw7}|@b{-ma2}|@b{-mcell}|@b{-mspe}|@b{-mtitan}|@b{-me300}|@b{-mcom}] 80 @b{-mpower7}|@b{-mpw7}|@b{-ma2}|@b{-mcell}|@b{-mspe}|@b{-mtitan}|@b{-me300}|@b{-mcom}]
81 [@b{-many}] [@b{-maltivec}|@b{-mvsx}] 81 [@b{-many}] [@b{-maltivec}|@b{-mvsx}]
82Index: binutils-2.21.1/gas/doc/c-ppc.texi 82Index: binutils-2.22/gas/doc/c-ppc.texi
83=================================================================== 83===================================================================
84--- binutils-2.21.1.orig/gas/doc/c-ppc.texi 84--- binutils-2.22.orig/gas/doc/c-ppc.texi
85+++ binutils-2.21.1/gas/doc/c-ppc.texi 85+++ binutils-2.22/gas/doc/c-ppc.texi
86@@ -85,6 +85,9 @@ Generate code for Freescale e500mc core 86@@ -88,6 +88,9 @@ Generate code for Freescale e500mc core
87 @item -me500mc64 87 @item -me500mc64
88 Generate code for Freescale e500mc64 core complex. 88 Generate code for Freescale e500mc64 core complex.
89 89
@@ -93,10 +93,10 @@ Index: binutils-2.21.1/gas/doc/c-ppc.texi
93 @item -mspe 93 @item -mspe
94 Generate code for Motorola SPE instructions. 94 Generate code for Motorola SPE instructions.
95 95
96Index: binutils-2.21.1/opcodes/ppc-dis.c 96Index: binutils-2.22/opcodes/ppc-dis.c
97=================================================================== 97===================================================================
98--- binutils-2.21.1.orig/opcodes/ppc-dis.c 98--- binutils-2.22.orig/opcodes/ppc-dis.c
99+++ binutils-2.21.1/opcodes/ppc-dis.c 99+++ binutils-2.22/opcodes/ppc-dis.c
100@@ -114,6 +114,12 @@ struct ppc_mopt ppc_opts[] = { 100@@ -114,6 +114,12 @@ struct ppc_mopt ppc_opts[] = {
101 | PPC_OPCODE_E500MC | PPC_OPCODE_64 | PPC_OPCODE_POWER5 101 | PPC_OPCODE_E500MC | PPC_OPCODE_64 | PPC_OPCODE_POWER5
102 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7), 102 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7),
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch
index 3f627c691e..b5a25c2389 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-100-uclibc-conf.patch
@@ -1,28 +1,32 @@
1Upstream-Status: Pending 1Upstream-Status: Pending
2 2
3--- binutils-2.18.orig/configure 3Index: binutils-2.22/configure
4+++ binutils-2.18/configure 4===================================================================
5@@ -2206,7 +2206,7 @@ 5--- binutils-2.22.orig/configure
6 am33_2.0-*-linux*) 6+++ binutils-2.22/configure
7 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss" 7@@ -3130,7 +3130,7 @@ case "${target}" in
8 ;; 8 ;;
9- sh-*-linux*) 9 s390-*-* | s390x-*-*)
10+ sh*-*-linux*)
11 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
12 ;; 10 ;;
13 sh*-*-pe|mips*-*-pe|*arm-wince-pe) 11- sh-*-* | sh[34]*-*-*)
14@@ -2504,7 +2504,7 @@ 12+ sh*-*-* | sh[34]*-*-*)
15 romp-*-*) 13 ;;
16 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}" 14 sh64-*-* | sh5*-*-*)
15 ;;
16@@ -3570,7 +3570,7 @@ case "${target}" in
17 mips*-*-*)
18 noconfigdirs="$noconfigdirs gprof"
17 ;; 19 ;;
18- sh-*-* | sh64-*-*) 20- sh-*-* | sh64-*-*)
19+ sh*-*-* | sh64-*-*) 21+ sh*-*-* | sh64-*-*)
20 case "${host}" in 22 case "${target}" in
21 i[3456789]86-*-vsta) ;; # don't add gprof back in 23 sh*-*-elf)
22 i[3456789]86-*-go32*) ;; # don't add gprof back in 24 ;;
23--- binutils-2.18.orig/gprof/configure 25Index: binutils-2.22/gprof/configure
24+++ binutils-2.18/gprof/configure 26===================================================================
25@@ -4124,6 +4124,11 @@ 27--- binutils-2.22.orig/gprof/configure
28+++ binutils-2.22/gprof/configure
29@@ -6103,6 +6103,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
26 lt_cv_deplibs_check_method=pass_all 30 lt_cv_deplibs_check_method=pass_all
27 ;; 31 ;;
28 32
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch
index 07312d70bf..c6e1efcea0 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-001_ld_makefile_patch.patch
@@ -27,9 +27,11 @@ exit 0
27Upstream-Status: Inappropriate [debian patch] 27Upstream-Status: Inappropriate [debian patch]
28 28
29@DPATCH@ 29@DPATCH@
30--- binutils-2.16.91.0.1/ld/Makefile.am 30Index: binutils-2.22/ld/Makefile.am
31+++ binutils-2.16.91.0.1/ld/Makefile.am 31===================================================================
32@@ -20,7 +20,7 @@ 32--- binutils-2.22.orig/ld/Makefile.am
33+++ binutils-2.22/ld/Makefile.am
34@@ -37,7 +37,7 @@ endif
33 # We put the scripts in the directory $(scriptdir)/ldscripts. 35 # We put the scripts in the directory $(scriptdir)/ldscripts.
34 # We can't put the scripts in $(datadir) because the SEARCH_DIR 36 # We can't put the scripts in $(datadir) because the SEARCH_DIR
35 # directives need to be different for native and cross linkers. 37 # directives need to be different for native and cross linkers.
@@ -38,9 +40,11 @@ Upstream-Status: Inappropriate [debian patch]
38 40
39 EMUL = @EMUL@ 41 EMUL = @EMUL@
40 EMULATION_OFILES = @EMULATION_OFILES@ 42 EMULATION_OFILES = @EMULATION_OFILES@
41--- binutils-2.16.91.0.1/ld/Makefile.in 43Index: binutils-2.22/ld/Makefile.in
42+++ binutils-2.16.91.0.1/ld/Makefile.in 44===================================================================
43@@ -268,7 +268,7 @@ 45--- binutils-2.22.orig/ld/Makefile.in
46+++ binutils-2.22/ld/Makefile.in
47@@ -366,7 +366,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
44 # We put the scripts in the directory $(scriptdir)/ldscripts. 48 # We put the scripts in the directory $(scriptdir)/ldscripts.
45 # We can't put the scripts in $(datadir) because the SEARCH_DIR 49 # We can't put the scripts in $(datadir) because the SEARCH_DIR
46 # directives need to be different for native and cross linkers. 50 # directives need to be different for native and cross linkers.
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch
index 35835b3986..47bd8ff109 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-006_better_file_error.patch
@@ -25,10 +25,11 @@ exit 0
25Upstream-Status: Inappropriate [debian patch] 25Upstream-Status: Inappropriate [debian patch]
26 26
27@DPATCH@ 27@DPATCH@
28diff -urNad /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c binutils-2.14.90.0.6/bfd/opncls.c 28Index: binutils-2.22/bfd/opncls.c
29--- /home/james/debian/packages/binutils/binutils-2.14.90.0.6/bfd/opncls.c 2003-07-23 16:08:09.000000000 +0100 29===================================================================
30+++ binutils-2.14.90.0.6/bfd/opncls.c 2003-09-10 22:35:00.000000000 +0100 30--- binutils-2.22.orig/bfd/opncls.c
31@@ -150,6 +150,13 @@ 31+++ binutils-2.22/bfd/opncls.c
32@@ -197,6 +197,13 @@ bfd_fopen (const char *filename, const c
32 { 33 {
33 bfd *nbfd; 34 bfd *nbfd;
34 const bfd_target *target_vec; 35 const bfd_target *target_vec;
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
index 3944f2e0b8..d31f80cd3d 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-300-012_check_ldrunpath_length.patch
@@ -25,11 +25,11 @@ exit 0
25Upstream-Status: Inappropriate [debian patch] 25Upstream-Status: Inappropriate [debian patch]
26 26
27@DPATCH@ 27@DPATCH@
28Index: src/ld/emultempl/elf32.em 28Index: binutils-2.22/ld/emultempl/elf32.em
29=================================================================== 29===================================================================
30--- src.orig/ld/emultempl/elf32.em 2009-09-23 06:54:28.000000000 -0700 30--- binutils-2.22.orig/ld/emultempl/elf32.em
31+++ src/ld/emultempl/elf32.em 2009-10-06 10:58:16.883414592 -0700 31+++ binutils-2.22/ld/emultempl/elf32.em
32@@ -1237,6 +1237,8 @@ fragment <<EOF 32@@ -1273,6 +1273,8 @@ fragment <<EOF
33 && command_line.rpath == NULL) 33 && command_line.rpath == NULL)
34 { 34 {
35 lib_path = (const char *) getenv ("LD_RUN_PATH"); 35 lib_path = (const char *) getenv ("LD_RUN_PATH");
@@ -38,7 +38,7 @@ Index: src/ld/emultempl/elf32.em
38 if (gld${EMULATION_NAME}_search_needed (lib_path, &n, 38 if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
39 force)) 39 force))
40 break; 40 break;
41@@ -1463,6 +1465,8 @@ gld${EMULATION_NAME}_before_allocation ( 41@@ -1500,6 +1502,8 @@ gld${EMULATION_NAME}_before_allocation (
42 rpath = command_line.rpath; 42 rpath = command_line.rpath;
43 if (rpath == NULL) 43 if (rpath == NULL)
44 rpath = (const char *) getenv ("LD_RUN_PATH"); 44 rpath = (const char *) getenv ("LD_RUN_PATH");
@@ -46,4 +46,4 @@ Index: src/ld/emultempl/elf32.em
46+ rpath = NULL; 46+ rpath = NULL;
47 47
48 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next) 48 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
49 { 49 if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch
index 58315798d6..3869faff0e 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-uclibc-gas-needs-libm.patch
@@ -19,11 +19,11 @@ floatformat.c:(.text+0x43e): undefined reference to `ldexp'
19collect2: ld returned 1 exit status 19collect2: ld returned 1 exit status
20make[4]: *** [as-new] Error 1 20make[4]: *** [as-new] Error 1
21 21
22Index: binutils-2.17.50/gas/configure.tgt 22Index: binutils-2.22/gas/configure.tgt
23=================================================================== 23===================================================================
24--- binutils-2.17.50.orig/gas/configure.tgt 24--- binutils-2.22.orig/gas/configure.tgt
25+++ binutils-2.17.50/gas/configure.tgt 25+++ binutils-2.22/gas/configure.tgt
26@@ -408,6 +408,12 @@ case ${generic_target} in 26@@ -428,6 +428,12 @@ case ${generic_target} in
27 *-*-netware) fmt=elf em=netware ;; 27 *-*-netware) fmt=elf em=netware ;;
28 esac 28 esac
29 29
@@ -34,6 +34,5 @@ Index: binutils-2.17.50/gas/configure.tgt
34+esac 34+esac
35+ 35+
36 case ${cpu_type} in 36 case ${cpu_type} in
37 alpha | arm | i386 | ia64 | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k) 37 alpha | arm | i386 | ia64 | microblaze | mips | ns32k | pdp11 | ppc | sparc | z80 | z8k)
38 bfd_gas=yes 38 bfd_gas=yes
39
diff --git a/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch
index 16c775c550..c09578a787 100644
--- a/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch
+++ b/meta/recipes-devtools/binutils/binutils/binutils-x86_64_i386_biarch.patch
@@ -9,11 +9,13 @@
9# Adapted to binutils 2.18.50.0.7 9# Adapted to binutils 2.18.50.0.7
10Upstream-Status: Inappropriate [embedded specific] 10Upstream-Status: Inappropriate [embedded specific]
11 11
12--- binutils/ld/emulparams/elf_i386.sh 12Index: binutils-2.22/ld/emulparams/elf_i386.sh
13+++ binutils/ld/emulparams/elf_i386.sh 13===================================================================
14@@ -12,3 +12,13 @@ 14--- binutils-2.22.orig/ld/emulparams/elf_i386.sh
15+++ binutils-2.22/ld/emulparams/elf_i386.sh
16@@ -14,3 +14,13 @@ GENERATE_PIE_SCRIPT=yes
17 NO_SMALL_DATA=yes
15 SEPARATE_GOTPLT=12 18 SEPARATE_GOTPLT=12
16 SHARABLE_SECTIONS=yes
17 IREL_IN_PLT= 19 IREL_IN_PLT=
18+ 20+
19+# Linux modify the default library search path to first include 21+# Linux modify the default library search path to first include
diff --git a/meta/recipes-devtools/binutils/binutils/clone-shadow.patch b/meta/recipes-devtools/binutils/binutils/clone-shadow.patch
index 2939011c11..73d9db29a5 100644
--- a/meta/recipes-devtools/binutils/binutils/clone-shadow.patch
+++ b/meta/recipes-devtools/binutils/binutils/clone-shadow.patch
@@ -11,11 +11,11 @@ binutils.
11Upstream-Status: Pending 11Upstream-Status: Pending
12 12
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Index: binutils-2.21.1/gas/config/obj-elf.c 14Index: binutils-2.22/gas/config/obj-elf.c
15=================================================================== 15===================================================================
16--- binutils-2.21.1.orig/gas/config/obj-elf.c 2011-03-23 07:14:03.000000000 -0700 16--- binutils-2.22.orig/gas/config/obj-elf.c
17+++ binutils-2.21.1/gas/config/obj-elf.c 2011-07-16 19:05:57.003831035 -0700 17+++ binutils-2.22/gas/config/obj-elf.c
18@@ -741,10 +741,10 @@ 18@@ -741,10 +741,10 @@ obj_elf_change_section (const char *name
19 } 19 }
20 20
21 static bfd_vma 21 static bfd_vma
@@ -28,7 +28,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
28 28
29 while (len > 0) 29 while (len > 0)
30 { 30 {
31@@ -775,7 +775,7 @@ 31@@ -775,7 +775,7 @@ obj_elf_parse_section_letters (char *str
32 attr |= SHF_TLS; 32 attr |= SHF_TLS;
33 break; 33 break;
34 case '?': 34 case '?':
@@ -37,7 +37,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
37 break; 37 break;
38 /* Compatibility. */ 38 /* Compatibility. */
39 case 'm': 39 case 'm':
40@@ -978,7 +978,7 @@ 40@@ -978,7 +978,7 @@ obj_elf_section (int push)
41 41
42 if (*input_line_pointer == '"') 42 if (*input_line_pointer == '"')
43 { 43 {
@@ -46,7 +46,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
46 46
47 beg = demand_copy_C_string (&dummy); 47 beg = demand_copy_C_string (&dummy);
48 if (beg == NULL) 48 if (beg == NULL)
49@@ -986,7 +986,7 @@ 49@@ -986,7 +986,7 @@ obj_elf_section (int push)
50 ignore_rest_of_line (); 50 ignore_rest_of_line ();
51 return; 51 return;
52 } 52 }
@@ -55,7 +55,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
55 55
56 SKIP_WHITESPACE (); 56 SKIP_WHITESPACE ();
57 if (*input_line_pointer == ',') 57 if (*input_line_pointer == ',')
58@@ -1038,10 +1038,10 @@ 58@@ -1038,10 +1038,10 @@ obj_elf_section (int push)
59 attr &= ~SHF_MERGE; 59 attr &= ~SHF_MERGE;
60 } 60 }
61 61
@@ -68,7 +68,7 @@ Index: binutils-2.21.1/gas/config/obj-elf.c
68 } 68 }
69 if ((attr & SHF_GROUP) != 0 && *input_line_pointer == ',') 69 if ((attr & SHF_GROUP) != 0 && *input_line_pointer == ',')
70 { 70 {
71@@ -1063,7 +1063,7 @@ 71@@ -1063,7 +1063,7 @@ obj_elf_section (int push)
72 attr &= ~SHF_GROUP; 72 attr &= ~SHF_GROUP;
73 } 73 }
74 74
diff --git a/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
index 3772dfbed7..6e732fbd0a 100644
--- a/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
+++ b/meta/recipes-devtools/binutils/binutils/libiberty_path_fix.patch
@@ -6,11 +6,11 @@ Thanks to RP for helping find the source code causing the issue.
6 6
72010/08/13 72010/08/13
8Nitin A Kamble <nitin.a.kamble@intel.com> 8Nitin A Kamble <nitin.a.kamble@intel.com>
9Index: binutils-2.20.1/libiberty/Makefile.in 9Index: binutils-2.22/libiberty/Makefile.in
10=================================================================== 10===================================================================
11--- binutils-2.20.1.orig/libiberty/Makefile.in 11--- binutils-2.22.orig/libiberty/Makefile.in
12+++ binutils-2.20.1/libiberty/Makefile.in 12+++ binutils-2.22/libiberty/Makefile.in
13@@ -327,7 +327,8 @@ install: install_to_$(INSTALL_DEST) inst 13@@ -350,7 +350,8 @@ install-strip: install
14 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the 14 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
15 # default multilib, so we have to take CFLAGS into account as well, 15 # default multilib, so we have to take CFLAGS into account as well,
16 # since it will be passed the multilib flags. 16 # since it will be passed the multilib flags.
diff --git a/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch
index fc1735e0d9..0f27361e4b 100644
--- a/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch
+++ b/meta/recipes-devtools/binutils/binutils/libtool-2.4-update.patch
@@ -1,9 +1,9 @@
1Upstream-Status: Inappropriate [embedded specific] 1Upstream-Status: Inappropriate [embedded specific]
2 2
3Index: binutils-2.21.1/libtool.m4 3Index: binutils-2.22/libtool.m4
4=================================================================== 4===================================================================
5--- binutils-2.21.1.orig/libtool.m4 5--- binutils-2.22.orig/libtool.m4
6+++ binutils-2.21.1/libtool.m4 6+++ binutils-2.22/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 #
@@ -371,7 +371,7 @@ Index: binutils-2.21.1/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 @@ haiku*) 374@@ -2329,7 +2470,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.1/libtool.m4
380 hardcode_into_libs=yes 380 hardcode_into_libs=yes
381 ;; 381 ;;
382 382
383@@ -2941,6 +3082,11 @@ case $reload_flag in 383@@ -2937,6 +3078,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.1/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 @@ mingw* | pw32*) 395@@ -3003,7 +3149,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.1/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 @@ tpf*) 405@@ -3154,6 +3301,21 @@ tpf*)
406 ;; 406 ;;
407 esac 407 esac
408 ]) 408 ])
@@ -424,7 +424,7 @@ Index: binutils-2.21.1/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 @@ test -z "$deplibs_check_method" && depli 427@@ -3161,7 +3323,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.1/libtool.m4
437 ])# _LT_CHECK_MAGIC_METHOD 437 ])# _LT_CHECK_MAGIC_METHOD
438 438
439 439
440@@ -3268,6 +3434,67 @@ dnl aclocal-1.4 backwards compatibility: 440@@ -3264,6 +3430,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.1/libtool.m4
505 505
506 # LT_LIB_M 506 # LT_LIB_M
507 # -------- 507 # --------
508@@ -3394,8 +3621,8 @@ esac 508@@ -3390,8 +3617,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.1/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 @@ for ac_symprfx in "" "_"; do 519@@ -3427,6 +3654,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.1/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 @@ _LT_EOF 527@@ -3460,6 +3688,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.1/libtool.m4
543 #ifdef __cplusplus 543 #ifdef __cplusplus
544 extern "C" { 544 extern "C" {
545 #endif 545 #endif
546@@ -3475,7 +3715,7 @@ _LT_EOF 546@@ -3471,7 +3711,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.1/libtool.m4
552 const char *name; 552 const char *name;
553 void *address; 553 void *address;
554 } 554 }
555@@ -3501,15 +3741,15 @@ static const void *lt_preloaded_setup() 555@@ -3497,15 +3737,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.1/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 @@ else 575@@ -3538,6 +3778,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.1/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 @@ _LT_DECL([global_symbol_to_c_name_addres 589@@ -3548,6 +3795,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.1/libtool.m4
595 ]) # _LT_CMD_GLOBAL_SYMBOLS 595 ]) # _LT_CMD_GLOBAL_SYMBOLS
596 596
597 597
598@@ -3563,7 +3812,6 @@ _LT_TAGVAR(lt_prog_compiler_wl, $1)= 598@@ -3559,7 +3808,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.1/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 @@ m4_if([$1], [CXX], [ 606@@ -3664,6 +3912,12 @@ m4_if([$1], [CXX], [
607 ;; 607 ;;
608 esac 608 esac
609 ;; 609 ;;
@@ -616,7 +616,7 @@ Index: binutils-2.21.1/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 @@ m4_if([$1], [CXX], [ 619@@ -3816,7 +4070,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.1/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 @@ m4_if([$1], [CXX], [ 628@@ -4038,6 +4292,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.1/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 @@ m4_if([$1], [CXX], [ 641@@ -4100,7 +4360,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.1/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 @@ case $host_os in 650@@ -4157,9 +4417,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.1/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 @@ fi 665@@ -4178,6 +4440,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.1/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 @@ _LT_TAGDECL([link_static_flag], [lt_prog 674@@ -4198,6 +4462,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.1/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 @@ m4_require([_LT_TAG_COMPILER])dnl 682@@ -4206,6 +4471,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.1/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 @@ m4_if([$1], [CXX], [ 690@@ -4220,15 +4486,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.1/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 @@ _LT_EOF 716@@ -4396,7 +4667,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.1/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 @@ _LT_EOF 726@@ -4444,7 +4716,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.1/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 @@ _LT_EOF 735@@ -4495,12 +4767,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.1/libtool.m4
747 fi 747 fi
748 ;; 748 ;;
749 esac 749 esac
750@@ -4518,8 +4790,8 @@ _LT_EOF 750@@ -4514,8 +4786,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.1/libtool.m4
758 fi 758 fi
759 ;; 759 ;;
760 760
761@@ -4537,8 +4809,8 @@ _LT_EOF 761@@ -4533,8 +4805,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.1/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 @@ _LT_EOF 772@@ -4580,8 +4852,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.1/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 @@ _LT_EOF 783@@ -4711,7 +4983,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.1/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 @@ _LT_EOF 792@@ -4722,7 +4994,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.1/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 @@ _LT_EOF 801@@ -4766,20 +5038,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.1/libtool.m4
876 ;; 876 ;;
877 877
878 darwin* | rhapsody*) 878 darwin* | rhapsody*)
879@@ -4821,7 +5136,7 @@ _LT_EOF 879@@ -4813,7 +5128,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.1/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 @@ _LT_EOF 888@@ -4821,7 +5136,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.1/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 @@ _LT_EOF 897@@ -4837,7 +5152,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.1/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 @@ _LT_EOF 906@@ -4861,10 +5176,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.1/libtool.m4
916 ;; 916 ;;
917 esac 917 esac
918 else 918 else
919@@ -4919,16 +5234,31 @@ _LT_EOF 919@@ -4911,16 +5226,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.1/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 @@ _LT_EOF 958@@ -5005,7 +5335,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.1/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 @@ _LT_EOF 967@@ -5024,9 +5354,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.1/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 @@ _LT_TAGDECL([], [inherit_rpath], [0], 979@@ -5298,8 +5628,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.1/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 @@ _LT_TAGDECL([], [include_expsyms], [1], 988@@ -5310,6 +5638,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.1/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 @@ CC="$lt_save_CC" 997@@ -5411,6 +5741,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1005@@ -5472,6 +5803,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1013@@ -5489,6 +5821,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1021@@ -5510,8 +5843,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1032@@ -5652,7 +5985,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1041@@ -5664,7 +5997,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1050@@ -5706,29 +6039,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1149@@ -5803,7 +6182,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1158@@ -5874,10 +6253,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.1/libtool.m4
1168 ;; 1168 ;;
1169 esac 1169 esac
1170 fi 1170 fi
1171@@ -5926,9 +6305,9 @@ if test "$_lt_caught_CXX_error" != yes; 1171@@ -5918,9 +6297,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1183@@ -5990,20 +6369,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1208@@ -6198,7 +6577,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.1/libtool.m4
1214 ;; 1214 ;;
1215 esac 1215 esac
1216 1216
1217@@ -6252,7 +6631,7 @@ if test "$_lt_caught_CXX_error" != yes; 1217@@ -6244,7 +6623,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1226@@ -6285,9 +6664,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.1/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 @@ if test "$_lt_caught_CXX_error" != yes; 1238@@ -6416,6 +6795,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.1/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 @@ AC_LANG_POP 1246@@ -6430,6 +6810,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.1/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 @@ AC_LANG_POP 1276@@ -6438,6 +6841,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.1/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 @@ public class foo { 1284@@ -6488,6 +6892,13 @@ public class foo {
1285 }; 1285 };
1286 _LT_EOF 1286 _LT_EOF
1287 ]) 1287 ])
@@ -1295,7 +1295,7 @@ Index: binutils-2.21.1/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 @@ if AC_TRY_EVAL(ac_compile); then 1298@@ -6499,7 +6910,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.1/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 @@ if AC_TRY_EVAL(ac_compile); then 1307@@ -6508,13 +6919,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.1/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 @@ if AC_TRY_EVAL(ac_compile); then 1334@@ -6534,8 +6954,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.1/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 @@ else 1345@@ -6571,6 +6993,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.1/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 @@ linux*) 1353@@ -6607,7 +7030,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.1/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 @@ if test "$_lt_disable_F77" != yes; then 1362@@ -6720,7 +7143,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.1/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 @@ if test "$_lt_disable_F77" != yes; then 1372@@ -6774,6 +7199,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.1/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 @@ if test "$_lt_disable_FC" != yes; then 1380@@ -6850,7 +7276,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.1/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 @@ if test "$_lt_disable_FC" != yes; then 1390@@ -6906,7 +7334,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.1/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 @@ _LT_COMPILER_BOILERPLATE 1400@@ -6943,10 +7372,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.1/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 @@ fi 1414@@ -6977,7 +7408,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.1/libtool.m4
1421 ])# _LT_LANG_GCJ_CONFIG 1421 ])# _LT_LANG_GCJ_CONFIG
1422 1422
1423 1423
1424@@ -7020,9 +7452,11 @@ _LT_LINKER_BOILERPLATE 1424@@ -7012,9 +7444,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.1/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 @@ fi 1436@@ -7027,7 +7461,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.1/libtool.m4
1443 ])# _LT_LANG_RC_CONFIG 1443 ])# _LT_LANG_RC_CONFIG
1444 1444
1445 1445
1446@@ -7094,6 +7529,15 @@ _LT_DECL([], [OBJDUMP], [1], [An object 1446@@ -7086,6 +7521,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.1/libtool.m4
1459 1459
1460 # _LT_DECL_SED 1460 # _LT_DECL_SED
1461 # ------------ 1461 # ------------
1462@@ -7187,8 +7631,8 @@ m4_defun([_LT_CHECK_SHELL_FEATURES], 1462@@ -7179,8 +7623,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.1/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 @@ _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn 1473@@ -7219,206 +7663,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.1/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.1/ltmain.sh 1826Index: binutils-2.22/ltmain.sh
1827=================================================================== 1827===================================================================
1828--- binutils-2.21.1.orig/ltmain.sh 1828--- binutils-2.22.orig/ltmain.sh
1829+++ binutils-2.21.1/ltmain.sh 1829+++ binutils-2.22/ltmain.sh
1830@@ -1,10 +1,9 @@ 1830@@ -1,10 +1,9 @@
1831-# Generated from ltmain.m4sh. 1831-# Generated from ltmain.m4sh.
1832 1832
@@ -7053,10 +7053,10 @@ Index: binutils-2.21.1/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.1/ltoptions.m4 7056Index: binutils-2.22/ltoptions.m4
7057=================================================================== 7057===================================================================
7058--- binutils-2.21.1.orig/ltoptions.m4 7058--- binutils-2.22.orig/ltoptions.m4
7059+++ binutils-2.21.1/ltoptions.m4 7059+++ binutils-2.22/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.1/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.1/ltversion.m4 7069Index: binutils-2.22/ltversion.m4
7070=================================================================== 7070===================================================================
7071--- binutils-2.21.1.orig/ltversion.m4 7071--- binutils-2.22.orig/ltversion.m4
7072+++ binutils-2.21.1/ltversion.m4 7072+++ binutils-2.22/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.1/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.1/lt~obsolete.m4 7097Index: binutils-2.22/lt~obsolete.m4
7098=================================================================== 7098===================================================================
7099--- binutils-2.21.1.orig/lt~obsolete.m4 7099--- binutils-2.22.orig/lt~obsolete.m4
7100+++ binutils-2.21.1/lt~obsolete.m4 7100+++ binutils-2.22/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,38 +7107,11 @@ Index: binutils-2.21.1/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.1/configure 7110Index: binutils-2.22/configure
7111=================================================================== 7111===================================================================
7112--- binutils-2.21.1.orig/configure 7112--- binutils-2.22.orig/configure
7113+++ binutils-2.21.1/configure 7113+++ binutils-2.22/configure
7114@@ -2670,7 +2670,7 @@ host_libs="intl mmalloc libiberty opcode 7114@@ -7788,7 +7788,7 @@ case " $build_configdirs " in
7115 # binutils, gas and ld appear in that order because it makes sense to run
7116 # "make check" in that particular order.
7117 # If --enable-gold is used, "gold" may replace "ld".
7118-host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
7119+host_tools="byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
7120
7121 # libgcj represents the runtime libraries only used by gcj.
7122 libgcj="target-libffi \
7123@@ -3148,7 +3148,7 @@ case "${target}" in
7124 am33_2.0-*-linux*)
7125 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
7126 ;;
7127- sh*-*-linux*)
7128+ sh-*-linux*)
7129 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
7130 ;;
7131 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
7132@@ -3487,7 +3487,7 @@ case "${target}" in
7133 romp-*-*)
7134 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
7135 ;;
7136- sh*-*-* | sh64-*-*)
7137+ sh-*-* | sh64-*-*)
7138 case "${host}" in
7139 i[3456789]86-*-vsta) ;; # don't add gprof back in
7140 i[3456789]86-*-go32*) ;; # don't add gprof back in
7141@@ -7597,7 +7597,7 @@ case " $build_configdirs " in
7142 # For an installed makeinfo, we require it to be from texinfo 4.7 or 7115 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7143 # higher, else we use the "missing" dummy. 7116 # higher, else we use the "missing" dummy.
7144 if ${MAKEINFO} --version \ 7117 if ${MAKEINFO} --version \
@@ -7147,10 +7120,10 @@ Index: binutils-2.21.1/configure
7147 : 7120 :
7148 else 7121 else
7149 MAKEINFO="$MISSING makeinfo" 7122 MAKEINFO="$MISSING makeinfo"
7150Index: binutils-2.21.1/bfd/configure 7123Index: binutils-2.22/bfd/configure
7151=================================================================== 7124===================================================================
7152--- binutils-2.21.1.orig/bfd/configure 7125--- binutils-2.22.orig/bfd/configure
7153+++ binutils-2.21.1/bfd/configure 7126+++ binutils-2.22/bfd/configure
7154@@ -667,6 +667,9 @@ OTOOL 7127@@ -667,6 +667,9 @@ OTOOL
7155 LIPO 7128 LIPO
7156 NMEDIT 7129 NMEDIT
@@ -8236,7 +8209,7 @@ Index: binutils-2.21.1/bfd/configure
8236 ;; 8209 ;;
8237 8210
8238 darwin* | rhapsody*) 8211 darwin* | rhapsody*)
8239@@ -9652,7 +10235,7 @@ if test -z "$aix_libpath"; then aix_libp 8212@@ -9648,7 +10231,7 @@ if test -z "$aix_libpath"; then aix_libp
8240 8213
8241 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8214 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8242 freebsd* | dragonfly*) 8215 freebsd* | dragonfly*)
@@ -8245,7 +8218,7 @@ Index: binutils-2.21.1/bfd/configure
8245 hardcode_libdir_flag_spec='-R$libdir' 8218 hardcode_libdir_flag_spec='-R$libdir'
8246 hardcode_direct=yes 8219 hardcode_direct=yes
8247 hardcode_shlibpath_var=no 8220 hardcode_shlibpath_var=no
8248@@ -9660,7 +10243,7 @@ if test -z "$aix_libpath"; then aix_libp 8221@@ -9656,7 +10239,7 @@ if test -z "$aix_libpath"; then aix_libp
8249 8222
8250 hpux9*) 8223 hpux9*)
8251 if test "$GCC" = yes; then 8224 if test "$GCC" = yes; then
@@ -8254,7 +8227,7 @@ Index: binutils-2.21.1/bfd/configure
8254 else 8227 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' 8228 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 8229 fi
8257@@ -9676,7 +10259,7 @@ if test -z "$aix_libpath"; then aix_libp 8230@@ -9672,7 +10255,7 @@ if test -z "$aix_libpath"; then aix_libp
8258 8231
8259 hpux10*) 8232 hpux10*)
8260 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 8233 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -8263,7 +8236,7 @@ Index: binutils-2.21.1/bfd/configure
8263 else 8236 else
8264 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8237 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8265 fi 8238 fi
8266@@ -9700,10 +10283,10 @@ if test -z "$aix_libpath"; then aix_libp 8239@@ -9696,10 +10279,10 @@ if test -z "$aix_libpath"; then aix_libp
8267 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8240 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8268 ;; 8241 ;;
8269 ia64*) 8242 ia64*)
@@ -8276,7 +8249,7 @@ Index: binutils-2.21.1/bfd/configure
8276 ;; 8249 ;;
8277 esac 8250 esac
8278 else 8251 else
8279@@ -9782,23 +10365,36 @@ fi 8252@@ -9778,23 +10361,36 @@ fi
8280 8253
8281 irix5* | irix6* | nonstopux*) 8254 irix5* | irix6* | nonstopux*)
8282 if test "$GCC" = yes; then 8255 if test "$GCC" = yes; then
@@ -8321,7 +8294,7 @@ Index: binutils-2.21.1/bfd/configure
8321 else 8294 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' 8295 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' 8296 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 @@ rm -f core conftest.err conftest.$ac_obj 8297@@ -9879,7 +10475,7 @@ rm -f core conftest.err conftest.$ac_obj
8325 osf4* | osf5*) # as osf3* with the addition of -msym flag 8298 osf4* | osf5*) # as osf3* with the addition of -msym flag
8326 if test "$GCC" = yes; then 8299 if test "$GCC" = yes; then
8327 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8300 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -8330,7 +8303,7 @@ Index: binutils-2.21.1/bfd/configure
8330 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8303 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8331 else 8304 else
8332 allow_undefined_flag=' -expect_unresolved \*' 8305 allow_undefined_flag=' -expect_unresolved \*'
8333@@ -9902,9 +10498,9 @@ rm -f core conftest.err conftest.$ac_obj 8306@@ -9898,9 +10494,9 @@ rm -f core conftest.err conftest.$ac_obj
8334 no_undefined_flag=' -z defs' 8307 no_undefined_flag=' -z defs'
8335 if test "$GCC" = yes; then 8308 if test "$GCC" = yes; then
8336 wlarc='${wl}' 8309 wlarc='${wl}'
@@ -8342,7 +8315,7 @@ Index: binutils-2.21.1/bfd/configure
8342 else 8315 else
8343 case `$CC -V 2>&1` in 8316 case `$CC -V 2>&1` in
8344 *"Compilers 5.0"*) 8317 *"Compilers 5.0"*)
8345@@ -10480,8 +11076,9 @@ cygwin* | mingw* | pw32* | cegcc*) 8318@@ -10476,8 +11072,9 @@ cygwin* | mingw* | pw32* | cegcc*)
8346 need_version=no 8319 need_version=no
8347 need_lib_prefix=no 8320 need_lib_prefix=no
8348 8321
@@ -8354,7 +8327,7 @@ Index: binutils-2.21.1/bfd/configure
8354 library_names_spec='$libname.dll.a' 8327 library_names_spec='$libname.dll.a'
8355 # DLL is installed to $(libdir)/../bin by postinstall_cmds 8328 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8356 postinstall_cmds='base_file=`basename \${file}`~ 8329 postinstall_cmds='base_file=`basename \${file}`~
8357@@ -10514,13 +11111,71 @@ cygwin* | mingw* | pw32* | cegcc*) 8330@@ -10510,13 +11107,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}' 8331 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8359 ;; 8332 ;;
8360 esac 8333 esac
@@ -8427,7 +8400,7 @@ Index: binutils-2.21.1/bfd/configure
8427 # FIXME: first we should search . and the directory the executable is in 8400 # FIXME: first we should search . and the directory the executable is in
8428 shlibpath_var=PATH 8401 shlibpath_var=PATH
8429 ;; 8402 ;;
8430@@ -10616,7 +11271,7 @@ haiku*) 8403@@ -10608,7 +11263,7 @@ haiku*)
8431 soname_spec='${libname}${release}${shared_ext}$major' 8404 soname_spec='${libname}${release}${shared_ext}$major'
8432 shlibpath_var=LIBRARY_PATH 8405 shlibpath_var=LIBRARY_PATH
8433 shlibpath_overrides_runpath=yes 8406 shlibpath_overrides_runpath=yes
@@ -8436,16 +8409,16 @@ Index: binutils-2.21.1/bfd/configure
8436 hardcode_into_libs=yes 8409 hardcode_into_libs=yes
8437 ;; 8410 ;;
8438 8411
8439@@ -11412,7 +12067,7 @@ else 8412@@ -11404,7 +12059,7 @@ else
8440 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 8413 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8441 lt_status=$lt_dlunknown 8414 lt_status=$lt_dlunknown
8442 cat > conftest.$ac_ext <<_LT_EOF 8415 cat > conftest.$ac_ext <<_LT_EOF
8443-#line 11415 "configure" 8416-#line 11407 "configure"
8444+#line $LINENO "configure" 8417+#line $LINENO "configure"
8445 #include "confdefs.h" 8418 #include "confdefs.h"
8446 8419
8447 #if HAVE_DLFCN_H 8420 #if HAVE_DLFCN_H
8448@@ -11456,10 +12111,10 @@ else 8421@@ -11448,10 +12103,10 @@ else
8449 /* When -fvisbility=hidden is used, assume the code has been annotated 8422 /* When -fvisbility=hidden is used, assume the code has been annotated
8450 correspondingly for the symbols needed. */ 8423 correspondingly for the symbols needed. */
8451 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 8424 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -8458,16 +8431,16 @@ Index: binutils-2.21.1/bfd/configure
8458 int main () 8431 int main ()
8459 { 8432 {
8460 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 8433 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8461@@ -11518,7 +12173,7 @@ else 8434@@ -11510,7 +12165,7 @@ else
8462 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 8435 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8463 lt_status=$lt_dlunknown 8436 lt_status=$lt_dlunknown
8464 cat > conftest.$ac_ext <<_LT_EOF 8437 cat > conftest.$ac_ext <<_LT_EOF
8465-#line 11521 "configure" 8438-#line 11513 "configure"
8466+#line $LINENO "configure" 8439+#line $LINENO "configure"
8467 #include "confdefs.h" 8440 #include "confdefs.h"
8468 8441
8469 #if HAVE_DLFCN_H 8442 #if HAVE_DLFCN_H
8470@@ -11562,10 +12217,10 @@ else 8443@@ -11554,10 +12209,10 @@ else
8471 /* When -fvisbility=hidden is used, assume the code has been annotated 8444 /* When -fvisbility=hidden is used, assume the code has been annotated
8472 correspondingly for the symbols needed. */ 8445 correspondingly for the symbols needed. */
8473 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 8446 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -8480,7 +8453,7 @@ Index: binutils-2.21.1/bfd/configure
8480 int main () 8453 int main ()
8481 { 8454 {
8482 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 8455 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8483@@ -15045,7 +15700,7 @@ SHARED_LDFLAGS= 8456@@ -15037,7 +15692,7 @@ SHARED_LDFLAGS=
8484 if test "$enable_shared" = "yes"; then 8457 if test "$enable_shared" = "yes"; then
8485 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 8458 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
8486 if test -n "$x"; then 8459 if test -n "$x"; then
@@ -8489,7 +8462,7 @@ Index: binutils-2.21.1/bfd/configure
8489 fi 8462 fi
8490 8463
8491 # More hacks to build DLLs on Windows. 8464 # More hacks to build DLLs on Windows.
8492@@ -16619,13 +17274,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_ 8465@@ -16629,13 +17284,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
8493 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 8466 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
8494 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 8467 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
8495 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 8468 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -8510,7 +8483,7 @@ Index: binutils-2.21.1/bfd/configure
8510 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 8483 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
8511 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 8484 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
8512 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 8485 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
8513@@ -16640,14 +17302,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l 8486@@ -16650,14 +17312,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"`' 8487 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"`' 8488 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"`' 8489 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 +8502,7 @@ Index: binutils-2.21.1/bfd/configure
8529 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 8502 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
8530 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 8503 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
8531 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 8504 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
8532@@ -16680,12 +17345,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod 8505@@ -16690,12 +17355,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
8533 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 8506 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
8534 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 8507 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
8535 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 8508 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -8543,7 +8516,7 @@ Index: binutils-2.21.1/bfd/configure
8543 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 8516 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"`' 8517 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"`' 8518 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
8546@@ -16740,8 +17405,13 @@ reload_flag \ 8519@@ -16750,8 +17415,13 @@ reload_flag \
8547 OBJDUMP \ 8520 OBJDUMP \
8548 deplibs_check_method \ 8521 deplibs_check_method \
8549 file_magic_cmd \ 8522 file_magic_cmd \
@@ -8557,7 +8530,7 @@ Index: binutils-2.21.1/bfd/configure
8557 STRIP \ 8530 STRIP \
8558 RANLIB \ 8531 RANLIB \
8559 CC \ 8532 CC \
8560@@ -16751,12 +17421,14 @@ lt_cv_sys_global_symbol_pipe \ 8533@@ -16761,12 +17431,14 @@ lt_cv_sys_global_symbol_pipe \
8561 lt_cv_sys_global_symbol_to_cdecl \ 8534 lt_cv_sys_global_symbol_to_cdecl \
8562 lt_cv_sys_global_symbol_to_c_name_address \ 8535 lt_cv_sys_global_symbol_to_c_name_address \
8563 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 8536 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -8573,7 +8546,7 @@ Index: binutils-2.21.1/bfd/configure
8573 DSYMUTIL \ 8546 DSYMUTIL \
8574 NMEDIT \ 8547 NMEDIT \
8575 LIPO \ 8548 LIPO \
8576@@ -16772,7 +17444,6 @@ no_undefined_flag \ 8549@@ -16782,7 +17454,6 @@ no_undefined_flag \
8577 hardcode_libdir_flag_spec \ 8550 hardcode_libdir_flag_spec \
8578 hardcode_libdir_flag_spec_ld \ 8551 hardcode_libdir_flag_spec_ld \
8579 hardcode_libdir_separator \ 8552 hardcode_libdir_separator \
@@ -8581,7 +8554,7 @@ Index: binutils-2.21.1/bfd/configure
8581 exclude_expsyms \ 8554 exclude_expsyms \
8582 include_expsyms \ 8555 include_expsyms \
8583 file_list_spec \ 8556 file_list_spec \
8584@@ -16808,6 +17479,7 @@ module_cmds \ 8557@@ -16818,6 +17489,7 @@ module_cmds \
8585 module_expsym_cmds \ 8558 module_expsym_cmds \
8586 export_symbols_cmds \ 8559 export_symbols_cmds \
8587 prelink_cmds \ 8560 prelink_cmds \
@@ -8589,7 +8562,7 @@ Index: binutils-2.21.1/bfd/configure
8589 postinstall_cmds \ 8562 postinstall_cmds \
8590 postuninstall_cmds \ 8563 postuninstall_cmds \
8591 finish_cmds \ 8564 finish_cmds \
8592@@ -17587,7 +18259,8 @@ $as_echo X"$file" | 8565@@ -17597,7 +18269,8 @@ $as_echo X"$file" |
8593 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 8566 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8594 # 8567 #
8595 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 8568 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -8599,7 +8572,7 @@ Index: binutils-2.21.1/bfd/configure
8599 # Written by Gordon Matzigkeit, 1996 8572 # Written by Gordon Matzigkeit, 1996
8600 # 8573 #
8601 # This file is part of GNU Libtool. 8574 # This file is part of GNU Libtool.
8602@@ -17690,19 +18363,42 @@ SP2NL=$lt_lt_SP2NL 8575@@ -17700,19 +18373,42 @@ SP2NL=$lt_lt_SP2NL
8603 # turn newlines into spaces. 8576 # turn newlines into spaces.
8604 NL2SP=$lt_lt_NL2SP 8577 NL2SP=$lt_lt_NL2SP
8605 8578
@@ -8643,7 +8616,7 @@ Index: binutils-2.21.1/bfd/configure
8643 # A symbol stripping program. 8616 # A symbol stripping program.
8644 STRIP=$lt_STRIP 8617 STRIP=$lt_STRIP
8645 8618
8646@@ -17732,6 +18428,12 @@ global_symbol_to_c_name_address=$lt_lt_c 8619@@ -17742,6 +18438,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. 8620 # 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 8621 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
8649 8622
@@ -8656,7 +8629,7 @@ Index: binutils-2.21.1/bfd/configure
8656 # The name of the directory that contains temporary libtool files. 8629 # The name of the directory that contains temporary libtool files.
8657 objdir=$objdir 8630 objdir=$objdir
8658 8631
8659@@ -17741,6 +18443,9 @@ MAGIC_CMD=$MAGIC_CMD 8632@@ -17751,6 +18453,9 @@ MAGIC_CMD=$MAGIC_CMD
8660 # Must we lock files when doing compilation? 8633 # Must we lock files when doing compilation?
8661 need_locks=$lt_need_locks 8634 need_locks=$lt_need_locks
8662 8635
@@ -8666,7 +8639,7 @@ Index: binutils-2.21.1/bfd/configure
8666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 8639 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
8667 DSYMUTIL=$lt_DSYMUTIL 8640 DSYMUTIL=$lt_DSYMUTIL
8668 8641
8669@@ -17855,12 +18560,12 @@ with_gcc=$GCC 8642@@ -17865,12 +18570,12 @@ with_gcc=$GCC
8670 # Compiler flag to turn off builtin functions. 8643 # Compiler flag to turn off builtin functions.
8671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 8644 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
8672 8645
@@ -8682,7 +8655,7 @@ Index: binutils-2.21.1/bfd/configure
8682 # Compiler flag to prevent dynamic linking. 8655 # Compiler flag to prevent dynamic linking.
8683 link_static_flag=$lt_lt_prog_compiler_static 8656 link_static_flag=$lt_lt_prog_compiler_static
8684 8657
8685@@ -17947,9 +18652,6 @@ inherit_rpath=$inherit_rpath 8658@@ -17957,9 +18662,6 @@ inherit_rpath=$inherit_rpath
8686 # Whether libtool must link a program against all its dependency libraries. 8659 # Whether libtool must link a program against all its dependency libraries.
8687 link_all_deplibs=$link_all_deplibs 8660 link_all_deplibs=$link_all_deplibs
8688 8661
@@ -8692,7 +8665,7 @@ Index: binutils-2.21.1/bfd/configure
8692 # Set to "yes" if exported symbols are required. 8665 # Set to "yes" if exported symbols are required.
8693 always_export_symbols=$always_export_symbols 8666 always_export_symbols=$always_export_symbols
8694 8667
8695@@ -17965,6 +18667,9 @@ include_expsyms=$lt_include_expsyms 8668@@ -17975,6 +18677,9 @@ include_expsyms=$lt_include_expsyms
8696 # Commands necessary for linking programs (against libraries) with templates. 8669 # Commands necessary for linking programs (against libraries) with templates.
8697 prelink_cmds=$lt_prelink_cmds 8670 prelink_cmds=$lt_prelink_cmds
8698 8671
@@ -8702,7 +8675,7 @@ Index: binutils-2.21.1/bfd/configure
8702 # Specify filename containing input files. 8675 # Specify filename containing input files.
8703 file_list_spec=$lt_file_list_spec 8676 file_list_spec=$lt_file_list_spec
8704 8677
8705@@ -17997,210 +18702,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 8678@@ -18007,210 +18712,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
8706 # if finds mixed CR/LF and LF-only lines. Since sed operates in 8679 # 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 8680 # text mode, it properly converts lines to CR/LF. This bash problem
8708 # is reportedly fixed, but why not run on old versions too? 8681 # is reportedly fixed, but why not run on old versions too?
@@ -9073,10 +9046,10 @@ Index: binutils-2.21.1/bfd/configure
9073 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 9046 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9074 chmod +x "$ofile" 9047 chmod +x "$ofile"
9075 9048
9076Index: binutils-2.21.1/opcodes/configure 9049Index: binutils-2.22/opcodes/configure
9077=================================================================== 9050===================================================================
9078--- binutils-2.21.1.orig/opcodes/configure 9051--- binutils-2.22.orig/opcodes/configure
9079+++ binutils-2.21.1/opcodes/configure 9052+++ binutils-2.22/opcodes/configure
9080@@ -647,6 +647,9 @@ OTOOL 9053@@ -647,6 +647,9 @@ OTOOL
9081 LIPO 9054 LIPO
9082 NMEDIT 9055 NMEDIT
@@ -10165,7 +10138,7 @@ Index: binutils-2.21.1/opcodes/configure
10165 ;; 10138 ;;
10166 10139
10167 darwin* | rhapsody*) 10140 darwin* | rhapsody*)
10168@@ -9382,7 +9965,7 @@ if test -z "$aix_libpath"; then aix_libp 10141@@ -9378,7 +9961,7 @@ if test -z "$aix_libpath"; then aix_libp
10169 10142
10170 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10143 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10171 freebsd* | dragonfly*) 10144 freebsd* | dragonfly*)
@@ -10174,7 +10147,7 @@ Index: binutils-2.21.1/opcodes/configure
10174 hardcode_libdir_flag_spec='-R$libdir' 10147 hardcode_libdir_flag_spec='-R$libdir'
10175 hardcode_direct=yes 10148 hardcode_direct=yes
10176 hardcode_shlibpath_var=no 10149 hardcode_shlibpath_var=no
10177@@ -9390,7 +9973,7 @@ if test -z "$aix_libpath"; then aix_libp 10150@@ -9386,7 +9969,7 @@ if test -z "$aix_libpath"; then aix_libp
10178 10151
10179 hpux9*) 10152 hpux9*)
10180 if test "$GCC" = yes; then 10153 if test "$GCC" = yes; then
@@ -10183,7 +10156,7 @@ Index: binutils-2.21.1/opcodes/configure
10183 else 10156 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' 10157 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 10158 fi
10186@@ -9406,7 +9989,7 @@ if test -z "$aix_libpath"; then aix_libp 10159@@ -9402,7 +9985,7 @@ if test -z "$aix_libpath"; then aix_libp
10187 10160
10188 hpux10*) 10161 hpux10*)
10189 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 10162 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -10192,7 +10165,7 @@ Index: binutils-2.21.1/opcodes/configure
10192 else 10165 else
10193 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10166 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10194 fi 10167 fi
10195@@ -9430,10 +10013,10 @@ if test -z "$aix_libpath"; then aix_libp 10168@@ -9426,10 +10009,10 @@ if test -z "$aix_libpath"; then aix_libp
10196 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10169 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 ;; 10170 ;;
10198 ia64*) 10171 ia64*)
@@ -10205,7 +10178,7 @@ Index: binutils-2.21.1/opcodes/configure
10205 ;; 10178 ;;
10206 esac 10179 esac
10207 else 10180 else
10208@@ -9512,23 +10095,36 @@ fi 10181@@ -9508,23 +10091,36 @@ fi
10209 10182
10210 irix5* | irix6* | nonstopux*) 10183 irix5* | irix6* | nonstopux*)
10211 if test "$GCC" = yes; then 10184 if test "$GCC" = yes; then
@@ -10250,7 +10223,7 @@ Index: binutils-2.21.1/opcodes/configure
10250 else 10223 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' 10224 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' 10225 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 @@ rm -f core conftest.err conftest.$ac_obj 10226@@ -9609,7 +10205,7 @@ rm -f core conftest.err conftest.$ac_obj
10254 osf4* | osf5*) # as osf3* with the addition of -msym flag 10227 osf4* | osf5*) # as osf3* with the addition of -msym flag
10255 if test "$GCC" = yes; then 10228 if test "$GCC" = yes; then
10256 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10229 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -10259,7 +10232,7 @@ Index: binutils-2.21.1/opcodes/configure
10259 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10232 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10260 else 10233 else
10261 allow_undefined_flag=' -expect_unresolved \*' 10234 allow_undefined_flag=' -expect_unresolved \*'
10262@@ -9632,9 +10228,9 @@ rm -f core conftest.err conftest.$ac_obj 10235@@ -9628,9 +10224,9 @@ rm -f core conftest.err conftest.$ac_obj
10263 no_undefined_flag=' -z defs' 10236 no_undefined_flag=' -z defs'
10264 if test "$GCC" = yes; then 10237 if test "$GCC" = yes; then
10265 wlarc='${wl}' 10238 wlarc='${wl}'
@@ -10271,7 +10244,7 @@ Index: binutils-2.21.1/opcodes/configure
10271 else 10244 else
10272 case `$CC -V 2>&1` in 10245 case `$CC -V 2>&1` in
10273 *"Compilers 5.0"*) 10246 *"Compilers 5.0"*)
10274@@ -10210,8 +10806,9 @@ cygwin* | mingw* | pw32* | cegcc*) 10247@@ -10206,8 +10802,9 @@ cygwin* | mingw* | pw32* | cegcc*)
10275 need_version=no 10248 need_version=no
10276 need_lib_prefix=no 10249 need_lib_prefix=no
10277 10250
@@ -10283,7 +10256,7 @@ Index: binutils-2.21.1/opcodes/configure
10283 library_names_spec='$libname.dll.a' 10256 library_names_spec='$libname.dll.a'
10284 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10257 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10285 postinstall_cmds='base_file=`basename \${file}`~ 10258 postinstall_cmds='base_file=`basename \${file}`~
10286@@ -10244,13 +10841,71 @@ cygwin* | mingw* | pw32* | cegcc*) 10259@@ -10240,13 +10837,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}' 10260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10288 ;; 10261 ;;
10289 esac 10262 esac
@@ -10356,7 +10329,7 @@ Index: binutils-2.21.1/opcodes/configure
10356 # FIXME: first we should search . and the directory the executable is in 10329 # FIXME: first we should search . and the directory the executable is in
10357 shlibpath_var=PATH 10330 shlibpath_var=PATH
10358 ;; 10331 ;;
10359@@ -10346,7 +11001,7 @@ haiku*) 10332@@ -10338,7 +10993,7 @@ haiku*)
10360 soname_spec='${libname}${release}${shared_ext}$major' 10333 soname_spec='${libname}${release}${shared_ext}$major'
10361 shlibpath_var=LIBRARY_PATH 10334 shlibpath_var=LIBRARY_PATH
10362 shlibpath_overrides_runpath=yes 10335 shlibpath_overrides_runpath=yes
@@ -10365,16 +10338,16 @@ Index: binutils-2.21.1/opcodes/configure
10365 hardcode_into_libs=yes 10338 hardcode_into_libs=yes
10366 ;; 10339 ;;
10367 10340
10368@@ -11142,7 +11797,7 @@ else 10341@@ -11134,7 +11789,7 @@ else
10369 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10342 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10370 lt_status=$lt_dlunknown 10343 lt_status=$lt_dlunknown
10371 cat > conftest.$ac_ext <<_LT_EOF 10344 cat > conftest.$ac_ext <<_LT_EOF
10372-#line 11145 "configure" 10345-#line 11137 "configure"
10373+#line $LINENO "configure" 10346+#line $LINENO "configure"
10374 #include "confdefs.h" 10347 #include "confdefs.h"
10375 10348
10376 #if HAVE_DLFCN_H 10349 #if HAVE_DLFCN_H
10377@@ -11186,10 +11841,10 @@ else 10350@@ -11178,10 +11833,10 @@ else
10378 /* When -fvisbility=hidden is used, assume the code has been annotated 10351 /* When -fvisbility=hidden is used, assume the code has been annotated
10379 correspondingly for the symbols needed. */ 10352 correspondingly for the symbols needed. */
10380 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10353 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -10387,16 +10360,16 @@ Index: binutils-2.21.1/opcodes/configure
10387 int main () 10360 int main ()
10388 { 10361 {
10389 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10362 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10390@@ -11248,7 +11903,7 @@ else 10363@@ -11240,7 +11895,7 @@ else
10391 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10364 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10392 lt_status=$lt_dlunknown 10365 lt_status=$lt_dlunknown
10393 cat > conftest.$ac_ext <<_LT_EOF 10366 cat > conftest.$ac_ext <<_LT_EOF
10394-#line 11251 "configure" 10367-#line 11243 "configure"
10395+#line $LINENO "configure" 10368+#line $LINENO "configure"
10396 #include "confdefs.h" 10369 #include "confdefs.h"
10397 10370
10398 #if HAVE_DLFCN_H 10371 #if HAVE_DLFCN_H
10399@@ -11292,10 +11947,10 @@ else 10372@@ -11284,10 +11939,10 @@ else
10400 /* When -fvisbility=hidden is used, assume the code has been annotated 10373 /* When -fvisbility=hidden is used, assume the code has been annotated
10401 correspondingly for the symbols needed. */ 10374 correspondingly for the symbols needed. */
10402 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 10375 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -10409,7 +10382,7 @@ Index: binutils-2.21.1/opcodes/configure
10409 int main () 10382 int main ()
10410 { 10383 {
10411 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10384 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10412@@ -12328,7 +12983,7 @@ if test "$enable_shared" = "yes"; then 10385@@ -12320,7 +12975,7 @@ if test "$enable_shared" = "yes"; then
10413 # since libbfd may not pull in the entirety of libiberty. 10386 # since libbfd may not pull in the entirety of libiberty.
10414 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 10387 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10415 if test -n "$x"; then 10388 if test -n "$x"; then
@@ -10418,7 +10391,7 @@ Index: binutils-2.21.1/opcodes/configure
10418 fi 10391 fi
10419 10392
10420 case "${host}" in 10393 case "${host}" in
10421@@ -13289,13 +13944,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_ 10394@@ -13283,13 +13938,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
10422 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 10395 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
10423 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 10396 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
10424 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 10397 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -10439,7 +10412,7 @@ Index: binutils-2.21.1/opcodes/configure
10439 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 10412 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
10440 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 10413 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
10441 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 10414 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
10442@@ -13310,14 +13972,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l 10415@@ -13304,14 +13966,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"`' 10416 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"`' 10417 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"`' 10418 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 +10431,7 @@ Index: binutils-2.21.1/opcodes/configure
10458 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 10431 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
10459 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 10432 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
10460 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 10433 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
10461@@ -13350,12 +14015,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod 10434@@ -13344,12 +14009,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
10462 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 10435 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
10463 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 10436 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
10464 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 10437 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -10472,7 +10445,7 @@ Index: binutils-2.21.1/opcodes/configure
10472 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 10445 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"`' 10446 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"`' 10447 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
10475@@ -13410,8 +14075,13 @@ reload_flag \ 10448@@ -13404,8 +14069,13 @@ reload_flag \
10476 OBJDUMP \ 10449 OBJDUMP \
10477 deplibs_check_method \ 10450 deplibs_check_method \
10478 file_magic_cmd \ 10451 file_magic_cmd \
@@ -10486,7 +10459,7 @@ Index: binutils-2.21.1/opcodes/configure
10486 STRIP \ 10459 STRIP \
10487 RANLIB \ 10460 RANLIB \
10488 CC \ 10461 CC \
10489@@ -13421,12 +14091,14 @@ lt_cv_sys_global_symbol_pipe \ 10462@@ -13415,12 +14085,14 @@ lt_cv_sys_global_symbol_pipe \
10490 lt_cv_sys_global_symbol_to_cdecl \ 10463 lt_cv_sys_global_symbol_to_cdecl \
10491 lt_cv_sys_global_symbol_to_c_name_address \ 10464 lt_cv_sys_global_symbol_to_c_name_address \
10492 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 10465 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -10502,7 +10475,7 @@ Index: binutils-2.21.1/opcodes/configure
10502 DSYMUTIL \ 10475 DSYMUTIL \
10503 NMEDIT \ 10476 NMEDIT \
10504 LIPO \ 10477 LIPO \
10505@@ -13442,7 +14114,6 @@ no_undefined_flag \ 10478@@ -13436,7 +14108,6 @@ no_undefined_flag \
10506 hardcode_libdir_flag_spec \ 10479 hardcode_libdir_flag_spec \
10507 hardcode_libdir_flag_spec_ld \ 10480 hardcode_libdir_flag_spec_ld \
10508 hardcode_libdir_separator \ 10481 hardcode_libdir_separator \
@@ -10510,7 +10483,7 @@ Index: binutils-2.21.1/opcodes/configure
10510 exclude_expsyms \ 10483 exclude_expsyms \
10511 include_expsyms \ 10484 include_expsyms \
10512 file_list_spec \ 10485 file_list_spec \
10513@@ -13478,6 +14149,7 @@ module_cmds \ 10486@@ -13472,6 +14143,7 @@ module_cmds \
10514 module_expsym_cmds \ 10487 module_expsym_cmds \
10515 export_symbols_cmds \ 10488 export_symbols_cmds \
10516 prelink_cmds \ 10489 prelink_cmds \
@@ -10518,7 +10491,7 @@ Index: binutils-2.21.1/opcodes/configure
10518 postinstall_cmds \ 10491 postinstall_cmds \
10519 postuninstall_cmds \ 10492 postuninstall_cmds \
10520 finish_cmds \ 10493 finish_cmds \
10521@@ -14234,7 +14906,8 @@ $as_echo X"$file" | 10494@@ -14228,7 +14900,8 @@ $as_echo X"$file" |
10522 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 10495 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10523 # 10496 #
10524 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 10497 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -10528,7 +10501,7 @@ Index: binutils-2.21.1/opcodes/configure
10528 # Written by Gordon Matzigkeit, 1996 10501 # Written by Gordon Matzigkeit, 1996
10529 # 10502 #
10530 # This file is part of GNU Libtool. 10503 # This file is part of GNU Libtool.
10531@@ -14337,19 +15010,42 @@ SP2NL=$lt_lt_SP2NL 10504@@ -14331,19 +15004,42 @@ SP2NL=$lt_lt_SP2NL
10532 # turn newlines into spaces. 10505 # turn newlines into spaces.
10533 NL2SP=$lt_lt_NL2SP 10506 NL2SP=$lt_lt_NL2SP
10534 10507
@@ -10572,7 +10545,7 @@ Index: binutils-2.21.1/opcodes/configure
10572 # A symbol stripping program. 10545 # A symbol stripping program.
10573 STRIP=$lt_STRIP 10546 STRIP=$lt_STRIP
10574 10547
10575@@ -14379,6 +15075,12 @@ global_symbol_to_c_name_address=$lt_lt_c 10548@@ -14373,6 +15069,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. 10549 # 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 10550 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
10578 10551
@@ -10585,7 +10558,7 @@ Index: binutils-2.21.1/opcodes/configure
10585 # The name of the directory that contains temporary libtool files. 10558 # The name of the directory that contains temporary libtool files.
10586 objdir=$objdir 10559 objdir=$objdir
10587 10560
10588@@ -14388,6 +15090,9 @@ MAGIC_CMD=$MAGIC_CMD 10561@@ -14382,6 +15084,9 @@ MAGIC_CMD=$MAGIC_CMD
10589 # Must we lock files when doing compilation? 10562 # Must we lock files when doing compilation?
10590 need_locks=$lt_need_locks 10563 need_locks=$lt_need_locks
10591 10564
@@ -10595,7 +10568,7 @@ Index: binutils-2.21.1/opcodes/configure
10595 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 10568 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
10596 DSYMUTIL=$lt_DSYMUTIL 10569 DSYMUTIL=$lt_DSYMUTIL
10597 10570
10598@@ -14502,12 +15207,12 @@ with_gcc=$GCC 10571@@ -14496,12 +15201,12 @@ with_gcc=$GCC
10599 # Compiler flag to turn off builtin functions. 10572 # Compiler flag to turn off builtin functions.
10600 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 10573 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10601 10574
@@ -10611,7 +10584,7 @@ Index: binutils-2.21.1/opcodes/configure
10611 # Compiler flag to prevent dynamic linking. 10584 # Compiler flag to prevent dynamic linking.
10612 link_static_flag=$lt_lt_prog_compiler_static 10585 link_static_flag=$lt_lt_prog_compiler_static
10613 10586
10614@@ -14594,9 +15299,6 @@ inherit_rpath=$inherit_rpath 10587@@ -14588,9 +15293,6 @@ inherit_rpath=$inherit_rpath
10615 # Whether libtool must link a program against all its dependency libraries. 10588 # Whether libtool must link a program against all its dependency libraries.
10616 link_all_deplibs=$link_all_deplibs 10589 link_all_deplibs=$link_all_deplibs
10617 10590
@@ -10621,7 +10594,7 @@ Index: binutils-2.21.1/opcodes/configure
10621 # Set to "yes" if exported symbols are required. 10594 # Set to "yes" if exported symbols are required.
10622 always_export_symbols=$always_export_symbols 10595 always_export_symbols=$always_export_symbols
10623 10596
10624@@ -14612,6 +15314,9 @@ include_expsyms=$lt_include_expsyms 10597@@ -14606,6 +15308,9 @@ include_expsyms=$lt_include_expsyms
10625 # Commands necessary for linking programs (against libraries) with templates. 10598 # Commands necessary for linking programs (against libraries) with templates.
10626 prelink_cmds=$lt_prelink_cmds 10599 prelink_cmds=$lt_prelink_cmds
10627 10600
@@ -10631,7 +10604,7 @@ Index: binutils-2.21.1/opcodes/configure
10631 # Specify filename containing input files. 10604 # Specify filename containing input files.
10632 file_list_spec=$lt_file_list_spec 10605 file_list_spec=$lt_file_list_spec
10633 10606
10634@@ -14644,210 +15349,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 10607@@ -14638,210 +15343,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
10635 # if finds mixed CR/LF and LF-only lines. Since sed operates in 10608 # 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 10609 # text mode, it properly converts lines to CR/LF. This bash problem
10637 # is reportedly fixed, but why not run on old versions too? 10610 # is reportedly fixed, but why not run on old versions too?
@@ -11002,11 +10975,11 @@ Index: binutils-2.21.1/opcodes/configure
11002 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 10975 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11003 chmod +x "$ofile" 10976 chmod +x "$ofile"
11004 10977
11005Index: binutils-2.21.1/binutils/configure 10978Index: binutils-2.22/binutils/configure
11006=================================================================== 10979===================================================================
11007--- binutils-2.21.1.orig/binutils/configure 10980--- binutils-2.22.orig/binutils/configure
11008+++ binutils-2.21.1/binutils/configure 10981+++ binutils-2.22/binutils/configure
11009@@ -654,8 +654,11 @@ OTOOL 10982@@ -655,8 +655,11 @@ OTOOL
11010 LIPO 10983 LIPO
11011 NMEDIT 10984 NMEDIT
11012 DSYMUTIL 10985 DSYMUTIL
@@ -11018,7 +10991,7 @@ Index: binutils-2.21.1/binutils/configure
11018 OBJDUMP 10991 OBJDUMP
11019 LN_S 10992 LN_S
11020 NM 10993 NM
11021@@ -768,6 +771,7 @@ enable_static 10994@@ -769,6 +772,7 @@ enable_static
11022 with_pic 10995 with_pic
11023 enable_fast_install 10996 enable_fast_install
11024 with_gnu_ld 10997 with_gnu_ld
@@ -11026,7 +10999,7 @@ Index: binutils-2.21.1/binutils/configure
11026 enable_libtool_lock 10999 enable_libtool_lock
11027 enable_targets 11000 enable_targets
11028 enable_werror 11001 enable_werror
11029@@ -1429,6 +1433,8 @@ Optional Packages: 11002@@ -1430,6 +1434,8 @@ Optional Packages:
11030 --with-pic try to use only PIC/non-PIC objects [default=use 11003 --with-pic try to use only PIC/non-PIC objects [default=use
11031 both] 11004 both]
11032 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 11005 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -11035,7 +11008,7 @@ Index: binutils-2.21.1/binutils/configure
11035 --with-gnu-ld assume the C compiler uses GNU ld default=no 11008 --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 11009 --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 11010 --without-libiconv-prefix don't search for libiconv in includedir and libdir
11038@@ -5146,8 +5152,8 @@ esac 11011@@ -5147,8 +5153,8 @@ esac
11039 11012
11040 11013
11041 11014
@@ -11046,7 +11019,7 @@ Index: binutils-2.21.1/binutils/configure
11046 11019
11047 11020
11048 11021
11049@@ -5187,7 +5193,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 11022@@ -5188,7 +5194,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
11051 $as_echo_n "checking how to print strings... " >&6; } 11024 $as_echo_n "checking how to print strings... " >&6; }
11052 # Test print first, because it will be a builtin if present. 11025 # Test print first, because it will be a builtin if present.
@@ -11055,7 +11028,7 @@ Index: binutils-2.21.1/binutils/configure
11055 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 11028 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
11056 ECHO='print -r --' 11029 ECHO='print -r --'
11057 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 11030 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
11058@@ -5873,8 +5879,8 @@ $as_echo_n "checking whether the shell u 11031@@ -5874,8 +5880,8 @@ $as_echo_n "checking whether the shell u
11059 # Try some XSI features 11032 # Try some XSI features
11060 xsi_shell=no 11033 xsi_shell=no
11061 ( _lt_dummy="a/b/c" 11034 ( _lt_dummy="a/b/c"
@@ -11066,7 +11039,7 @@ Index: binutils-2.21.1/binutils/configure
11066 && eval 'test $(( 1 + 1 )) -eq 2 \ 11039 && eval 'test $(( 1 + 1 )) -eq 2 \
11067 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 11040 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
11068 && xsi_shell=yes 11041 && xsi_shell=yes
11069@@ -5923,6 +5929,80 @@ esac 11042@@ -5924,6 +5930,80 @@ esac
11070 11043
11071 11044
11072 11045
@@ -11147,7 +11120,7 @@ Index: binutils-2.21.1/binutils/configure
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 11120 { $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; } 11121 $as_echo_n "checking for $LD option to reload object files... " >&6; }
11149 if test "${lt_cv_ld_reload_flag+set}" = set; then : 11122 if test "${lt_cv_ld_reload_flag+set}" = set; then :
11150@@ -5939,6 +6019,11 @@ case $reload_flag in 11123@@ -5940,6 +6020,11 @@ case $reload_flag in
11151 esac 11124 esac
11152 reload_cmds='$LD$reload_flag -o $output$reload_objs' 11125 reload_cmds='$LD$reload_flag -o $output$reload_objs'
11153 case $host_os in 11126 case $host_os in
@@ -11159,7 +11132,7 @@ Index: binutils-2.21.1/binutils/configure
11159 darwin*) 11132 darwin*)
11160 if test "$GCC" = yes; then 11133 if test "$GCC" = yes; then
11161 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 11134 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
11162@@ -6107,7 +6192,8 @@ mingw* | pw32*) 11135@@ -6108,7 +6193,8 @@ mingw* | pw32*)
11163 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 11136 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11164 lt_cv_file_magic_cmd='func_win32_libid' 11137 lt_cv_file_magic_cmd='func_win32_libid'
11165 else 11138 else
@@ -11169,7 +11142,7 @@ Index: binutils-2.21.1/binutils/configure
11169 lt_cv_file_magic_cmd='$OBJDUMP -f' 11142 lt_cv_file_magic_cmd='$OBJDUMP -f'
11170 fi 11143 fi
11171 ;; 11144 ;;
11172@@ -6261,6 +6347,21 @@ esac 11145@@ -6262,6 +6348,21 @@ esac
11173 fi 11146 fi
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
11175 $as_echo "$lt_cv_deplibs_check_method" >&6; } 11148 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -11191,7 +11164,7 @@ Index: binutils-2.21.1/binutils/configure
11191 file_magic_cmd=$lt_cv_file_magic_cmd 11164 file_magic_cmd=$lt_cv_file_magic_cmd
11192 deplibs_check_method=$lt_cv_deplibs_check_method 11165 deplibs_check_method=$lt_cv_deplibs_check_method
11193 test -z "$deplibs_check_method" && deplibs_check_method=unknown 11166 test -z "$deplibs_check_method" && deplibs_check_method=unknown
11194@@ -6276,9 +6377,162 @@ test -z "$deplibs_check_method" && depli 11167@@ -6277,9 +6378,162 @@ test -z "$deplibs_check_method" && depli
11195 11168
11196 11169
11197 11170
@@ -11356,7 +11329,7 @@ Index: binutils-2.21.1/binutils/configure
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11357 $as_echo_n "checking for $ac_word... " >&6; } 11330 $as_echo_n "checking for $ac_word... " >&6; }
11358 if test "${ac_cv_prog_AR+set}" = set; then : 11331 if test "${ac_cv_prog_AR+set}" = set; then :
11359@@ -6294,7 +6548,7 @@ do 11332@@ -6295,7 +6549,7 @@ do
11360 test -z "$as_dir" && as_dir=. 11333 test -z "$as_dir" && as_dir=.
11361 for ac_exec_ext in '' $ac_executable_extensions; do 11334 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 11335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -11365,7 +11338,7 @@ Index: binutils-2.21.1/binutils/configure
11365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11366 break 2 11339 break 2
11367 fi 11340 fi
11368@@ -6314,11 +6568,15 @@ $as_echo "no" >&6; } 11341@@ -6315,11 +6569,15 @@ $as_echo "no" >&6; }
11369 fi 11342 fi
11370 11343
11371 11344
@@ -11384,7 +11357,7 @@ Index: binutils-2.21.1/binutils/configure
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11385 $as_echo_n "checking for $ac_word... " >&6; } 11358 $as_echo_n "checking for $ac_word... " >&6; }
11386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 11359 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
11387@@ -6334,7 +6592,7 @@ do 11360@@ -6335,7 +6593,7 @@ do
11388 test -z "$as_dir" && as_dir=. 11361 test -z "$as_dir" && as_dir=.
11389 for ac_exec_ext in '' $ac_executable_extensions; do 11362 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 11363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -11393,7 +11366,7 @@ Index: binutils-2.21.1/binutils/configure
11393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11394 break 2 11367 break 2
11395 fi 11368 fi
11396@@ -6353,6 +6611,10 @@ else 11369@@ -6354,6 +6612,10 @@ else
11397 $as_echo "no" >&6; } 11370 $as_echo "no" >&6; }
11398 fi 11371 fi
11399 11372
@@ -11404,7 +11377,7 @@ Index: binutils-2.21.1/binutils/configure
11404 if test "x$ac_ct_AR" = x; then 11377 if test "x$ac_ct_AR" = x; then
11405 AR="false" 11378 AR="false"
11406 else 11379 else
11407@@ -6364,12 +6626,10 @@ ac_tool_warned=yes ;; 11380@@ -6365,12 +6627,10 @@ ac_tool_warned=yes ;;
11408 esac 11381 esac
11409 AR=$ac_ct_AR 11382 AR=$ac_ct_AR
11410 fi 11383 fi
@@ -11419,7 +11392,7 @@ Index: binutils-2.21.1/binutils/configure
11419 11392
11420 11393
11421 11394
11422@@ -6381,6 +6641,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 11395@@ -6382,6 +6642,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
11423 11396
11424 11397
11425 11398
@@ -11484,7 +11457,7 @@ Index: binutils-2.21.1/binutils/configure
11484 if test -n "$ac_tool_prefix"; then 11457 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. 11458 # 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 11459 set dummy ${ac_tool_prefix}strip; ac_word=$2
11487@@ -6715,8 +7033,8 @@ esac 11460@@ -6716,8 +7034,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'" 11461 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11489 11462
11490 # Transform an extracted symbol line into symbol name and symbol address 11463 # Transform an extracted symbol line into symbol name and symbol address
@@ -11495,7 +11468,7 @@ Index: binutils-2.21.1/binutils/configure
11495 11468
11496 # Handle CRLF in mingw tool chain 11469 # Handle CRLF in mingw tool chain
11497 opt_cr= 11470 opt_cr=
11498@@ -6752,6 +7070,7 @@ for ac_symprfx in "" "_"; do 11471@@ -6753,6 +7071,7 @@ for ac_symprfx in "" "_"; do
11499 else 11472 else
11500 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 11473 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11501 fi 11474 fi
@@ -11503,7 +11476,7 @@ Index: binutils-2.21.1/binutils/configure
11503 11476
11504 # Check to see that the pipe works correctly. 11477 # Check to see that the pipe works correctly.
11505 pipe_works=no 11478 pipe_works=no
11506@@ -6793,6 +7112,18 @@ _LT_EOF 11479@@ -6794,6 +7113,18 @@ _LT_EOF
11507 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 11480 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11508 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 11481 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
11509 cat <<_LT_EOF > conftest.$ac_ext 11482 cat <<_LT_EOF > conftest.$ac_ext
@@ -11522,7 +11495,7 @@ Index: binutils-2.21.1/binutils/configure
11522 #ifdef __cplusplus 11495 #ifdef __cplusplus
11523 extern "C" { 11496 extern "C" {
11524 #endif 11497 #endif
11525@@ -6804,7 +7135,7 @@ _LT_EOF 11498@@ -6805,7 +7136,7 @@ _LT_EOF
11526 cat <<_LT_EOF >> conftest.$ac_ext 11499 cat <<_LT_EOF >> conftest.$ac_ext
11527 11500
11528 /* The mapping between symbol names and symbols. */ 11501 /* The mapping between symbol names and symbols. */
@@ -11531,7 +11504,7 @@ Index: binutils-2.21.1/binutils/configure
11531 const char *name; 11504 const char *name;
11532 void *address; 11505 void *address;
11533 } 11506 }
11534@@ -6830,8 +7161,8 @@ static const void *lt_preloaded_setup() 11507@@ -6831,8 +7162,8 @@ static const void *lt_preloaded_setup()
11535 _LT_EOF 11508 _LT_EOF
11536 # Now try linking the two files. 11509 # Now try linking the two files.
11537 mv conftest.$ac_objext conftstm.$ac_objext 11510 mv conftest.$ac_objext conftstm.$ac_objext
@@ -11542,7 +11515,7 @@ Index: binutils-2.21.1/binutils/configure
11542 LIBS="conftstm.$ac_objext" 11515 LIBS="conftstm.$ac_objext"
11543 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 11516 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11545@@ -6841,8 +7172,8 @@ _LT_EOF 11518@@ -6842,8 +7173,8 @@ _LT_EOF
11546 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 11519 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
11547 pipe_works=yes 11520 pipe_works=yes
11548 fi 11521 fi
@@ -11553,7 +11526,7 @@ Index: binutils-2.21.1/binutils/configure
11553 else 11526 else
11554 echo "cannot find nm_test_func in $nlist" >&5 11527 echo "cannot find nm_test_func in $nlist" >&5
11555 fi 11528 fi
11556@@ -6879,6 +7210,19 @@ else 11529@@ -6880,6 +7211,19 @@ else
11557 $as_echo "ok" >&6; } 11530 $as_echo "ok" >&6; }
11558 fi 11531 fi
11559 11532
@@ -11573,7 +11546,7 @@ Index: binutils-2.21.1/binutils/configure
11573 11546
11574 11547
11575 11548
11576@@ -6899,6 +7243,42 @@ fi 11549@@ -6900,6 +7244,42 @@ fi
11577 11550
11578 11551
11579 11552
@@ -11616,7 +11589,7 @@ Index: binutils-2.21.1/binutils/configure
11616 11589
11617 # Check whether --enable-libtool-lock was given. 11590 # Check whether --enable-libtool-lock was given.
11618 if test "${enable_libtool_lock+set}" = set; then : 11591 if test "${enable_libtool_lock+set}" = set; then :
11619@@ -7093,6 +7473,123 @@ esac 11592@@ -7094,6 +7474,123 @@ esac
11620 11593
11621 need_locks="$enable_libtool_lock" 11594 need_locks="$enable_libtool_lock"
11622 11595
@@ -11740,7 +11713,7 @@ Index: binutils-2.21.1/binutils/configure
11740 11713
11741 case $host_os in 11714 case $host_os in
11742 rhapsody* | darwin*) 11715 rhapsody* | darwin*)
11743@@ -7656,6 +8153,8 @@ _LT_EOF 11716@@ -7657,6 +8154,8 @@ _LT_EOF
11744 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 11717 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11745 echo "$AR cru libconftest.a conftest.o" >&5 11718 echo "$AR cru libconftest.a conftest.o" >&5
11746 $AR cru libconftest.a conftest.o 2>&5 11719 $AR cru libconftest.a conftest.o 2>&5
@@ -11749,7 +11722,7 @@ Index: binutils-2.21.1/binutils/configure
11749 cat > conftest.c << _LT_EOF 11722 cat > conftest.c << _LT_EOF
11750 int main() { return 0;} 11723 int main() { return 0;}
11751 _LT_EOF 11724 _LT_EOF
11752@@ -7851,7 +8350,8 @@ fi 11725@@ -7852,7 +8351,8 @@ fi
11753 LIBTOOL_DEPS="$ltmain" 11726 LIBTOOL_DEPS="$ltmain"
11754 11727
11755 # Always use our own libtool. 11728 # Always use our own libtool.
@@ -11759,7 +11732,7 @@ Index: binutils-2.21.1/binutils/configure
11759 11732
11760 11733
11761 11734
11762@@ -7940,7 +8440,7 @@ aix3*) 11735@@ -7941,7 +8441,7 @@ aix3*)
11763 esac 11736 esac
11764 11737
11765 # Global variables: 11738 # Global variables:
@@ -11768,7 +11741,7 @@ Index: binutils-2.21.1/binutils/configure
11768 can_build_shared=yes 11741 can_build_shared=yes
11769 11742
11770 # All known linkers require a `.a' archive for static linking (except MSVC, 11743 # All known linkers require a `.a' archive for static linking (except MSVC,
11771@@ -8238,8 +8738,6 @@ fi 11744@@ -8239,8 +8739,6 @@ fi
11772 lt_prog_compiler_pic= 11745 lt_prog_compiler_pic=
11773 lt_prog_compiler_static= 11746 lt_prog_compiler_static=
11774 11747
@@ -11777,7 +11750,7 @@ Index: binutils-2.21.1/binutils/configure
11777 11750
11778 if test "$GCC" = yes; then 11751 if test "$GCC" = yes; then
11779 lt_prog_compiler_wl='-Wl,' 11752 lt_prog_compiler_wl='-Wl,'
11780@@ -8404,6 +8902,12 @@ $as_echo_n "checking for $compiler optio 11753@@ -8405,6 +8903,12 @@ $as_echo_n "checking for $compiler optio
11781 lt_prog_compiler_pic='--shared' 11754 lt_prog_compiler_pic='--shared'
11782 lt_prog_compiler_static='--static' 11755 lt_prog_compiler_static='--static'
11783 ;; 11756 ;;
@@ -11790,7 +11763,7 @@ Index: binutils-2.21.1/binutils/configure
11790 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 11763 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11791 # Portland Group compilers (*not* the Pentium gcc compiler, 11764 # Portland Group compilers (*not* the Pentium gcc compiler,
11792 # which looks to be a dead project) 11765 # which looks to be a dead project)
11793@@ -8466,7 +8970,7 @@ $as_echo_n "checking for $compiler optio 11766@@ -8467,7 +8971,7 @@ $as_echo_n "checking for $compiler optio
11794 lt_prog_compiler_pic='-KPIC' 11767 lt_prog_compiler_pic='-KPIC'
11795 lt_prog_compiler_static='-Bstatic' 11768 lt_prog_compiler_static='-Bstatic'
11796 case $cc_basename in 11769 case $cc_basename in
@@ -11799,7 +11772,7 @@ Index: binutils-2.21.1/binutils/configure
11799 lt_prog_compiler_wl='-Qoption ld ';; 11772 lt_prog_compiler_wl='-Qoption ld ';;
11800 *) 11773 *)
11801 lt_prog_compiler_wl='-Wl,';; 11774 lt_prog_compiler_wl='-Wl,';;
11802@@ -8523,13 +9027,17 @@ case $host_os in 11775@@ -8524,13 +9028,17 @@ case $host_os in
11803 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 11776 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11804 ;; 11777 ;;
11805 esac 11778 esac
@@ -11823,7 +11796,7 @@ Index: binutils-2.21.1/binutils/configure
11823 11796
11824 # 11797 #
11825 # Check to make sure the PIC flag actually works. 11798 # Check to make sure the PIC flag actually works.
11826@@ -8590,6 +9098,11 @@ fi 11799@@ -8591,6 +9099,11 @@ fi
11827 11800
11828 11801
11829 11802
@@ -11835,7 +11808,7 @@ Index: binutils-2.21.1/binutils/configure
11835 # 11808 #
11836 # Check to make sure the static flag actually works. 11809 # Check to make sure the static flag actually works.
11837 # 11810 #
11838@@ -8940,7 +9453,8 @@ _LT_EOF 11811@@ -8941,7 +9454,8 @@ _LT_EOF
11839 allow_undefined_flag=unsupported 11812 allow_undefined_flag=unsupported
11840 always_export_symbols=no 11813 always_export_symbols=no
11841 enable_shared_with_static_runtimes=yes 11814 enable_shared_with_static_runtimes=yes
@@ -11845,7 +11818,7 @@ Index: binutils-2.21.1/binutils/configure
11845 11818
11846 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 11819 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' 11820 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 @@ _LT_EOF 11821@@ -8989,7 +9503,7 @@ _LT_EOF
11849 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 11822 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11850 && test "$tmp_diet" = no 11823 && test "$tmp_diet" = no
11851 then 11824 then
@@ -11854,7 +11827,7 @@ Index: binutils-2.21.1/binutils/configure
11854 tmp_sharedflag='-shared' 11827 tmp_sharedflag='-shared'
11855 case $cc_basename,$host_cpu in 11828 case $cc_basename,$host_cpu in
11856 pgcc*) # Portland Group C compiler 11829 pgcc*) # Portland Group C compiler
11857@@ -9039,12 +9553,12 @@ _LT_EOF 11830@@ -9040,12 +9554,12 @@ _LT_EOF
11858 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 11831 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11859 hardcode_libdir_flag_spec= 11832 hardcode_libdir_flag_spec=
11860 hardcode_libdir_flag_spec_ld='-rpath $libdir' 11833 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -11869,7 +11842,7 @@ Index: binutils-2.21.1/binutils/configure
11869 fi 11842 fi
11870 ;; 11843 ;;
11871 esac 11844 esac
11872@@ -9058,8 +9572,8 @@ _LT_EOF 11845@@ -9059,8 +9573,8 @@ _LT_EOF
11873 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 11846 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11874 wlarc= 11847 wlarc=
11875 else 11848 else
@@ -11880,7 +11853,7 @@ Index: binutils-2.21.1/binutils/configure
11880 fi 11853 fi
11881 ;; 11854 ;;
11882 11855
11883@@ -9077,8 +9591,8 @@ _LT_EOF 11856@@ -9078,8 +9592,8 @@ _LT_EOF
11884 11857
11885 _LT_EOF 11858 _LT_EOF
11886 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11859 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11891,7 +11864,7 @@ Index: binutils-2.21.1/binutils/configure
11891 else 11864 else
11892 ld_shlibs=no 11865 ld_shlibs=no
11893 fi 11866 fi
11894@@ -9124,8 +9638,8 @@ _LT_EOF 11867@@ -9125,8 +9639,8 @@ _LT_EOF
11895 11868
11896 *) 11869 *)
11897 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 11870 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -11902,7 +11875,7 @@ Index: binutils-2.21.1/binutils/configure
11902 else 11875 else
11903 ld_shlibs=no 11876 ld_shlibs=no
11904 fi 11877 fi
11905@@ -9255,7 +9769,13 @@ _LT_EOF 11878@@ -9256,7 +9770,13 @@ _LT_EOF
11906 allow_undefined_flag='-berok' 11879 allow_undefined_flag='-berok'
11907 # Determine the default libpath from the value encoded in an 11880 # Determine the default libpath from the value encoded in an
11908 # empty executable. 11881 # empty executable.
@@ -11917,7 +11890,7 @@ Index: binutils-2.21.1/binutils/configure
11917 /* end confdefs.h. */ 11890 /* end confdefs.h. */
11918 11891
11919 int 11892 int
11920@@ -9268,22 +9788,29 @@ main () 11893@@ -9269,22 +9789,29 @@ main ()
11921 _ACEOF 11894 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then : 11895 if ac_fn_c_try_link "$LINENO"; then :
11923 11896
@@ -11960,7 +11933,7 @@ Index: binutils-2.21.1/binutils/configure
11960 11933
11961 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11934 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" 11935 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 @@ if test -z "$aix_libpath"; then aix_libp 11936@@ -9296,7 +9823,13 @@ if test -z "$aix_libpath"; then aix_libp
11964 else 11937 else
11965 # Determine the default libpath from the value encoded in an 11938 # Determine the default libpath from the value encoded in an
11966 # empty executable. 11939 # empty executable.
@@ -11975,7 +11948,7 @@ Index: binutils-2.21.1/binutils/configure
11975 /* end confdefs.h. */ 11948 /* end confdefs.h. */
11976 11949
11977 int 11950 int
11978@@ -9308,22 +9841,29 @@ main () 11951@@ -9309,22 +9842,29 @@ main ()
11979 _ACEOF 11952 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then : 11953 if ac_fn_c_try_link "$LINENO"; then :
11981 11954
@@ -12018,7 +11991,7 @@ Index: binutils-2.21.1/binutils/configure
12018 11991
12019 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 11992 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12020 # Warning - without using the other run time loading flags, 11993 # Warning - without using the other run time loading flags,
12021@@ -9368,20 +9908,63 @@ if test -z "$aix_libpath"; then aix_libp 11994@@ -9369,20 +9909,63 @@ if test -z "$aix_libpath"; then aix_libp
12022 # Microsoft Visual C++. 11995 # Microsoft Visual C++.
12023 # hardcode_libdir_flag_spec is actually meaningless, as there is 11996 # hardcode_libdir_flag_spec is actually meaningless, as there is
12024 # no search path for DLLs. 11997 # no search path for DLLs.
@@ -12096,7 +12069,7 @@ Index: binutils-2.21.1/binutils/configure
12096 ;; 12069 ;;
12097 12070
12098 darwin* | rhapsody*) 12071 darwin* | rhapsody*)
12099@@ -9446,7 +10029,7 @@ if test -z "$aix_libpath"; then aix_libp 12072@@ -9443,7 +10026,7 @@ if test -z "$aix_libpath"; then aix_libp
12100 12073
12101 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 12074 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12102 freebsd* | dragonfly*) 12075 freebsd* | dragonfly*)
@@ -12105,7 +12078,7 @@ Index: binutils-2.21.1/binutils/configure
12105 hardcode_libdir_flag_spec='-R$libdir' 12078 hardcode_libdir_flag_spec='-R$libdir'
12106 hardcode_direct=yes 12079 hardcode_direct=yes
12107 hardcode_shlibpath_var=no 12080 hardcode_shlibpath_var=no
12108@@ -9454,7 +10037,7 @@ if test -z "$aix_libpath"; then aix_libp 12081@@ -9451,7 +10034,7 @@ if test -z "$aix_libpath"; then aix_libp
12109 12082
12110 hpux9*) 12083 hpux9*)
12111 if test "$GCC" = yes; then 12084 if test "$GCC" = yes; then
@@ -12114,7 +12087,7 @@ Index: binutils-2.21.1/binutils/configure
12114 else 12087 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' 12088 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 12089 fi
12117@@ -9470,7 +10053,7 @@ if test -z "$aix_libpath"; then aix_libp 12090@@ -9467,7 +10050,7 @@ if test -z "$aix_libpath"; then aix_libp
12118 12091
12119 hpux10*) 12092 hpux10*)
12120 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 12093 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -12123,7 +12096,7 @@ Index: binutils-2.21.1/binutils/configure
12123 else 12096 else
12124 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 12097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12125 fi 12098 fi
12126@@ -9494,10 +10077,10 @@ if test -z "$aix_libpath"; then aix_libp 12099@@ -9491,10 +10074,10 @@ if test -z "$aix_libpath"; then aix_libp
12127 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 12100 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12128 ;; 12101 ;;
12129 ia64*) 12102 ia64*)
@@ -12136,7 +12109,7 @@ Index: binutils-2.21.1/binutils/configure
12136 ;; 12109 ;;
12137 esac 12110 esac
12138 else 12111 else
12139@@ -9576,23 +10159,36 @@ fi 12112@@ -9573,23 +10156,36 @@ fi
12140 12113
12141 irix5* | irix6* | nonstopux*) 12114 irix5* | irix6* | nonstopux*)
12142 if test "$GCC" = yes; then 12115 if test "$GCC" = yes; then
@@ -12181,7 +12154,7 @@ Index: binutils-2.21.1/binutils/configure
12181 else 12154 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' 12155 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' 12156 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 @@ rm -f core conftest.err conftest.$ac_obj 12157@@ -9674,7 +10270,7 @@ rm -f core conftest.err conftest.$ac_obj
12185 osf4* | osf5*) # as osf3* with the addition of -msym flag 12158 osf4* | osf5*) # as osf3* with the addition of -msym flag
12186 if test "$GCC" = yes; then 12159 if test "$GCC" = yes; then
12187 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 12160 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -12190,7 +12163,7 @@ Index: binutils-2.21.1/binutils/configure
12190 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 12163 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12191 else 12164 else
12192 allow_undefined_flag=' -expect_unresolved \*' 12165 allow_undefined_flag=' -expect_unresolved \*'
12193@@ -9696,9 +10292,9 @@ rm -f core conftest.err conftest.$ac_obj 12166@@ -9693,9 +10289,9 @@ rm -f core conftest.err conftest.$ac_obj
12194 no_undefined_flag=' -z defs' 12167 no_undefined_flag=' -z defs'
12195 if test "$GCC" = yes; then 12168 if test "$GCC" = yes; then
12196 wlarc='${wl}' 12169 wlarc='${wl}'
@@ -12202,7 +12175,7 @@ Index: binutils-2.21.1/binutils/configure
12202 else 12175 else
12203 case `$CC -V 2>&1` in 12176 case `$CC -V 2>&1` in
12204 *"Compilers 5.0"*) 12177 *"Compilers 5.0"*)
12205@@ -10274,8 +10870,9 @@ cygwin* | mingw* | pw32* | cegcc*) 12178@@ -10271,8 +10867,9 @@ cygwin* | mingw* | pw32* | cegcc*)
12206 need_version=no 12179 need_version=no
12207 need_lib_prefix=no 12180 need_lib_prefix=no
12208 12181
@@ -12214,7 +12187,7 @@ Index: binutils-2.21.1/binutils/configure
12214 library_names_spec='$libname.dll.a' 12187 library_names_spec='$libname.dll.a'
12215 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12188 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12216 postinstall_cmds='base_file=`basename \${file}`~ 12189 postinstall_cmds='base_file=`basename \${file}`~
12217@@ -10308,13 +10905,71 @@ cygwin* | mingw* | pw32* | cegcc*) 12190@@ -10305,13 +10902,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}' 12191 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12219 ;; 12192 ;;
12220 esac 12193 esac
@@ -12287,7 +12260,7 @@ Index: binutils-2.21.1/binutils/configure
12287 # FIXME: first we should search . and the directory the executable is in 12260 # FIXME: first we should search . and the directory the executable is in
12288 shlibpath_var=PATH 12261 shlibpath_var=PATH
12289 ;; 12262 ;;
12290@@ -10410,7 +11065,7 @@ haiku*) 12263@@ -10403,7 +11058,7 @@ haiku*)
12291 soname_spec='${libname}${release}${shared_ext}$major' 12264 soname_spec='${libname}${release}${shared_ext}$major'
12292 shlibpath_var=LIBRARY_PATH 12265 shlibpath_var=LIBRARY_PATH
12293 shlibpath_overrides_runpath=yes 12266 shlibpath_overrides_runpath=yes
@@ -12296,16 +12269,16 @@ Index: binutils-2.21.1/binutils/configure
12296 hardcode_into_libs=yes 12269 hardcode_into_libs=yes
12297 ;; 12270 ;;
12298 12271
12299@@ -11206,7 +11861,7 @@ else 12272@@ -11199,7 +11854,7 @@ else
12300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12273 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12301 lt_status=$lt_dlunknown 12274 lt_status=$lt_dlunknown
12302 cat > conftest.$ac_ext <<_LT_EOF 12275 cat > conftest.$ac_ext <<_LT_EOF
12303-#line 11209 "configure" 12276-#line 11202 "configure"
12304+#line $LINENO "configure" 12277+#line $LINENO "configure"
12305 #include "confdefs.h" 12278 #include "confdefs.h"
12306 12279
12307 #if HAVE_DLFCN_H 12280 #if HAVE_DLFCN_H
12308@@ -11250,10 +11905,10 @@ else 12281@@ -11243,10 +11898,10 @@ else
12309 /* When -fvisbility=hidden is used, assume the code has been annotated 12282 /* When -fvisbility=hidden is used, assume the code has been annotated
12310 correspondingly for the symbols needed. */ 12283 correspondingly for the symbols needed. */
12311 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12284 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -12318,16 +12291,16 @@ Index: binutils-2.21.1/binutils/configure
12318 int main () 12291 int main ()
12319 { 12292 {
12320 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12293 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12321@@ -11312,7 +11967,7 @@ else 12294@@ -11305,7 +11960,7 @@ else
12322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12295 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12323 lt_status=$lt_dlunknown 12296 lt_status=$lt_dlunknown
12324 cat > conftest.$ac_ext <<_LT_EOF 12297 cat > conftest.$ac_ext <<_LT_EOF
12325-#line 11315 "configure" 12298-#line 11308 "configure"
12326+#line $LINENO "configure" 12299+#line $LINENO "configure"
12327 #include "confdefs.h" 12300 #include "confdefs.h"
12328 12301
12329 #if HAVE_DLFCN_H 12302 #if HAVE_DLFCN_H
12330@@ -11356,10 +12011,10 @@ else 12303@@ -11349,10 +12004,10 @@ else
12331 /* When -fvisbility=hidden is used, assume the code has been annotated 12304 /* When -fvisbility=hidden is used, assume the code has been annotated
12332 correspondingly for the symbols needed. */ 12305 correspondingly for the symbols needed. */
12333 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12306 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -12340,7 +12313,7 @@ Index: binutils-2.21.1/binutils/configure
12340 int main () 12313 int main ()
12341 { 12314 {
12342 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12315 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12343@@ -14754,13 +15409,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_ 12316@@ -14784,13 +15439,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
12344 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12317 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12345 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12318 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12346 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12319 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -12361,7 +12334,7 @@ Index: binutils-2.21.1/binutils/configure
12361 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12334 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12362 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12335 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12363 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12336 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12364@@ -14775,14 +15437,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l 12337@@ -14805,14 +15467,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"`' 12338 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"`' 12339 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"`' 12340 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 +12353,7 @@ Index: binutils-2.21.1/binutils/configure
12380 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12353 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12381 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12354 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12382 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12355 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12383@@ -14815,12 +15480,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod 12356@@ -14845,12 +15510,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
12384 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12357 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12385 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12358 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12386 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12359 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -12394,7 +12367,7 @@ Index: binutils-2.21.1/binutils/configure
12394 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12367 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"`' 12368 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"`' 12369 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12397@@ -14875,8 +15540,13 @@ reload_flag \ 12370@@ -14905,8 +15570,13 @@ reload_flag \
12398 OBJDUMP \ 12371 OBJDUMP \
12399 deplibs_check_method \ 12372 deplibs_check_method \
12400 file_magic_cmd \ 12373 file_magic_cmd \
@@ -12408,7 +12381,7 @@ Index: binutils-2.21.1/binutils/configure
12408 STRIP \ 12381 STRIP \
12409 RANLIB \ 12382 RANLIB \
12410 CC \ 12383 CC \
12411@@ -14886,12 +15556,14 @@ lt_cv_sys_global_symbol_pipe \ 12384@@ -14916,12 +15586,14 @@ lt_cv_sys_global_symbol_pipe \
12412 lt_cv_sys_global_symbol_to_cdecl \ 12385 lt_cv_sys_global_symbol_to_cdecl \
12413 lt_cv_sys_global_symbol_to_c_name_address \ 12386 lt_cv_sys_global_symbol_to_c_name_address \
12414 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12387 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -12424,7 +12397,7 @@ Index: binutils-2.21.1/binutils/configure
12424 DSYMUTIL \ 12397 DSYMUTIL \
12425 NMEDIT \ 12398 NMEDIT \
12426 LIPO \ 12399 LIPO \
12427@@ -14907,7 +15579,6 @@ no_undefined_flag \ 12400@@ -14937,7 +15609,6 @@ no_undefined_flag \
12428 hardcode_libdir_flag_spec \ 12401 hardcode_libdir_flag_spec \
12429 hardcode_libdir_flag_spec_ld \ 12402 hardcode_libdir_flag_spec_ld \
12430 hardcode_libdir_separator \ 12403 hardcode_libdir_separator \
@@ -12432,7 +12405,7 @@ Index: binutils-2.21.1/binutils/configure
12432 exclude_expsyms \ 12405 exclude_expsyms \
12433 include_expsyms \ 12406 include_expsyms \
12434 file_list_spec \ 12407 file_list_spec \
12435@@ -14943,6 +15614,7 @@ module_cmds \ 12408@@ -14973,6 +15644,7 @@ module_cmds \
12436 module_expsym_cmds \ 12409 module_expsym_cmds \
12437 export_symbols_cmds \ 12410 export_symbols_cmds \
12438 prelink_cmds \ 12411 prelink_cmds \
@@ -12440,7 +12413,7 @@ Index: binutils-2.21.1/binutils/configure
12440 postinstall_cmds \ 12413 postinstall_cmds \
12441 postuninstall_cmds \ 12414 postuninstall_cmds \
12442 finish_cmds \ 12415 finish_cmds \
12443@@ -15700,7 +16372,8 @@ $as_echo X"$file" | 12416@@ -15730,7 +16402,8 @@ $as_echo X"$file" |
12444 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 12417 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12445 # 12418 #
12446 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 12419 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -12450,7 +12423,7 @@ Index: binutils-2.21.1/binutils/configure
12450 # Written by Gordon Matzigkeit, 1996 12423 # Written by Gordon Matzigkeit, 1996
12451 # 12424 #
12452 # This file is part of GNU Libtool. 12425 # This file is part of GNU Libtool.
12453@@ -15803,19 +16476,42 @@ SP2NL=$lt_lt_SP2NL 12426@@ -15833,19 +16506,42 @@ SP2NL=$lt_lt_SP2NL
12454 # turn newlines into spaces. 12427 # turn newlines into spaces.
12455 NL2SP=$lt_lt_NL2SP 12428 NL2SP=$lt_lt_NL2SP
12456 12429
@@ -12494,7 +12467,7 @@ Index: binutils-2.21.1/binutils/configure
12494 # A symbol stripping program. 12467 # A symbol stripping program.
12495 STRIP=$lt_STRIP 12468 STRIP=$lt_STRIP
12496 12469
12497@@ -15845,6 +16541,12 @@ global_symbol_to_c_name_address=$lt_lt_c 12470@@ -15875,6 +16571,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. 12471 # 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 12472 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12500 12473
@@ -12507,7 +12480,7 @@ Index: binutils-2.21.1/binutils/configure
12507 # The name of the directory that contains temporary libtool files. 12480 # The name of the directory that contains temporary libtool files.
12508 objdir=$objdir 12481 objdir=$objdir
12509 12482
12510@@ -15854,6 +16556,9 @@ MAGIC_CMD=$MAGIC_CMD 12483@@ -15884,6 +16586,9 @@ MAGIC_CMD=$MAGIC_CMD
12511 # Must we lock files when doing compilation? 12484 # Must we lock files when doing compilation?
12512 need_locks=$lt_need_locks 12485 need_locks=$lt_need_locks
12513 12486
@@ -12517,7 +12490,7 @@ Index: binutils-2.21.1/binutils/configure
12517 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 12490 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12518 DSYMUTIL=$lt_DSYMUTIL 12491 DSYMUTIL=$lt_DSYMUTIL
12519 12492
12520@@ -15968,12 +16673,12 @@ with_gcc=$GCC 12493@@ -15998,12 +16703,12 @@ with_gcc=$GCC
12521 # Compiler flag to turn off builtin functions. 12494 # Compiler flag to turn off builtin functions.
12522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 12495 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12523 12496
@@ -12533,7 +12506,7 @@ Index: binutils-2.21.1/binutils/configure
12533 # Compiler flag to prevent dynamic linking. 12506 # Compiler flag to prevent dynamic linking.
12534 link_static_flag=$lt_lt_prog_compiler_static 12507 link_static_flag=$lt_lt_prog_compiler_static
12535 12508
12536@@ -16060,9 +16765,6 @@ inherit_rpath=$inherit_rpath 12509@@ -16090,9 +16795,6 @@ inherit_rpath=$inherit_rpath
12537 # Whether libtool must link a program against all its dependency libraries. 12510 # Whether libtool must link a program against all its dependency libraries.
12538 link_all_deplibs=$link_all_deplibs 12511 link_all_deplibs=$link_all_deplibs
12539 12512
@@ -12543,7 +12516,7 @@ Index: binutils-2.21.1/binutils/configure
12543 # Set to "yes" if exported symbols are required. 12516 # Set to "yes" if exported symbols are required.
12544 always_export_symbols=$always_export_symbols 12517 always_export_symbols=$always_export_symbols
12545 12518
12546@@ -16078,6 +16780,9 @@ include_expsyms=$lt_include_expsyms 12519@@ -16108,6 +16810,9 @@ include_expsyms=$lt_include_expsyms
12547 # Commands necessary for linking programs (against libraries) with templates. 12520 # Commands necessary for linking programs (against libraries) with templates.
12548 prelink_cmds=$lt_prelink_cmds 12521 prelink_cmds=$lt_prelink_cmds
12549 12522
@@ -12553,7 +12526,7 @@ Index: binutils-2.21.1/binutils/configure
12553 # Specify filename containing input files. 12526 # Specify filename containing input files.
12554 file_list_spec=$lt_file_list_spec 12527 file_list_spec=$lt_file_list_spec
12555 12528
12556@@ -16110,210 +16815,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 12529@@ -16140,210 +16845,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
12557 # if finds mixed CR/LF and LF-only lines. Since sed operates in 12530 # 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 12531 # text mode, it properly converts lines to CR/LF. This bash problem
12559 # is reportedly fixed, but why not run on old versions too? 12532 # is reportedly fixed, but why not run on old versions too?
@@ -12924,10 +12897,10 @@ Index: binutils-2.21.1/binutils/configure
12924 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 12897 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12925 chmod +x "$ofile" 12898 chmod +x "$ofile"
12926 12899
12927Index: binutils-2.21.1/gas/configure 12900Index: binutils-2.22/gas/configure
12928=================================================================== 12901===================================================================
12929--- binutils-2.21.1.orig/gas/configure 12902--- binutils-2.22.orig/gas/configure
12930+++ binutils-2.21.1/gas/configure 12903+++ binutils-2.22/gas/configure
12931@@ -645,8 +645,11 @@ OTOOL 12904@@ -645,8 +645,11 @@ OTOOL
12932 LIPO 12905 LIPO
12933 NMEDIT 12906 NMEDIT
@@ -14015,7 +13988,7 @@ Index: binutils-2.21.1/gas/configure
14015 ;; 13988 ;;
14016 13989
14017 darwin* | rhapsody*) 13990 darwin* | rhapsody*)
14018@@ -9435,7 +10018,7 @@ if test -z "$aix_libpath"; then aix_libp 13991@@ -9431,7 +10014,7 @@ if test -z "$aix_libpath"; then aix_libp
14019 13992
14020 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 13993 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14021 freebsd* | dragonfly*) 13994 freebsd* | dragonfly*)
@@ -14024,7 +13997,7 @@ Index: binutils-2.21.1/gas/configure
14024 hardcode_libdir_flag_spec='-R$libdir' 13997 hardcode_libdir_flag_spec='-R$libdir'
14025 hardcode_direct=yes 13998 hardcode_direct=yes
14026 hardcode_shlibpath_var=no 13999 hardcode_shlibpath_var=no
14027@@ -9443,7 +10026,7 @@ if test -z "$aix_libpath"; then aix_libp 14000@@ -9439,7 +10022,7 @@ if test -z "$aix_libpath"; then aix_libp
14028 14001
14029 hpux9*) 14002 hpux9*)
14030 if test "$GCC" = yes; then 14003 if test "$GCC" = yes; then
@@ -14033,7 +14006,7 @@ Index: binutils-2.21.1/gas/configure
14033 else 14006 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' 14007 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 14008 fi
14036@@ -9459,7 +10042,7 @@ if test -z "$aix_libpath"; then aix_libp 14009@@ -9455,7 +10038,7 @@ if test -z "$aix_libpath"; then aix_libp
14037 14010
14038 hpux10*) 14011 hpux10*)
14039 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 14012 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -14042,7 +14015,7 @@ Index: binutils-2.21.1/gas/configure
14042 else 14015 else
14043 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 14016 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14044 fi 14017 fi
14045@@ -9483,10 +10066,10 @@ if test -z "$aix_libpath"; then aix_libp 14018@@ -9479,10 +10062,10 @@ if test -z "$aix_libpath"; then aix_libp
14046 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 14019 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14047 ;; 14020 ;;
14048 ia64*) 14021 ia64*)
@@ -14055,7 +14028,7 @@ Index: binutils-2.21.1/gas/configure
14055 ;; 14028 ;;
14056 esac 14029 esac
14057 else 14030 else
14058@@ -9565,23 +10148,36 @@ fi 14031@@ -9561,23 +10144,36 @@ fi
14059 14032
14060 irix5* | irix6* | nonstopux*) 14033 irix5* | irix6* | nonstopux*)
14061 if test "$GCC" = yes; then 14034 if test "$GCC" = yes; then
@@ -14100,7 +14073,7 @@ Index: binutils-2.21.1/gas/configure
14100 else 14073 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' 14074 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' 14075 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 @@ rm -f core conftest.err conftest.$ac_obj 14076@@ -9662,7 +10258,7 @@ rm -f core conftest.err conftest.$ac_obj
14104 osf4* | osf5*) # as osf3* with the addition of -msym flag 14077 osf4* | osf5*) # as osf3* with the addition of -msym flag
14105 if test "$GCC" = yes; then 14078 if test "$GCC" = yes; then
14106 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 14079 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -14109,7 +14082,7 @@ Index: binutils-2.21.1/gas/configure
14109 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 14082 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14110 else 14083 else
14111 allow_undefined_flag=' -expect_unresolved \*' 14084 allow_undefined_flag=' -expect_unresolved \*'
14112@@ -9685,9 +10281,9 @@ rm -f core conftest.err conftest.$ac_obj 14085@@ -9681,9 +10277,9 @@ rm -f core conftest.err conftest.$ac_obj
14113 no_undefined_flag=' -z defs' 14086 no_undefined_flag=' -z defs'
14114 if test "$GCC" = yes; then 14087 if test "$GCC" = yes; then
14115 wlarc='${wl}' 14088 wlarc='${wl}'
@@ -14121,7 +14094,7 @@ Index: binutils-2.21.1/gas/configure
14121 else 14094 else
14122 case `$CC -V 2>&1` in 14095 case `$CC -V 2>&1` in
14123 *"Compilers 5.0"*) 14096 *"Compilers 5.0"*)
14124@@ -10263,8 +10859,9 @@ cygwin* | mingw* | pw32* | cegcc*) 14097@@ -10259,8 +10855,9 @@ cygwin* | mingw* | pw32* | cegcc*)
14125 need_version=no 14098 need_version=no
14126 need_lib_prefix=no 14099 need_lib_prefix=no
14127 14100
@@ -14133,7 +14106,7 @@ Index: binutils-2.21.1/gas/configure
14133 library_names_spec='$libname.dll.a' 14106 library_names_spec='$libname.dll.a'
14134 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14107 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14135 postinstall_cmds='base_file=`basename \${file}`~ 14108 postinstall_cmds='base_file=`basename \${file}`~
14136@@ -10297,13 +10894,71 @@ cygwin* | mingw* | pw32* | cegcc*) 14109@@ -10293,13 +10890,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}' 14110 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14138 ;; 14111 ;;
14139 esac 14112 esac
@@ -14206,7 +14179,7 @@ Index: binutils-2.21.1/gas/configure
14206 # FIXME: first we should search . and the directory the executable is in 14179 # FIXME: first we should search . and the directory the executable is in
14207 shlibpath_var=PATH 14180 shlibpath_var=PATH
14208 ;; 14181 ;;
14209@@ -10399,7 +11054,7 @@ haiku*) 14182@@ -10391,7 +11046,7 @@ haiku*)
14210 soname_spec='${libname}${release}${shared_ext}$major' 14183 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LIBRARY_PATH 14184 shlibpath_var=LIBRARY_PATH
14212 shlibpath_overrides_runpath=yes 14185 shlibpath_overrides_runpath=yes
@@ -14215,16 +14188,16 @@ Index: binutils-2.21.1/gas/configure
14215 hardcode_into_libs=yes 14188 hardcode_into_libs=yes
14216 ;; 14189 ;;
14217 14190
14218@@ -11195,7 +11850,7 @@ else 14191@@ -11187,7 +11842,7 @@ else
14219 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14192 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14220 lt_status=$lt_dlunknown 14193 lt_status=$lt_dlunknown
14221 cat > conftest.$ac_ext <<_LT_EOF 14194 cat > conftest.$ac_ext <<_LT_EOF
14222-#line 11198 "configure" 14195-#line 11190 "configure"
14223+#line $LINENO "configure" 14196+#line $LINENO "configure"
14224 #include "confdefs.h" 14197 #include "confdefs.h"
14225 14198
14226 #if HAVE_DLFCN_H 14199 #if HAVE_DLFCN_H
14227@@ -11239,10 +11894,10 @@ else 14200@@ -11231,10 +11886,10 @@ else
14228 /* When -fvisbility=hidden is used, assume the code has been annotated 14201 /* When -fvisbility=hidden is used, assume the code has been annotated
14229 correspondingly for the symbols needed. */ 14202 correspondingly for the symbols needed. */
14230 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14203 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14237,16 +14210,16 @@ Index: binutils-2.21.1/gas/configure
14237 int main () 14210 int main ()
14238 { 14211 {
14239 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14240@@ -11301,7 +11956,7 @@ else 14213@@ -11293,7 +11948,7 @@ else
14241 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 14214 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14242 lt_status=$lt_dlunknown 14215 lt_status=$lt_dlunknown
14243 cat > conftest.$ac_ext <<_LT_EOF 14216 cat > conftest.$ac_ext <<_LT_EOF
14244-#line 11304 "configure" 14217-#line 11296 "configure"
14245+#line $LINENO "configure" 14218+#line $LINENO "configure"
14246 #include "confdefs.h" 14219 #include "confdefs.h"
14247 14220
14248 #if HAVE_DLFCN_H 14221 #if HAVE_DLFCN_H
14249@@ -11345,10 +12000,10 @@ else 14222@@ -11337,10 +11992,10 @@ else
14250 /* When -fvisbility=hidden is used, assume the code has been annotated 14223 /* When -fvisbility=hidden is used, assume the code has been annotated
14251 correspondingly for the symbols needed. */ 14224 correspondingly for the symbols needed. */
14252 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 14225 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -14259,7 +14232,7 @@ Index: binutils-2.21.1/gas/configure
14259 int main () 14232 int main ()
14260 { 14233 {
14261 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 14234 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14262@@ -14941,13 +15596,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_ 14235@@ -14939,13 +15594,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
14263 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14236 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14264 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14237 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14265 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14238 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -14280,7 +14253,7 @@ Index: binutils-2.21.1/gas/configure
14280 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14253 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14281 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14254 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14282 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14255 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14283@@ -14962,14 +15624,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l 14256@@ -14960,14 +15622,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"`' 14257 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"`' 14258 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"`' 14259 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 +14272,7 @@ Index: binutils-2.21.1/gas/configure
14299 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14272 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14300 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14273 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14301 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14274 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14302@@ -15002,12 +15667,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod 14275@@ -15000,12 +15665,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
14303 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14276 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14304 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14277 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14305 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14278 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -14313,7 +14286,7 @@ Index: binutils-2.21.1/gas/configure
14313 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14286 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"`' 14287 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"`' 14288 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14316@@ -15062,8 +15727,13 @@ reload_flag \ 14289@@ -15060,8 +15725,13 @@ reload_flag \
14317 OBJDUMP \ 14290 OBJDUMP \
14318 deplibs_check_method \ 14291 deplibs_check_method \
14319 file_magic_cmd \ 14292 file_magic_cmd \
@@ -14327,7 +14300,7 @@ Index: binutils-2.21.1/gas/configure
14327 STRIP \ 14300 STRIP \
14328 RANLIB \ 14301 RANLIB \
14329 CC \ 14302 CC \
14330@@ -15073,12 +15743,14 @@ lt_cv_sys_global_symbol_pipe \ 14303@@ -15071,12 +15741,14 @@ lt_cv_sys_global_symbol_pipe \
14331 lt_cv_sys_global_symbol_to_cdecl \ 14304 lt_cv_sys_global_symbol_to_cdecl \
14332 lt_cv_sys_global_symbol_to_c_name_address \ 14305 lt_cv_sys_global_symbol_to_c_name_address \
14333 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14306 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -14343,7 +14316,7 @@ Index: binutils-2.21.1/gas/configure
14343 DSYMUTIL \ 14316 DSYMUTIL \
14344 NMEDIT \ 14317 NMEDIT \
14345 LIPO \ 14318 LIPO \
14346@@ -15094,7 +15766,6 @@ no_undefined_flag \ 14319@@ -15092,7 +15764,6 @@ no_undefined_flag \
14347 hardcode_libdir_flag_spec \ 14320 hardcode_libdir_flag_spec \
14348 hardcode_libdir_flag_spec_ld \ 14321 hardcode_libdir_flag_spec_ld \
14349 hardcode_libdir_separator \ 14322 hardcode_libdir_separator \
@@ -14351,7 +14324,7 @@ Index: binutils-2.21.1/gas/configure
14351 exclude_expsyms \ 14324 exclude_expsyms \
14352 include_expsyms \ 14325 include_expsyms \
14353 file_list_spec \ 14326 file_list_spec \
14354@@ -15130,6 +15801,7 @@ module_cmds \ 14327@@ -15128,6 +15799,7 @@ module_cmds \
14355 module_expsym_cmds \ 14328 module_expsym_cmds \
14356 export_symbols_cmds \ 14329 export_symbols_cmds \
14357 prelink_cmds \ 14330 prelink_cmds \
@@ -14359,7 +14332,7 @@ Index: binutils-2.21.1/gas/configure
14359 postinstall_cmds \ 14332 postinstall_cmds \
14360 postuninstall_cmds \ 14333 postuninstall_cmds \
14361 finish_cmds \ 14334 finish_cmds \
14362@@ -15894,7 +16566,8 @@ $as_echo X"$file" | 14335@@ -15892,7 +16564,8 @@ $as_echo X"$file" |
14363 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 14336 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14364 # 14337 #
14365 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14338 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -14369,7 +14342,7 @@ Index: binutils-2.21.1/gas/configure
14369 # Written by Gordon Matzigkeit, 1996 14342 # Written by Gordon Matzigkeit, 1996
14370 # 14343 #
14371 # This file is part of GNU Libtool. 14344 # This file is part of GNU Libtool.
14372@@ -15997,19 +16670,42 @@ SP2NL=$lt_lt_SP2NL 14345@@ -15995,19 +16668,42 @@ SP2NL=$lt_lt_SP2NL
14373 # turn newlines into spaces. 14346 # turn newlines into spaces.
14374 NL2SP=$lt_lt_NL2SP 14347 NL2SP=$lt_lt_NL2SP
14375 14348
@@ -14413,7 +14386,7 @@ Index: binutils-2.21.1/gas/configure
14413 # A symbol stripping program. 14386 # A symbol stripping program.
14414 STRIP=$lt_STRIP 14387 STRIP=$lt_STRIP
14415 14388
14416@@ -16039,6 +16735,12 @@ global_symbol_to_c_name_address=$lt_lt_c 14389@@ -16037,6 +16733,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. 14390 # 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 14391 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14419 14392
@@ -14426,7 +14399,7 @@ Index: binutils-2.21.1/gas/configure
14426 # The name of the directory that contains temporary libtool files. 14399 # The name of the directory that contains temporary libtool files.
14427 objdir=$objdir 14400 objdir=$objdir
14428 14401
14429@@ -16048,6 +16750,9 @@ MAGIC_CMD=$MAGIC_CMD 14402@@ -16046,6 +16748,9 @@ MAGIC_CMD=$MAGIC_CMD
14430 # Must we lock files when doing compilation? 14403 # Must we lock files when doing compilation?
14431 need_locks=$lt_need_locks 14404 need_locks=$lt_need_locks
14432 14405
@@ -14436,7 +14409,7 @@ Index: binutils-2.21.1/gas/configure
14436 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14409 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14437 DSYMUTIL=$lt_DSYMUTIL 14410 DSYMUTIL=$lt_DSYMUTIL
14438 14411
14439@@ -16162,12 +16867,12 @@ with_gcc=$GCC 14412@@ -16160,12 +16865,12 @@ with_gcc=$GCC
14440 # Compiler flag to turn off builtin functions. 14413 # Compiler flag to turn off builtin functions.
14441 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 14414 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14442 14415
@@ -14452,7 +14425,7 @@ Index: binutils-2.21.1/gas/configure
14452 # Compiler flag to prevent dynamic linking. 14425 # Compiler flag to prevent dynamic linking.
14453 link_static_flag=$lt_lt_prog_compiler_static 14426 link_static_flag=$lt_lt_prog_compiler_static
14454 14427
14455@@ -16254,9 +16959,6 @@ inherit_rpath=$inherit_rpath 14428@@ -16252,9 +16957,6 @@ inherit_rpath=$inherit_rpath
14456 # Whether libtool must link a program against all its dependency libraries. 14429 # Whether libtool must link a program against all its dependency libraries.
14457 link_all_deplibs=$link_all_deplibs 14430 link_all_deplibs=$link_all_deplibs
14458 14431
@@ -14462,7 +14435,7 @@ Index: binutils-2.21.1/gas/configure
14462 # Set to "yes" if exported symbols are required. 14435 # Set to "yes" if exported symbols are required.
14463 always_export_symbols=$always_export_symbols 14436 always_export_symbols=$always_export_symbols
14464 14437
14465@@ -16272,6 +16974,9 @@ include_expsyms=$lt_include_expsyms 14438@@ -16270,6 +16972,9 @@ include_expsyms=$lt_include_expsyms
14466 # Commands necessary for linking programs (against libraries) with templates. 14439 # Commands necessary for linking programs (against libraries) with templates.
14467 prelink_cmds=$lt_prelink_cmds 14440 prelink_cmds=$lt_prelink_cmds
14468 14441
@@ -14472,7 +14445,7 @@ Index: binutils-2.21.1/gas/configure
14472 # Specify filename containing input files. 14445 # Specify filename containing input files.
14473 file_list_spec=$lt_file_list_spec 14446 file_list_spec=$lt_file_list_spec
14474 14447
14475@@ -16304,210 +17009,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 14448@@ -16302,210 +17007,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
14476 # if finds mixed CR/LF and LF-only lines. Since sed operates in 14449 # 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 14450 # text mode, it properly converts lines to CR/LF. This bash problem
14478 # is reportedly fixed, but why not run on old versions too? 14451 # is reportedly fixed, but why not run on old versions too?
@@ -14843,10 +14816,10 @@ Index: binutils-2.21.1/gas/configure
14843 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 14816 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14844 chmod +x "$ofile" 14817 chmod +x "$ofile"
14845 14818
14846Index: binutils-2.21.1/gprof/configure 14819Index: binutils-2.22/gprof/configure
14847=================================================================== 14820===================================================================
14848--- binutils-2.21.1.orig/gprof/configure 14821--- binutils-2.22.orig/gprof/configure
14849+++ binutils-2.21.1/gprof/configure 14822+++ binutils-2.22/gprof/configure
14850@@ -629,8 +629,11 @@ OTOOL 14823@@ -629,8 +629,11 @@ OTOOL
14851 LIPO 14824 LIPO
14852 NMEDIT 14825 NMEDIT
@@ -15946,7 +15919,7 @@ Index: binutils-2.21.1/gprof/configure
15946 ;; 15919 ;;
15947 15920
15948 darwin* | rhapsody*) 15921 darwin* | rhapsody*)
15949@@ -9370,7 +9948,7 @@ if test -z "$aix_libpath"; then aix_libp 15922@@ -9366,7 +9944,7 @@ if test -z "$aix_libpath"; then aix_libp
15950 15923
15951 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 15924 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15952 freebsd* | dragonfly*) 15925 freebsd* | dragonfly*)
@@ -15955,7 +15928,7 @@ Index: binutils-2.21.1/gprof/configure
15955 hardcode_libdir_flag_spec='-R$libdir' 15928 hardcode_libdir_flag_spec='-R$libdir'
15956 hardcode_direct=yes 15929 hardcode_direct=yes
15957 hardcode_shlibpath_var=no 15930 hardcode_shlibpath_var=no
15958@@ -9378,7 +9956,7 @@ if test -z "$aix_libpath"; then aix_libp 15931@@ -9374,7 +9952,7 @@ if test -z "$aix_libpath"; then aix_libp
15959 15932
15960 hpux9*) 15933 hpux9*)
15961 if test "$GCC" = yes; then 15934 if test "$GCC" = yes; then
@@ -15964,7 +15937,7 @@ Index: binutils-2.21.1/gprof/configure
15964 else 15937 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' 15938 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 15939 fi
15967@@ -9394,7 +9972,7 @@ if test -z "$aix_libpath"; then aix_libp 15940@@ -9390,7 +9968,7 @@ if test -z "$aix_libpath"; then aix_libp
15968 15941
15969 hpux10*) 15942 hpux10*)
15970 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 15943 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
@@ -15973,7 +15946,7 @@ Index: binutils-2.21.1/gprof/configure
15973 else 15946 else
15974 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 15947 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15975 fi 15948 fi
15976@@ -9418,10 +9996,10 @@ if test -z "$aix_libpath"; then aix_libp 15949@@ -9414,10 +9992,10 @@ if test -z "$aix_libpath"; then aix_libp
15977 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 15950 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15978 ;; 15951 ;;
15979 ia64*) 15952 ia64*)
@@ -15986,7 +15959,7 @@ Index: binutils-2.21.1/gprof/configure
15986 ;; 15959 ;;
15987 esac 15960 esac
15988 else 15961 else
15989@@ -9500,23 +10078,36 @@ fi 15962@@ -9496,23 +10074,36 @@ fi
15990 15963
15991 irix5* | irix6* | nonstopux*) 15964 irix5* | irix6* | nonstopux*)
15992 if test "$GCC" = yes; then 15965 if test "$GCC" = yes; then
@@ -16031,7 +16004,7 @@ Index: binutils-2.21.1/gprof/configure
16031 else 16004 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' 16005 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' 16006 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 @@ rm -f core conftest.err conftest.$ac_obj 16007@@ -9597,7 +10188,7 @@ rm -f core conftest.err conftest.$ac_obj
16035 osf4* | osf5*) # as osf3* with the addition of -msym flag 16008 osf4* | osf5*) # as osf3* with the addition of -msym flag
16036 if test "$GCC" = yes; then 16009 if test "$GCC" = yes; then
16037 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 16010 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
@@ -16040,7 +16013,7 @@ Index: binutils-2.21.1/gprof/configure
16040 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 16013 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16041 else 16014 else
16042 allow_undefined_flag=' -expect_unresolved \*' 16015 allow_undefined_flag=' -expect_unresolved \*'
16043@@ -9620,9 +10211,9 @@ rm -f core conftest.err conftest.$ac_obj 16016@@ -9616,9 +10207,9 @@ rm -f core conftest.err conftest.$ac_obj
16044 no_undefined_flag=' -z defs' 16017 no_undefined_flag=' -z defs'
16045 if test "$GCC" = yes; then 16018 if test "$GCC" = yes; then
16046 wlarc='${wl}' 16019 wlarc='${wl}'
@@ -16052,7 +16025,7 @@ Index: binutils-2.21.1/gprof/configure
16052 else 16025 else
16053 case `$CC -V 2>&1` in 16026 case `$CC -V 2>&1` in
16054 *"Compilers 5.0"*) 16027 *"Compilers 5.0"*)
16055@@ -10198,8 +10789,9 @@ cygwin* | mingw* | pw32* | cegcc*) 16028@@ -10194,8 +10785,9 @@ cygwin* | mingw* | pw32* | cegcc*)
16056 need_version=no 16029 need_version=no
16057 need_lib_prefix=no 16030 need_lib_prefix=no
16058 16031
@@ -16064,7 +16037,7 @@ Index: binutils-2.21.1/gprof/configure
16064 library_names_spec='$libname.dll.a' 16037 library_names_spec='$libname.dll.a'
16065 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16038 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16066 postinstall_cmds='base_file=`basename \${file}`~ 16039 postinstall_cmds='base_file=`basename \${file}`~
16067@@ -10232,13 +10824,71 @@ cygwin* | mingw* | pw32* | cegcc*) 16040@@ -10228,13 +10820,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}' 16041 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16069 ;; 16042 ;;
16070 esac 16043 esac
@@ -16137,7 +16110,7 @@ Index: binutils-2.21.1/gprof/configure
16137 # FIXME: first we should search . and the directory the executable is in 16110 # FIXME: first we should search . and the directory the executable is in
16138 shlibpath_var=PATH 16111 shlibpath_var=PATH
16139 ;; 16112 ;;
16140@@ -10334,7 +10984,7 @@ haiku*) 16113@@ -10326,7 +10976,7 @@ haiku*)
16141 soname_spec='${libname}${release}${shared_ext}$major' 16114 soname_spec='${libname}${release}${shared_ext}$major'
16142 shlibpath_var=LIBRARY_PATH 16115 shlibpath_var=LIBRARY_PATH
16143 shlibpath_overrides_runpath=yes 16116 shlibpath_overrides_runpath=yes
@@ -16146,16 +16119,16 @@ Index: binutils-2.21.1/gprof/configure
16146 hardcode_into_libs=yes 16119 hardcode_into_libs=yes
16147 ;; 16120 ;;
16148 16121
16149@@ -11130,7 +11780,7 @@ else 16122@@ -11122,7 +11772,7 @@ else
16150 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16123 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16151 lt_status=$lt_dlunknown 16124 lt_status=$lt_dlunknown
16152 cat > conftest.$ac_ext <<_LT_EOF 16125 cat > conftest.$ac_ext <<_LT_EOF
16153-#line 11128 "configure" 16126-#line 11120 "configure"
16154+#line $LINENO "configure" 16127+#line $LINENO "configure"
16155 #include "confdefs.h" 16128 #include "confdefs.h"
16156 16129
16157 #if HAVE_DLFCN_H 16130 #if HAVE_DLFCN_H
16158@@ -11174,10 +11824,10 @@ else 16131@@ -11166,10 +11816,10 @@ else
16159 /* When -fvisbility=hidden is used, assume the code has been annotated 16132 /* When -fvisbility=hidden is used, assume the code has been annotated
16160 correspondingly for the symbols needed. */ 16133 correspondingly for the symbols needed. */
16161 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16134 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -16168,16 +16141,16 @@ Index: binutils-2.21.1/gprof/configure
16168 int main () 16141 int main ()
16169 { 16142 {
16170 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16143 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16171@@ -11236,7 +11886,7 @@ else 16144@@ -11228,7 +11878,7 @@ else
16172 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 16145 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16173 lt_status=$lt_dlunknown 16146 lt_status=$lt_dlunknown
16174 cat > conftest.$ac_ext <<_LT_EOF 16147 cat > conftest.$ac_ext <<_LT_EOF
16175-#line 11234 "configure" 16148-#line 11226 "configure"
16176+#line $LINENO "configure" 16149+#line $LINENO "configure"
16177 #include "confdefs.h" 16150 #include "confdefs.h"
16178 16151
16179 #if HAVE_DLFCN_H 16152 #if HAVE_DLFCN_H
16180@@ -11280,10 +11930,10 @@ else 16153@@ -11272,10 +11922,10 @@ else
16181 /* When -fvisbility=hidden is used, assume the code has been annotated 16154 /* When -fvisbility=hidden is used, assume the code has been annotated
16182 correspondingly for the symbols needed. */ 16155 correspondingly for the symbols needed. */
16183 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 16156 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -16190,7 +16163,7 @@ Index: binutils-2.21.1/gprof/configure
16190 int main () 16163 int main ()
16191 { 16164 {
16192 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 16165 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16193@@ -12825,13 +13475,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_ 16166@@ -12817,13 +13467,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
16194 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 16167 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16195 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 16168 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16196 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 16169 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -16211,7 +16184,7 @@ Index: binutils-2.21.1/gprof/configure
16211 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 16184 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16212 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 16185 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16213 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 16186 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16214@@ -12846,14 +13503,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l 16187@@ -12838,14 +13495,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"`' 16188 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"`' 16189 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"`' 16190 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 +16203,7 @@ Index: binutils-2.21.1/gprof/configure
16230 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 16203 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16231 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 16204 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16232 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 16205 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16233@@ -12886,12 +13546,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod 16206@@ -12878,12 +13538,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
16234 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 16207 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16235 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 16208 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16236 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 16209 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -16244,7 +16217,7 @@ Index: binutils-2.21.1/gprof/configure
16244 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 16217 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"`' 16218 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"`' 16219 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16247@@ -12946,8 +13606,13 @@ reload_flag \ 16220@@ -12938,8 +13598,13 @@ reload_flag \
16248 OBJDUMP \ 16221 OBJDUMP \
16249 deplibs_check_method \ 16222 deplibs_check_method \
16250 file_magic_cmd \ 16223 file_magic_cmd \
@@ -16258,7 +16231,7 @@ Index: binutils-2.21.1/gprof/configure
16258 STRIP \ 16231 STRIP \
16259 RANLIB \ 16232 RANLIB \
16260 CC \ 16233 CC \
16261@@ -12957,12 +13622,14 @@ lt_cv_sys_global_symbol_pipe \ 16234@@ -12949,12 +13614,14 @@ lt_cv_sys_global_symbol_pipe \
16262 lt_cv_sys_global_symbol_to_cdecl \ 16235 lt_cv_sys_global_symbol_to_cdecl \
16263 lt_cv_sys_global_symbol_to_c_name_address \ 16236 lt_cv_sys_global_symbol_to_c_name_address \
16264 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 16237 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -16274,7 +16247,7 @@ Index: binutils-2.21.1/gprof/configure
16274 DSYMUTIL \ 16247 DSYMUTIL \
16275 NMEDIT \ 16248 NMEDIT \
16276 LIPO \ 16249 LIPO \
16277@@ -12978,7 +13645,6 @@ no_undefined_flag \ 16250@@ -12970,7 +13637,6 @@ no_undefined_flag \
16278 hardcode_libdir_flag_spec \ 16251 hardcode_libdir_flag_spec \
16279 hardcode_libdir_flag_spec_ld \ 16252 hardcode_libdir_flag_spec_ld \
16280 hardcode_libdir_separator \ 16253 hardcode_libdir_separator \
@@ -16282,7 +16255,7 @@ Index: binutils-2.21.1/gprof/configure
16282 exclude_expsyms \ 16255 exclude_expsyms \
16283 include_expsyms \ 16256 include_expsyms \
16284 file_list_spec \ 16257 file_list_spec \
16285@@ -13014,6 +13680,7 @@ module_cmds \ 16258@@ -13006,6 +13672,7 @@ module_cmds \
16286 module_expsym_cmds \ 16259 module_expsym_cmds \
16287 export_symbols_cmds \ 16260 export_symbols_cmds \
16288 prelink_cmds \ 16261 prelink_cmds \
@@ -16290,7 +16263,7 @@ Index: binutils-2.21.1/gprof/configure
16290 postinstall_cmds \ 16263 postinstall_cmds \
16291 postuninstall_cmds \ 16264 postuninstall_cmds \
16292 finish_cmds \ 16265 finish_cmds \
16293@@ -13770,7 +14437,8 @@ $as_echo X"$file" | 16266@@ -13762,7 +14429,8 @@ $as_echo X"$file" |
16294 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 16267 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16295 # 16268 #
16296 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16269 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -16300,7 +16273,7 @@ Index: binutils-2.21.1/gprof/configure
16300 # Written by Gordon Matzigkeit, 1996 16273 # Written by Gordon Matzigkeit, 1996
16301 # 16274 #
16302 # This file is part of GNU Libtool. 16275 # This file is part of GNU Libtool.
16303@@ -13873,19 +14541,42 @@ SP2NL=$lt_lt_SP2NL 16276@@ -13865,19 +14533,42 @@ SP2NL=$lt_lt_SP2NL
16304 # turn newlines into spaces. 16277 # turn newlines into spaces.
16305 NL2SP=$lt_lt_NL2SP 16278 NL2SP=$lt_lt_NL2SP
16306 16279
@@ -16344,7 +16317,7 @@ Index: binutils-2.21.1/gprof/configure
16344 # A symbol stripping program. 16317 # A symbol stripping program.
16345 STRIP=$lt_STRIP 16318 STRIP=$lt_STRIP
16346 16319
16347@@ -13915,6 +14606,12 @@ global_symbol_to_c_name_address=$lt_lt_c 16320@@ -13907,6 +14598,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. 16321 # 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 16322 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16350 16323
@@ -16357,7 +16330,7 @@ Index: binutils-2.21.1/gprof/configure
16357 # The name of the directory that contains temporary libtool files. 16330 # The name of the directory that contains temporary libtool files.
16358 objdir=$objdir 16331 objdir=$objdir
16359 16332
16360@@ -13924,6 +14621,9 @@ MAGIC_CMD=$MAGIC_CMD 16333@@ -13916,6 +14613,9 @@ MAGIC_CMD=$MAGIC_CMD
16361 # Must we lock files when doing compilation? 16334 # Must we lock files when doing compilation?
16362 need_locks=$lt_need_locks 16335 need_locks=$lt_need_locks
16363 16336
@@ -16367,7 +16340,7 @@ Index: binutils-2.21.1/gprof/configure
16367 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16340 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16368 DSYMUTIL=$lt_DSYMUTIL 16341 DSYMUTIL=$lt_DSYMUTIL
16369 16342
16370@@ -14038,12 +14738,12 @@ with_gcc=$GCC 16343@@ -14030,12 +14730,12 @@ with_gcc=$GCC
16371 # Compiler flag to turn off builtin functions. 16344 # Compiler flag to turn off builtin functions.
16372 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16345 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16373 16346
@@ -16383,7 +16356,7 @@ Index: binutils-2.21.1/gprof/configure
16383 # Compiler flag to prevent dynamic linking. 16356 # Compiler flag to prevent dynamic linking.
16384 link_static_flag=$lt_lt_prog_compiler_static 16357 link_static_flag=$lt_lt_prog_compiler_static
16385 16358
16386@@ -14130,9 +14830,6 @@ inherit_rpath=$inherit_rpath 16359@@ -14122,9 +14822,6 @@ inherit_rpath=$inherit_rpath
16387 # Whether libtool must link a program against all its dependency libraries. 16360 # Whether libtool must link a program against all its dependency libraries.
16388 link_all_deplibs=$link_all_deplibs 16361 link_all_deplibs=$link_all_deplibs
16389 16362
@@ -16393,7 +16366,7 @@ Index: binutils-2.21.1/gprof/configure
16393 # Set to "yes" if exported symbols are required. 16366 # Set to "yes" if exported symbols are required.
16394 always_export_symbols=$always_export_symbols 16367 always_export_symbols=$always_export_symbols
16395 16368
16396@@ -14148,6 +14845,9 @@ include_expsyms=$lt_include_expsyms 16369@@ -14140,6 +14837,9 @@ include_expsyms=$lt_include_expsyms
16397 # Commands necessary for linking programs (against libraries) with templates. 16370 # Commands necessary for linking programs (against libraries) with templates.
16398 prelink_cmds=$lt_prelink_cmds 16371 prelink_cmds=$lt_prelink_cmds
16399 16372
@@ -16403,7 +16376,7 @@ Index: binutils-2.21.1/gprof/configure
16403 # Specify filename containing input files. 16376 # Specify filename containing input files.
16404 file_list_spec=$lt_file_list_spec 16377 file_list_spec=$lt_file_list_spec
16405 16378
16406@@ -14180,210 +14880,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 16379@@ -14172,210 +14872,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
16407 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16380 # 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 16381 # text mode, it properly converts lines to CR/LF. This bash problem
16409 # is reportedly fixed, but why not run on old versions too? 16382 # is reportedly fixed, but why not run on old versions too?
@@ -16774,11 +16747,11 @@ Index: binutils-2.21.1/gprof/configure
16774 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16747 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16775 chmod +x "$ofile" 16748 chmod +x "$ofile"
16776 16749
16777Index: binutils-2.21.1/ld/configure 16750Index: binutils-2.22/ld/configure
16778=================================================================== 16751===================================================================
16779--- binutils-2.21.1.orig/ld/configure 16752--- binutils-2.22.orig/ld/configure
16780+++ binutils-2.21.1/ld/configure 16753+++ binutils-2.22/ld/configure
16781@@ -644,8 +644,11 @@ OTOOL 16754@@ -645,8 +645,11 @@ OTOOL
16782 LIPO 16755 LIPO
16783 NMEDIT 16756 NMEDIT
16784 DSYMUTIL 16757 DSYMUTIL
@@ -16790,15 +16763,15 @@ Index: binutils-2.21.1/ld/configure
16790 OBJDUMP 16763 OBJDUMP
16791 LN_S 16764 LN_S
16792 NM 16765 NM
16793@@ -783,6 +786,7 @@ enable_static 16766@@ -784,6 +787,7 @@ enable_static
16794 with_pic 16767 with_pic
16795 enable_fast_install 16768 enable_fast_install
16796 with_gnu_ld 16769 with_gnu_ld
16797+with_libtool_sysroot 16770+with_libtool_sysroot
16798 enable_libtool_lock 16771 enable_libtool_lock
16799 enable_nls 16772 enable_nls
16800 ' 16773 enable_initfini_array
16801@@ -1447,6 +1451,8 @@ Optional Packages: 16774@@ -1450,6 +1454,8 @@ Optional Packages:
16802 --with-pic try to use only PIC/non-PIC objects [default=use 16775 --with-pic try to use only PIC/non-PIC objects [default=use
16803 both] 16776 both]
16804 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 16777 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
@@ -16807,7 +16780,7 @@ Index: binutils-2.21.1/ld/configure
16807 16780
16808 Some influential environment variables: 16781 Some influential environment variables:
16809 CC C compiler command 16782 CC C compiler command
16810@@ -6081,8 +6087,8 @@ esac 16783@@ -6085,8 +6091,8 @@ esac
16811 16784
16812 16785
16813 16786
@@ -16818,7 +16791,7 @@ Index: binutils-2.21.1/ld/configure
16818 16791
16819 16792
16820 16793
16821@@ -6122,7 +6128,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 16794@@ -6126,7 +6132,7 @@ ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
16823 $as_echo_n "checking how to print strings... " >&6; } 16796 $as_echo_n "checking how to print strings... " >&6; }
16824 # Test print first, because it will be a builtin if present. 16797 # Test print first, because it will be a builtin if present.
@@ -16827,7 +16800,7 @@ Index: binutils-2.21.1/ld/configure
16827 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 16800 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
16828 ECHO='print -r --' 16801 ECHO='print -r --'
16829 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 16802 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
16830@@ -6808,8 +6814,8 @@ $as_echo_n "checking whether the shell u 16803@@ -6812,8 +6818,8 @@ $as_echo_n "checking whether the shell u
16831 # Try some XSI features 16804 # Try some XSI features
16832 xsi_shell=no 16805 xsi_shell=no
16833 ( _lt_dummy="a/b/c" 16806 ( _lt_dummy="a/b/c"
@@ -16838,7 +16811,7 @@ Index: binutils-2.21.1/ld/configure
16838 && eval 'test $(( 1 + 1 )) -eq 2 \ 16811 && eval 'test $(( 1 + 1 )) -eq 2 \
16839 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 16812 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
16840 && xsi_shell=yes 16813 && xsi_shell=yes
16841@@ -6858,6 +6864,80 @@ esac 16814@@ -6862,6 +6868,80 @@ esac
16842 16815
16843 16816
16844 16817
@@ -16919,7 +16892,7 @@ Index: binutils-2.21.1/ld/configure
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 16892 { $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; } 16893 $as_echo_n "checking for $LD option to reload object files... " >&6; }
16921 if test "${lt_cv_ld_reload_flag+set}" = set; then : 16894 if test "${lt_cv_ld_reload_flag+set}" = set; then :
16922@@ -6874,6 +6954,11 @@ case $reload_flag in 16895@@ -6878,6 +6958,11 @@ case $reload_flag in
16923 esac 16896 esac
16924 reload_cmds='$LD$reload_flag -o $output$reload_objs' 16897 reload_cmds='$LD$reload_flag -o $output$reload_objs'
16925 case $host_os in 16898 case $host_os in
@@ -16931,7 +16904,7 @@ Index: binutils-2.21.1/ld/configure
16931 darwin*) 16904 darwin*)
16932 if test "$GCC" = yes; then 16905 if test "$GCC" = yes; then
16933 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 16906 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
16934@@ -7042,7 +7127,8 @@ mingw* | pw32*) 16907@@ -7046,7 +7131,8 @@ mingw* | pw32*)
16935 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 16908 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
16936 lt_cv_file_magic_cmd='func_win32_libid' 16909 lt_cv_file_magic_cmd='func_win32_libid'
16937 else 16910 else
@@ -16941,7 +16914,7 @@ Index: binutils-2.21.1/ld/configure
16941 lt_cv_file_magic_cmd='$OBJDUMP -f' 16914 lt_cv_file_magic_cmd='$OBJDUMP -f'
16942 fi 16915 fi
16943 ;; 16916 ;;
16944@@ -7196,6 +7282,21 @@ esac 16917@@ -7200,6 +7286,21 @@ esac
16945 fi 16918 fi
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
16947 $as_echo "$lt_cv_deplibs_check_method" >&6; } 16920 $as_echo "$lt_cv_deplibs_check_method" >&6; }
@@ -16963,7 +16936,7 @@ Index: binutils-2.21.1/ld/configure
16963 file_magic_cmd=$lt_cv_file_magic_cmd 16936 file_magic_cmd=$lt_cv_file_magic_cmd
16964 deplibs_check_method=$lt_cv_deplibs_check_method 16937 deplibs_check_method=$lt_cv_deplibs_check_method
16965 test -z "$deplibs_check_method" && deplibs_check_method=unknown 16938 test -z "$deplibs_check_method" && deplibs_check_method=unknown
16966@@ -7211,9 +7312,162 @@ test -z "$deplibs_check_method" && depli 16939@@ -7215,9 +7316,162 @@ test -z "$deplibs_check_method" && depli
16967 16940
16968 16941
16969 16942
@@ -17128,7 +17101,7 @@ Index: binutils-2.21.1/ld/configure
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17129 $as_echo_n "checking for $ac_word... " >&6; } 17102 $as_echo_n "checking for $ac_word... " >&6; }
17130 if test "${ac_cv_prog_AR+set}" = set; then : 17103 if test "${ac_cv_prog_AR+set}" = set; then :
17131@@ -7229,7 +7483,7 @@ do 17104@@ -7233,7 +7487,7 @@ do
17132 test -z "$as_dir" && as_dir=. 17105 test -z "$as_dir" && as_dir=.
17133 for ac_exec_ext in '' $ac_executable_extensions; do 17106 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 17107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -17137,7 +17110,7 @@ Index: binutils-2.21.1/ld/configure
17137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17138 break 2 17111 break 2
17139 fi 17112 fi
17140@@ -7249,11 +7503,15 @@ $as_echo "no" >&6; } 17113@@ -7253,11 +7507,15 @@ $as_echo "no" >&6; }
17141 fi 17114 fi
17142 17115
17143 17116
@@ -17156,7 +17129,7 @@ Index: binutils-2.21.1/ld/configure
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17157 $as_echo_n "checking for $ac_word... " >&6; } 17130 $as_echo_n "checking for $ac_word... " >&6; }
17158 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 17131 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
17159@@ -7269,7 +7527,7 @@ do 17132@@ -7273,7 +7531,7 @@ do
17160 test -z "$as_dir" && as_dir=. 17133 test -z "$as_dir" && as_dir=.
17161 for ac_exec_ext in '' $ac_executable_extensions; do 17134 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 17135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
@@ -17165,7 +17138,7 @@ Index: binutils-2.21.1/ld/configure
17165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17166 break 2 17139 break 2
17167 fi 17140 fi
17168@@ -7288,6 +7546,10 @@ else 17141@@ -7292,6 +7550,10 @@ else
17169 $as_echo "no" >&6; } 17142 $as_echo "no" >&6; }
17170 fi 17143 fi
17171 17144
@@ -17176,7 +17149,7 @@ Index: binutils-2.21.1/ld/configure
17176 if test "x$ac_ct_AR" = x; then 17149 if test "x$ac_ct_AR" = x; then
17177 AR="false" 17150 AR="false"
17178 else 17151 else
17179@@ -7299,12 +7561,10 @@ ac_tool_warned=yes ;; 17152@@ -7303,12 +7565,10 @@ ac_tool_warned=yes ;;
17180 esac 17153 esac
17181 AR=$ac_ct_AR 17154 AR=$ac_ct_AR
17182 fi 17155 fi
@@ -17191,7 +17164,7 @@ Index: binutils-2.21.1/ld/configure
17191 17164
17192 17165
17193 17166
17194@@ -7316,6 +7576,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru 17167@@ -7320,6 +7580,64 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru
17195 17168
17196 17169
17197 17170
@@ -17256,7 +17229,7 @@ Index: binutils-2.21.1/ld/configure
17256 if test -n "$ac_tool_prefix"; then 17229 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. 17230 # 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 17231 set dummy ${ac_tool_prefix}strip; ac_word=$2
17259@@ -7650,8 +7968,8 @@ esac 17232@@ -7654,8 +7972,8 @@ esac
17260 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 17233 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17261 17234
17262 # Transform an extracted symbol line into symbol name and symbol address 17235 # Transform an extracted symbol line into symbol name and symbol address
@@ -17267,7 +17240,7 @@ Index: binutils-2.21.1/ld/configure
17267 17240
17268 # Handle CRLF in mingw tool chain 17241 # Handle CRLF in mingw tool chain
17269 opt_cr= 17242 opt_cr=
17270@@ -7687,6 +8005,7 @@ for ac_symprfx in "" "_"; do 17243@@ -7691,6 +8009,7 @@ for ac_symprfx in "" "_"; do
17271 else 17244 else
17272 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 17245 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
17273 fi 17246 fi
@@ -17275,7 +17248,7 @@ Index: binutils-2.21.1/ld/configure
17275 17248
17276 # Check to see that the pipe works correctly. 17249 # Check to see that the pipe works correctly.
17277 pipe_works=no 17250 pipe_works=no
17278@@ -7728,6 +8047,18 @@ _LT_EOF 17251@@ -7732,6 +8051,18 @@ _LT_EOF
17279 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 17252 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
17280 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 17253 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
17281 cat <<_LT_EOF > conftest.$ac_ext 17254 cat <<_LT_EOF > conftest.$ac_ext
@@ -17294,7 +17267,7 @@ Index: binutils-2.21.1/ld/configure
17294 #ifdef __cplusplus 17267 #ifdef __cplusplus
17295 extern "C" { 17268 extern "C" {
17296 #endif 17269 #endif
17297@@ -7739,7 +8070,7 @@ _LT_EOF 17270@@ -7743,7 +8074,7 @@ _LT_EOF
17298 cat <<_LT_EOF >> conftest.$ac_ext 17271 cat <<_LT_EOF >> conftest.$ac_ext
17299 17272
17300 /* The mapping between symbol names and symbols. */ 17273 /* The mapping between symbol names and symbols. */
@@ -17303,7 +17276,7 @@ Index: binutils-2.21.1/ld/configure
17303 const char *name; 17276 const char *name;
17304 void *address; 17277 void *address;
17305 } 17278 }
17306@@ -7765,8 +8096,8 @@ static const void *lt_preloaded_setup() 17279@@ -7769,8 +8100,8 @@ static const void *lt_preloaded_setup()
17307 _LT_EOF 17280 _LT_EOF
17308 # Now try linking the two files. 17281 # Now try linking the two files.
17309 mv conftest.$ac_objext conftstm.$ac_objext 17282 mv conftest.$ac_objext conftstm.$ac_objext
@@ -17314,7 +17287,7 @@ Index: binutils-2.21.1/ld/configure
17314 LIBS="conftstm.$ac_objext" 17287 LIBS="conftstm.$ac_objext"
17315 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 17288 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
17316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 17289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17317@@ -7776,8 +8107,8 @@ _LT_EOF 17290@@ -7780,8 +8111,8 @@ _LT_EOF
17318 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 17291 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
17319 pipe_works=yes 17292 pipe_works=yes
17320 fi 17293 fi
@@ -17325,7 +17298,7 @@ Index: binutils-2.21.1/ld/configure
17325 else 17298 else
17326 echo "cannot find nm_test_func in $nlist" >&5 17299 echo "cannot find nm_test_func in $nlist" >&5
17327 fi 17300 fi
17328@@ -7814,6 +8145,21 @@ else 17301@@ -7818,6 +8149,21 @@ else
17329 $as_echo "ok" >&6; } 17302 $as_echo "ok" >&6; }
17330 fi 17303 fi
17331 17304
@@ -17347,7 +17320,7 @@ Index: binutils-2.21.1/ld/configure
17347 17320
17348 17321
17349 17322
17350@@ -7832,6 +8178,40 @@ fi 17323@@ -7836,6 +8182,40 @@ fi
17351 17324
17352 17325
17353 17326
@@ -17388,7 +17361,7 @@ Index: binutils-2.21.1/ld/configure
17388 17361
17389 17362
17390 17363
17391@@ -8022,11 +8402,128 @@ sparc*-*solaris*) 17364@@ -8026,11 +8406,128 @@ sparc*-*solaris*)
17392 ;; 17365 ;;
17393 esac 17366 esac
17394 fi 17367 fi
@@ -17520,7 +17493,7 @@ Index: binutils-2.21.1/ld/configure
17520 17493
17521 17494
17522 case $host_os in 17495 case $host_os in
17523@@ -8591,6 +9088,8 @@ _LT_EOF 17496@@ -8595,6 +9092,8 @@ _LT_EOF
17524 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 17497 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
17525 echo "$AR cru libconftest.a conftest.o" >&5 17498 echo "$AR cru libconftest.a conftest.o" >&5
17526 $AR cru libconftest.a conftest.o 2>&5 17499 $AR cru libconftest.a conftest.o 2>&5
@@ -17529,7 +17502,7 @@ Index: binutils-2.21.1/ld/configure
17529 cat > conftest.c << _LT_EOF 17502 cat > conftest.c << _LT_EOF
17530 int main() { return 0;} 17503 int main() { return 0;}
17531 _LT_EOF 17504 _LT_EOF
17532@@ -8787,7 +9286,8 @@ fi 17505@@ -8791,7 +9290,8 @@ fi
17533 LIBTOOL_DEPS="$ltmain" 17506 LIBTOOL_DEPS="$ltmain"
17534 17507
17535 # Always use our own libtool. 17508 # Always use our own libtool.
@@ -17539,7 +17512,7 @@ Index: binutils-2.21.1/ld/configure
17539 17512
17540 17513
17541 17514
17542@@ -8876,7 +9376,7 @@ aix3*) 17515@@ -8880,7 +9380,7 @@ aix3*)
17543 esac 17516 esac
17544 17517
17545 # Global variables: 17518 # Global variables:
@@ -17548,7 +17521,7 @@ Index: binutils-2.21.1/ld/configure
17548 can_build_shared=yes 17521 can_build_shared=yes
17549 17522
17550 # All known linkers require a `.a' archive for static linking (except MSVC, 17523 # All known linkers require a `.a' archive for static linking (except MSVC,
17551@@ -9174,8 +9674,6 @@ fi 17524@@ -9178,8 +9678,6 @@ fi
17552 lt_prog_compiler_pic= 17525 lt_prog_compiler_pic=
17553 lt_prog_compiler_static= 17526 lt_prog_compiler_static=
17554 17527
@@ -17557,7 +17530,7 @@ Index: binutils-2.21.1/ld/configure
17557 17530
17558 if test "$GCC" = yes; then 17531 if test "$GCC" = yes; then
17559 lt_prog_compiler_wl='-Wl,' 17532 lt_prog_compiler_wl='-Wl,'
17560@@ -9340,6 +9838,12 @@ $as_echo_n "checking for $compiler optio 17533@@ -9344,6 +9842,12 @@ $as_echo_n "checking for $compiler optio
17561 lt_prog_compiler_pic='--shared' 17534 lt_prog_compiler_pic='--shared'
17562 lt_prog_compiler_static='--static' 17535 lt_prog_compiler_static='--static'
17563 ;; 17536 ;;
@@ -17570,7 +17543,7 @@ Index: binutils-2.21.1/ld/configure
17570 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 17543 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
17571 # Portland Group compilers (*not* the Pentium gcc compiler, 17544 # Portland Group compilers (*not* the Pentium gcc compiler,
17572 # which looks to be a dead project) 17545 # which looks to be a dead project)
17573@@ -9402,7 +9906,7 @@ $as_echo_n "checking for $compiler optio 17546@@ -9406,7 +9910,7 @@ $as_echo_n "checking for $compiler optio
17574 lt_prog_compiler_pic='-KPIC' 17547 lt_prog_compiler_pic='-KPIC'
17575 lt_prog_compiler_static='-Bstatic' 17548 lt_prog_compiler_static='-Bstatic'
17576 case $cc_basename in 17549 case $cc_basename in
@@ -17579,7 +17552,7 @@ Index: binutils-2.21.1/ld/configure
17579 lt_prog_compiler_wl='-Qoption ld ';; 17552 lt_prog_compiler_wl='-Qoption ld ';;
17580 *) 17553 *)
17581 lt_prog_compiler_wl='-Wl,';; 17554 lt_prog_compiler_wl='-Wl,';;
17582@@ -9459,13 +9963,17 @@ case $host_os in 17555@@ -9463,13 +9967,17 @@ case $host_os in
17583 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 17556 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17584 ;; 17557 ;;
17585 esac 17558 esac
@@ -17603,7 +17576,7 @@ Index: binutils-2.21.1/ld/configure
17603 17576
17604 # 17577 #
17605 # Check to make sure the PIC flag actually works. 17578 # Check to make sure the PIC flag actually works.
17606@@ -9526,6 +10034,11 @@ fi 17579@@ -9530,6 +10038,11 @@ fi
17607 17580
17608 17581
17609 17582
@@ -17615,7 +17588,7 @@ Index: binutils-2.21.1/ld/configure
17615 # 17588 #
17616 # Check to make sure the static flag actually works. 17589 # Check to make sure the static flag actually works.
17617 # 17590 #
17618@@ -9876,7 +10389,8 @@ _LT_EOF 17591@@ -9880,7 +10393,8 @@ _LT_EOF
17619 allow_undefined_flag=unsupported 17592 allow_undefined_flag=unsupported
17620 always_export_symbols=no 17593 always_export_symbols=no
17621 enable_shared_with_static_runtimes=yes 17594 enable_shared_with_static_runtimes=yes
@@ -17625,7 +17598,7 @@ Index: binutils-2.21.1/ld/configure
17625 17598
17626 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 17599 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17627 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 17600 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17628@@ -9924,7 +10438,7 @@ _LT_EOF 17601@@ -9928,7 +10442,7 @@ _LT_EOF
17629 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 17602 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
17630 && test "$tmp_diet" = no 17603 && test "$tmp_diet" = no
17631 then 17604 then
@@ -17634,7 +17607,7 @@ Index: binutils-2.21.1/ld/configure
17634 tmp_sharedflag='-shared' 17607 tmp_sharedflag='-shared'
17635 case $cc_basename,$host_cpu in 17608 case $cc_basename,$host_cpu in
17636 pgcc*) # Portland Group C compiler 17609 pgcc*) # Portland Group C compiler
17637@@ -9975,12 +10489,12 @@ _LT_EOF 17610@@ -9979,12 +10493,12 @@ _LT_EOF
17638 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 17611 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
17639 hardcode_libdir_flag_spec= 17612 hardcode_libdir_flag_spec=
17640 hardcode_libdir_flag_spec_ld='-rpath $libdir' 17613 hardcode_libdir_flag_spec_ld='-rpath $libdir'
@@ -17649,7 +17622,7 @@ Index: binutils-2.21.1/ld/configure
17649 fi 17622 fi
17650 ;; 17623 ;;
17651 esac 17624 esac
17652@@ -9994,8 +10508,8 @@ _LT_EOF 17625@@ -9998,8 +10512,8 @@ _LT_EOF
17653 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 17626 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17654 wlarc= 17627 wlarc=
17655 else 17628 else
@@ -17660,7 +17633,7 @@ Index: binutils-2.21.1/ld/configure
17660 fi 17633 fi
17661 ;; 17634 ;;
17662 17635
17663@@ -10013,8 +10527,8 @@ _LT_EOF 17636@@ -10017,8 +10531,8 @@ _LT_EOF
17664 17637
17665 _LT_EOF 17638 _LT_EOF
17666 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17639 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17671,7 +17644,7 @@ Index: binutils-2.21.1/ld/configure
17671 else 17644 else
17672 ld_shlibs=no 17645 ld_shlibs=no
17673 fi 17646 fi
17674@@ -10060,8 +10574,8 @@ _LT_EOF 17647@@ -10064,8 +10578,8 @@ _LT_EOF
17675 17648
17676 *) 17649 *)
17677 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 17650 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -17682,7 +17655,7 @@ Index: binutils-2.21.1/ld/configure
17682 else 17655 else
17683 ld_shlibs=no 17656 ld_shlibs=no
17684 fi 17657 fi
17685@@ -10191,7 +10705,13 @@ _LT_EOF 17658@@ -10195,7 +10709,13 @@ _LT_EOF
17686 allow_undefined_flag='-berok' 17659 allow_undefined_flag='-berok'
17687 # Determine the default libpath from the value encoded in an 17660 # Determine the default libpath from the value encoded in an
17688 # empty executable. 17661 # empty executable.
@@ -17697,7 +17670,7 @@ Index: binutils-2.21.1/ld/configure
17697 /* end confdefs.h. */ 17670 /* end confdefs.h. */
17698 17671
17699 int 17672 int
17700@@ -10204,22 +10724,29 @@ main () 17673@@ -10208,22 +10728,29 @@ main ()
17701 _ACEOF 17674 _ACEOF
17702 if ac_fn_c_try_link "$LINENO"; then : 17675 if ac_fn_c_try_link "$LINENO"; then :
17703 17676
@@ -17740,7 +17713,7 @@ Index: binutils-2.21.1/ld/configure
17740 17713
17741 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17714 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
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" 17715 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"
17743@@ -10231,7 +10758,13 @@ if test -z "$aix_libpath"; then aix_libp 17716@@ -10235,7 +10762,13 @@ if test -z "$aix_libpath"; then aix_libp
17744 else 17717 else
17745 # Determine the default libpath from the value encoded in an 17718 # Determine the default libpath from the value encoded in an
17746 # empty executable. 17719 # empty executable.
@@ -17755,7 +17728,7 @@ Index: binutils-2.21.1/ld/configure
17755 /* end confdefs.h. */ 17728 /* end confdefs.h. */
17756 17729
17757 int 17730 int
17758@@ -10244,22 +10777,29 @@ main () 17731@@ -10248,22 +10781,29 @@ main ()
17759 _ACEOF 17732 _ACEOF
17760 if ac_fn_c_try_link "$LINENO"; then : 17733 if ac_fn_c_try_link "$LINENO"; then :
17761 17734
@@ -17798,7 +17771,7 @@ Index: binutils-2.21.1/ld/configure
17798 17771
17799 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 17772 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17800 # Warning - without using the other run time loading flags, 17773 # Warning - without using the other run time loading flags,
17801@@ -10304,20 +10844,63 @@ if test -z "$aix_libpath"; then aix_libp 17774@@ -10308,20 +10848,63 @@ if test -z "$aix_libpath"; then aix_libp
17802 # Microsoft Visual C++. 17775 # Microsoft Visual C++.
17803 # hardcode_libdir_flag_spec is actually meaningless, as there is 17776 # hardcode_libdir_flag_spec is actually meaningless, as there is
17804 # no search path for DLLs. 17777 # no search path for DLLs.
@@ -18067,7 +18040,7 @@ Index: binutils-2.21.1/ld/configure
18067 # FIXME: first we should search . and the directory the executable is in 18040 # FIXME: first we should search . and the directory the executable is in
18068 shlibpath_var=PATH 18041 shlibpath_var=PATH
18069 ;; 18042 ;;
18070@@ -11346,7 +12001,7 @@ haiku*) 18043@@ -11342,7 +11997,7 @@ haiku*)
18071 soname_spec='${libname}${release}${shared_ext}$major' 18044 soname_spec='${libname}${release}${shared_ext}$major'
18072 shlibpath_var=LIBRARY_PATH 18045 shlibpath_var=LIBRARY_PATH
18073 shlibpath_overrides_runpath=yes 18046 shlibpath_overrides_runpath=yes
@@ -18076,16 +18049,16 @@ Index: binutils-2.21.1/ld/configure
18076 hardcode_into_libs=yes 18049 hardcode_into_libs=yes
18077 ;; 18050 ;;
18078 18051
18079@@ -12142,7 +12797,7 @@ else 18052@@ -12138,7 +12793,7 @@ else
18080 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18053 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18081 lt_status=$lt_dlunknown 18054 lt_status=$lt_dlunknown
18082 cat > conftest.$ac_ext <<_LT_EOF 18055 cat > conftest.$ac_ext <<_LT_EOF
18083-#line 12145 "configure" 18056-#line 12141 "configure"
18084+#line $LINENO "configure" 18057+#line $LINENO "configure"
18085 #include "confdefs.h" 18058 #include "confdefs.h"
18086 18059
18087 #if HAVE_DLFCN_H 18060 #if HAVE_DLFCN_H
18088@@ -12186,10 +12841,10 @@ else 18061@@ -12182,10 +12837,10 @@ else
18089 /* When -fvisbility=hidden is used, assume the code has been annotated 18062 /* When -fvisbility=hidden is used, assume the code has been annotated
18090 correspondingly for the symbols needed. */ 18063 correspondingly for the symbols needed. */
18091 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 18064 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -18098,16 +18071,16 @@ Index: binutils-2.21.1/ld/configure
18098 int main () 18071 int main ()
18099 { 18072 {
18100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 18073 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18101@@ -12248,7 +12903,7 @@ else 18074@@ -12244,7 +12899,7 @@ else
18102 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 18075 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18103 lt_status=$lt_dlunknown 18076 lt_status=$lt_dlunknown
18104 cat > conftest.$ac_ext <<_LT_EOF 18077 cat > conftest.$ac_ext <<_LT_EOF
18105-#line 12251 "configure" 18078-#line 12247 "configure"
18106+#line $LINENO "configure" 18079+#line $LINENO "configure"
18107 #include "confdefs.h" 18080 #include "confdefs.h"
18108 18081
18109 #if HAVE_DLFCN_H 18082 #if HAVE_DLFCN_H
18110@@ -12292,10 +12947,10 @@ else 18083@@ -12288,10 +12943,10 @@ else
18111 /* When -fvisbility=hidden is used, assume the code has been annotated 18084 /* When -fvisbility=hidden is used, assume the code has been annotated
18112 correspondingly for the symbols needed. */ 18085 correspondingly for the symbols needed. */
18113 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 18086 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
@@ -18120,7 +18093,7 @@ Index: binutils-2.21.1/ld/configure
18120 int main () 18093 int main ()
18121 { 18094 {
18122 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 18095 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18123@@ -17606,13 +18261,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_ 18096@@ -17646,13 +18301,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_
18124 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 18097 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18125 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 18098 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18126 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 18099 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -18141,7 +18114,7 @@ Index: binutils-2.21.1/ld/configure
18141 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 18114 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18142 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 18115 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18143 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18116 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18144@@ -17627,14 +18289,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l 18117@@ -17667,14 +18329,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$l
18145 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 18118 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $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"`' 18119 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $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"`' 18120 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"`'
@@ -18160,7 +18133,7 @@ Index: binutils-2.21.1/ld/configure
18160 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 18133 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18161 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 18134 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18162 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 18135 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18163@@ -17667,12 +18332,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod 18136@@ -17707,12 +18372,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcod
18164 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18137 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18165 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18138 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18166 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18139 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -18174,7 +18147,7 @@ Index: binutils-2.21.1/ld/configure
18174 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18147 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18175 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18148 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18176 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18149 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18177@@ -17782,8 +18447,13 @@ reload_flag \ 18150@@ -17822,8 +18487,13 @@ reload_flag \
18178 OBJDUMP \ 18151 OBJDUMP \
18179 deplibs_check_method \ 18152 deplibs_check_method \
18180 file_magic_cmd \ 18153 file_magic_cmd \
@@ -18188,7 +18161,7 @@ Index: binutils-2.21.1/ld/configure
18188 STRIP \ 18161 STRIP \
18189 RANLIB \ 18162 RANLIB \
18190 CC \ 18163 CC \
18191@@ -17793,12 +18463,14 @@ lt_cv_sys_global_symbol_pipe \ 18164@@ -17833,12 +18503,14 @@ lt_cv_sys_global_symbol_pipe \
18192 lt_cv_sys_global_symbol_to_cdecl \ 18165 lt_cv_sys_global_symbol_to_cdecl \
18193 lt_cv_sys_global_symbol_to_c_name_address \ 18166 lt_cv_sys_global_symbol_to_c_name_address \
18194 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18167 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -18204,7 +18177,7 @@ Index: binutils-2.21.1/ld/configure
18204 DSYMUTIL \ 18177 DSYMUTIL \
18205 NMEDIT \ 18178 NMEDIT \
18206 LIPO \ 18179 LIPO \
18207@@ -17814,7 +18486,6 @@ no_undefined_flag \ 18180@@ -17854,7 +18526,6 @@ no_undefined_flag \
18208 hardcode_libdir_flag_spec \ 18181 hardcode_libdir_flag_spec \
18209 hardcode_libdir_flag_spec_ld \ 18182 hardcode_libdir_flag_spec_ld \
18210 hardcode_libdir_separator \ 18183 hardcode_libdir_separator \
@@ -18212,7 +18185,7 @@ Index: binutils-2.21.1/ld/configure
18212 exclude_expsyms \ 18185 exclude_expsyms \
18213 include_expsyms \ 18186 include_expsyms \
18214 file_list_spec \ 18187 file_list_spec \
18215@@ -17883,6 +18554,7 @@ module_cmds \ 18188@@ -17923,6 +18594,7 @@ module_cmds \
18216 module_expsym_cmds \ 18189 module_expsym_cmds \
18217 export_symbols_cmds \ 18190 export_symbols_cmds \
18218 prelink_cmds \ 18191 prelink_cmds \
@@ -18220,7 +18193,7 @@ Index: binutils-2.21.1/ld/configure
18220 postinstall_cmds \ 18193 postinstall_cmds \
18221 postuninstall_cmds \ 18194 postuninstall_cmds \
18222 finish_cmds \ 18195 finish_cmds \
18223@@ -18690,7 +19362,8 @@ $as_echo X"$file" | 18196@@ -18730,7 +19402,8 @@ $as_echo X"$file" |
18224 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 18197 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18225 # 18198 #
18226 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 18199 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -18230,7 +18203,7 @@ Index: binutils-2.21.1/ld/configure
18230 # Written by Gordon Matzigkeit, 1996 18203 # Written by Gordon Matzigkeit, 1996
18231 # 18204 #
18232 # This file is part of GNU Libtool. 18205 # This file is part of GNU Libtool.
18233@@ -18793,19 +19466,42 @@ SP2NL=$lt_lt_SP2NL 18206@@ -18833,19 +19506,42 @@ SP2NL=$lt_lt_SP2NL
18234 # turn newlines into spaces. 18207 # turn newlines into spaces.
18235 NL2SP=$lt_lt_NL2SP 18208 NL2SP=$lt_lt_NL2SP
18236 18209
@@ -18274,7 +18247,7 @@ Index: binutils-2.21.1/ld/configure
18274 # A symbol stripping program. 18247 # A symbol stripping program.
18275 STRIP=$lt_STRIP 18248 STRIP=$lt_STRIP
18276 18249
18277@@ -18835,6 +19531,12 @@ global_symbol_to_c_name_address=$lt_lt_c 18250@@ -18875,6 +19571,12 @@ global_symbol_to_c_name_address=$lt_lt_c
18278 # Transform the output of nm in a C name address pair when lib prefix is needed. 18251 # Transform the output of nm in a C name address pair when lib prefix is needed.
18279 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 18252 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18280 18253
@@ -18287,7 +18260,7 @@ Index: binutils-2.21.1/ld/configure
18287 # The name of the directory that contains temporary libtool files. 18260 # The name of the directory that contains temporary libtool files.
18288 objdir=$objdir 18261 objdir=$objdir
18289 18262
18290@@ -18844,6 +19546,9 @@ MAGIC_CMD=$MAGIC_CMD 18263@@ -18884,6 +19586,9 @@ MAGIC_CMD=$MAGIC_CMD
18291 # Must we lock files when doing compilation? 18264 # Must we lock files when doing compilation?
18292 need_locks=$lt_need_locks 18265 need_locks=$lt_need_locks
18293 18266
@@ -18297,7 +18270,7 @@ Index: binutils-2.21.1/ld/configure
18297 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 18270 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18298 DSYMUTIL=$lt_DSYMUTIL 18271 DSYMUTIL=$lt_DSYMUTIL
18299 18272
18300@@ -18958,12 +19663,12 @@ with_gcc=$GCC 18273@@ -18998,12 +19703,12 @@ with_gcc=$GCC
18301 # Compiler flag to turn off builtin functions. 18274 # Compiler flag to turn off builtin functions.
18302 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 18275 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18303 18276
@@ -18313,7 +18286,7 @@ Index: binutils-2.21.1/ld/configure
18313 # Compiler flag to prevent dynamic linking. 18286 # Compiler flag to prevent dynamic linking.
18314 link_static_flag=$lt_lt_prog_compiler_static 18287 link_static_flag=$lt_lt_prog_compiler_static
18315 18288
18316@@ -19050,9 +19755,6 @@ inherit_rpath=$inherit_rpath 18289@@ -19090,9 +19795,6 @@ inherit_rpath=$inherit_rpath
18317 # Whether libtool must link a program against all its dependency libraries. 18290 # Whether libtool must link a program against all its dependency libraries.
18318 link_all_deplibs=$link_all_deplibs 18291 link_all_deplibs=$link_all_deplibs
18319 18292
@@ -18323,7 +18296,7 @@ Index: binutils-2.21.1/ld/configure
18323 # Set to "yes" if exported symbols are required. 18296 # Set to "yes" if exported symbols are required.
18324 always_export_symbols=$always_export_symbols 18297 always_export_symbols=$always_export_symbols
18325 18298
18326@@ -19068,6 +19770,9 @@ include_expsyms=$lt_include_expsyms 18299@@ -19108,6 +19810,9 @@ include_expsyms=$lt_include_expsyms
18327 # Commands necessary for linking programs (against libraries) with templates. 18300 # Commands necessary for linking programs (against libraries) with templates.
18328 prelink_cmds=$lt_prelink_cmds 18301 prelink_cmds=$lt_prelink_cmds
18329 18302
@@ -18333,7 +18306,7 @@ Index: binutils-2.21.1/ld/configure
18333 # Specify filename containing input files. 18306 # Specify filename containing input files.
18334 file_list_spec=$lt_file_list_spec 18307 file_list_spec=$lt_file_list_spec
18335 18308
18336@@ -19114,210 +19819,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 18309@@ -19154,210 +19859,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
18337 # if finds mixed CR/LF and LF-only lines. Since sed operates in 18310 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18338 # text mode, it properly converts lines to CR/LF. This bash problem 18311 # text mode, it properly converts lines to CR/LF. This bash problem
18339 # is reportedly fixed, but why not run on old versions too? 18312 # is reportedly fixed, but why not run on old versions too?
@@ -18704,10 +18677,10 @@ Index: binutils-2.21.1/ld/configure
18704 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 18677 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18705 chmod +x "$ofile" 18678 chmod +x "$ofile"
18706 18679
18707Index: binutils-2.21.1/bfd/configure.in 18680Index: binutils-2.22/bfd/configure.in
18708=================================================================== 18681===================================================================
18709--- binutils-2.21.1.orig/bfd/configure.in 18682--- binutils-2.22.orig/bfd/configure.in
18710+++ binutils-2.21.1/bfd/configure.in 18683+++ binutils-2.22/bfd/configure.in
18711@@ -536,7 +536,7 @@ changequote(,)dnl 18684@@ -536,7 +536,7 @@ changequote(,)dnl
18712 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 18685 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18713 changequote([,])dnl 18686 changequote([,])dnl
@@ -18717,10 +18690,10 @@ Index: binutils-2.21.1/bfd/configure.in
18717 fi 18690 fi
18718 18691
18719 # More hacks to build DLLs on Windows. 18692 # More hacks to build DLLs on Windows.
18720Index: binutils-2.21.1/opcodes/configure.in 18693Index: binutils-2.22/opcodes/configure.in
18721=================================================================== 18694===================================================================
18722--- binutils-2.21.1.orig/opcodes/configure.in 18695--- binutils-2.22.orig/opcodes/configure.in
18723+++ binutils-2.21.1/opcodes/configure.in 18696+++ binutils-2.22/opcodes/configure.in
18724@@ -134,7 +134,7 @@ changequote(,)dnl 18697@@ -134,7 +134,7 @@ changequote(,)dnl
18725 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'` 18698 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18726 changequote([,])dnl 18699 changequote([,])dnl
diff --git a/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch b/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch
index 2666d311ff..4fcffa471e 100644
--- a/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch
+++ b/meta/recipes-devtools/binutils/binutils/libtool-rpath-fix.patch
@@ -8,10 +8,11 @@ upstream.
8Fix suggested by Richard Purdie <richard.purdie@linuxfoundation.org> 8Fix suggested by Richard Purdie <richard.purdie@linuxfoundation.org>
9Signed-off-by: Scott Garman <scott.a.garman@intel.com> 9Signed-off-by: Scott Garman <scott.a.garman@intel.com>
10 10
11diff -urN binutils-2.21.orig//ltmain.sh binutils-2.21/ltmain.sh 11Index: binutils-2.22/ltmain.sh
12--- binutils-2.21.orig//ltmain.sh 2011-01-18 11:50:40.821710085 -0800 12===================================================================
13+++ binutils-2.21/ltmain.sh 2011-01-18 11:51:38.774952785 -0800 13--- binutils-2.22.orig/ltmain.sh
14@@ -8035,9 +8035,11 @@ 14+++ binutils-2.22/ltmain.sh
15@@ -8035,9 +8035,11 @@ EOF
15 test "$opt_mode" != relink && rpath="$compile_rpath$rpath" 16 test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
16 for libdir in $rpath; do 17 for libdir in $rpath; do
17 if test -n "$hardcode_libdir_flag_spec"; then 18 if test -n "$hardcode_libdir_flag_spec"; then
@@ -25,7 +26,7 @@ diff -urN binutils-2.21.orig//ltmain.sh binutils-2.21/ltmain.sh
25 if test -z "$hardcode_libdirs"; then 26 if test -z "$hardcode_libdirs"; then
26 hardcode_libdirs="$libdir" 27 hardcode_libdirs="$libdir"
27 else 28 else
28@@ -8770,6 +8772,10 @@ 29@@ -8770,6 +8772,10 @@ EOF
29 hardcode_libdirs= 30 hardcode_libdirs=
30 for libdir in $compile_rpath $finalize_rpath; do 31 for libdir in $compile_rpath $finalize_rpath; do
31 if test -n "$hardcode_libdir_flag_spec"; then 32 if test -n "$hardcode_libdir_flag_spec"; then
diff --git a/meta/recipes-devtools/binutils/binutils_2.21.1a.bb b/meta/recipes-devtools/binutils/binutils_2.22.bb
index 2d4ed2764a..f0ed5e8a40 100644
--- a/meta/recipes-devtools/binutils/binutils_2.21.1a.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.22.bb
@@ -18,7 +18,6 @@ LIC_FILES_CHKSUM="\
18SRC_URI = "\ 18SRC_URI = "\
19 ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ 19 ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
20 file://binutils-uclibc-100-uclibc-conf.patch \ 20 file://binutils-uclibc-100-uclibc-conf.patch \
21 file://110-arm-eabi-conf.patch \
22 file://binutils-uclibc-300-001_ld_makefile_patch.patch \ 21 file://binutils-uclibc-300-001_ld_makefile_patch.patch \
23 file://binutils-uclibc-300-006_better_file_error.patch \ 22 file://binutils-uclibc-300-006_better_file_error.patch \
24 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ 23 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
@@ -33,10 +32,8 @@ SRC_URI = "\
33 file://binutils-powerpc-e5500.patch \ 32 file://binutils-powerpc-e5500.patch \
34 " 33 "
35 34
36SRC_URI[md5sum] = "bde820eac53fa3a8d8696667418557ad" 35SRC_URI[md5sum] = "ee0f10756c84979622b992a4a61ea3f5"
37SRC_URI[sha256sum] = "cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654" 36SRC_URI[sha256sum] = "6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9"
38 37
39# 2.21.1a has a mismatched dir name within the tarball
40S = "${WORKDIR}/binutils-2.21.1"
41 38
42BBCLASSEXTEND = "native" 39BBCLASSEXTEND = "native"