summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch')
-rw-r--r--meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch66
1 files changed, 26 insertions, 40 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch b/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch
index e87efe653b..333e2ee176 100644
--- a/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch
+++ b/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch
@@ -1,4 +1,4 @@
1From 71c734bb3754319029dcfc898cedbade42274dcb Mon Sep 17 00:00:00 2001 1From fad053cc59baa6277182b0fc90415a214060ba99 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 14 Feb 2016 17:04:07 +0000 3Date: Sun, 14 Feb 2016 17:04:07 +0000
4Subject: [PATCH 06/15] Use libtool 2.4 4Subject: [PATCH 06/15] Use libtool 2.4
@@ -12,7 +12,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 bfd/configure | 1318 +++++++++++++++++------ 12 bfd/configure | 1318 +++++++++++++++++------
13 bfd/configure.ac | 2 +- 13 bfd/configure.ac | 2 +-
14 binutils/configure | 1316 +++++++++++++++++------ 14 binutils/configure | 1316 +++++++++++++++++------
15 configure | 2 +-
16 gas/configure | 1314 +++++++++++++++++------ 15 gas/configure | 1314 +++++++++++++++++------
17 gprof/configure | 1321 +++++++++++++++++------ 16 gprof/configure | 1321 +++++++++++++++++------
18 ld/configure | 1691 +++++++++++++++++++++-------- 17 ld/configure | 1691 +++++++++++++++++++++--------
@@ -24,10 +23,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
24 opcodes/configure | 1318 +++++++++++++++++------ 23 opcodes/configure | 1318 +++++++++++++++++------
25 opcodes/configure.ac | 2 +- 24 opcodes/configure.ac | 2 +-
26 zlib/configure | 1316 +++++++++++++++++------ 25 zlib/configure | 1316 +++++++++++++++++------
27 15 files changed, 9927 insertions(+), 3694 deletions(-) 26 14 files changed, 9926 insertions(+), 3693 deletions(-)
28 27
29diff --git a/bfd/configure b/bfd/configure 28diff --git a/bfd/configure b/bfd/configure
30index 48276594ed..3ece8943f3 100755 29index 6c2b24ebe3..5fdd723b7f 100755
31--- a/bfd/configure 30--- a/bfd/configure
32+++ b/bfd/configure 31+++ b/bfd/configure
33@@ -672,6 +672,9 @@ OTOOL 32@@ -672,6 +672,9 @@ OTOOL
@@ -1931,7 +1930,7 @@ index 48276594ed..3ece8943f3 100755
1931 chmod +x "$ofile" 1930 chmod +x "$ofile"
1932 1931
1933diff --git a/bfd/configure.ac b/bfd/configure.ac 1932diff --git a/bfd/configure.ac b/bfd/configure.ac
1934index 8fd03a7ea8..8816c3286c 100644 1933index 2342f3faea..a6451fccda 100644
1935--- a/bfd/configure.ac 1934--- a/bfd/configure.ac
1936+++ b/bfd/configure.ac 1935+++ b/bfd/configure.ac
1937@@ -254,7 +254,7 @@ changequote(,)dnl 1936@@ -254,7 +254,7 @@ changequote(,)dnl
@@ -1944,7 +1943,7 @@ index 8fd03a7ea8..8816c3286c 100644
1944 1943
1945 # More hacks to build DLLs on Windows. 1944 # More hacks to build DLLs on Windows.
1946diff --git a/binutils/configure b/binutils/configure 1945diff --git a/binutils/configure b/binutils/configure
1947index 22e1b1736e..321b63535b 100755 1946index 5d9c9105a7..a65b2b4518 100755
1948--- a/binutils/configure 1947--- a/binutils/configure
1949+++ b/binutils/configure 1948+++ b/binutils/configure
1950@@ -659,8 +659,11 @@ OTOOL 1949@@ -659,8 +659,11 @@ OTOOL
@@ -3841,21 +3840,8 @@ index 22e1b1736e..321b63535b 100755
3841 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 3840 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
3842 chmod +x "$ofile" 3841 chmod +x "$ofile"
3843 3842
3844diff --git a/configure b/configure
3845index d8af155ab5..005ed827ab 100755
3846--- a/configure
3847+++ b/configure
3848@@ -3844,7 +3844,7 @@ case "${target}" in
3849 or1k*-*-*)
3850 noconfigdirs="$noconfigdirs gdb"
3851 ;;
3852- sh*-*-* | sh64-*-*)
3853+ sh-*-* | sh64-*-*)
3854 case "${target}" in
3855 sh*-*-elf)
3856 ;;
3857diff --git a/gas/configure b/gas/configure 3843diff --git a/gas/configure b/gas/configure
3858index 93afb20c8f..81dd4cbd97 100755 3844index fbac8f44d5..a40ac2144f 100755
3859--- a/gas/configure 3845--- a/gas/configure
3860+++ b/gas/configure 3846+++ b/gas/configure
3861@@ -650,8 +650,11 @@ OTOOL 3847@@ -650,8 +650,11 @@ OTOOL
@@ -5156,7 +5142,7 @@ index 93afb20c8f..81dd4cbd97 100755
5156 int main () 5142 int main ()
5157 { 5143 {
5158 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 5144 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
5159@@ -15436,13 +16089,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 5145@@ -15437,13 +16090,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
5160 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 5146 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
5161 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 5147 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
5162 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 5148 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
@@ -5177,7 +5163,7 @@ index 93afb20c8f..81dd4cbd97 100755
5177 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 5163 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
5178 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 5164 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
5179 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 5165 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
5180@@ -15457,14 +16117,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de 5166@@ -15458,14 +16118,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de
5181 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 5167 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
5182 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 5168 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
5183 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"`' 5169 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"`'
@@ -5196,7 +5182,7 @@ index 93afb20c8f..81dd4cbd97 100755
5196 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 5182 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
5197 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 5183 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
5198 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 5184 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
5199@@ -15497,12 +16160,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q 5185@@ -15498,12 +16161,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q
5200 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 5186 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
5201 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 5187 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
5202 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 5188 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
@@ -5210,7 +5196,7 @@ index 93afb20c8f..81dd4cbd97 100755
5210 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 5196 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
5211 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 5197 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
5212 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 5198 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
5213@@ -15557,8 +16220,13 @@ reload_flag \ 5199@@ -15558,8 +16221,13 @@ reload_flag \
5214 OBJDUMP \ 5200 OBJDUMP \
5215 deplibs_check_method \ 5201 deplibs_check_method \
5216 file_magic_cmd \ 5202 file_magic_cmd \
@@ -5224,7 +5210,7 @@ index 93afb20c8f..81dd4cbd97 100755
5224 STRIP \ 5210 STRIP \
5225 RANLIB \ 5211 RANLIB \
5226 CC \ 5212 CC \
5227@@ -15568,12 +16236,14 @@ lt_cv_sys_global_symbol_pipe \ 5213@@ -15569,12 +16237,14 @@ lt_cv_sys_global_symbol_pipe \
5228 lt_cv_sys_global_symbol_to_cdecl \ 5214 lt_cv_sys_global_symbol_to_cdecl \
5229 lt_cv_sys_global_symbol_to_c_name_address \ 5215 lt_cv_sys_global_symbol_to_c_name_address \
5230 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 5216 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
@@ -5240,7 +5226,7 @@ index 93afb20c8f..81dd4cbd97 100755
5240 DSYMUTIL \ 5226 DSYMUTIL \
5241 NMEDIT \ 5227 NMEDIT \
5242 LIPO \ 5228 LIPO \
5243@@ -15589,7 +16259,6 @@ no_undefined_flag \ 5229@@ -15590,7 +16260,6 @@ no_undefined_flag \
5244 hardcode_libdir_flag_spec \ 5230 hardcode_libdir_flag_spec \
5245 hardcode_libdir_flag_spec_ld \ 5231 hardcode_libdir_flag_spec_ld \
5246 hardcode_libdir_separator \ 5232 hardcode_libdir_separator \
@@ -5248,7 +5234,7 @@ index 93afb20c8f..81dd4cbd97 100755
5248 exclude_expsyms \ 5234 exclude_expsyms \
5249 include_expsyms \ 5235 include_expsyms \
5250 file_list_spec \ 5236 file_list_spec \
5251@@ -15625,6 +16294,7 @@ module_cmds \ 5237@@ -15626,6 +16295,7 @@ module_cmds \
5252 module_expsym_cmds \ 5238 module_expsym_cmds \
5253 export_symbols_cmds \ 5239 export_symbols_cmds \
5254 prelink_cmds \ 5240 prelink_cmds \
@@ -5256,7 +5242,7 @@ index 93afb20c8f..81dd4cbd97 100755
5256 postinstall_cmds \ 5242 postinstall_cmds \
5257 postuninstall_cmds \ 5243 postuninstall_cmds \
5258 finish_cmds \ 5244 finish_cmds \
5259@@ -16389,7 +17059,8 @@ $as_echo X"$file" | 5245@@ -16390,7 +17060,8 @@ $as_echo X"$file" |
5260 # NOTE: Changes made to this file will be lost: look at ltmain.sh. 5246 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
5261 # 5247 #
5262 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 5248 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
@@ -5266,7 +5252,7 @@ index 93afb20c8f..81dd4cbd97 100755
5266 # Written by Gordon Matzigkeit, 1996 5252 # Written by Gordon Matzigkeit, 1996
5267 # 5253 #
5268 # This file is part of GNU Libtool. 5254 # This file is part of GNU Libtool.
5269@@ -16492,19 +17163,42 @@ SP2NL=$lt_lt_SP2NL 5255@@ -16493,19 +17164,42 @@ SP2NL=$lt_lt_SP2NL
5270 # turn newlines into spaces. 5256 # turn newlines into spaces.
5271 NL2SP=$lt_lt_NL2SP 5257 NL2SP=$lt_lt_NL2SP
5272 5258
@@ -5310,7 +5296,7 @@ index 93afb20c8f..81dd4cbd97 100755
5310 # A symbol stripping program. 5296 # A symbol stripping program.
5311 STRIP=$lt_STRIP 5297 STRIP=$lt_STRIP
5312 5298
5313@@ -16534,6 +17228,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 5299@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
5314 # Transform the output of nm in a C name address pair when lib prefix is needed. 5300 # Transform the output of nm in a C name address pair when lib prefix is needed.
5315 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 5301 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
5316 5302
@@ -5323,7 +5309,7 @@ index 93afb20c8f..81dd4cbd97 100755
5323 # The name of the directory that contains temporary libtool files. 5309 # The name of the directory that contains temporary libtool files.
5324 objdir=$objdir 5310 objdir=$objdir
5325 5311
5326@@ -16543,6 +17243,9 @@ MAGIC_CMD=$MAGIC_CMD 5312@@ -16544,6 +17244,9 @@ MAGIC_CMD=$MAGIC_CMD
5327 # Must we lock files when doing compilation? 5313 # Must we lock files when doing compilation?
5328 need_locks=$lt_need_locks 5314 need_locks=$lt_need_locks
5329 5315
@@ -5333,7 +5319,7 @@ index 93afb20c8f..81dd4cbd97 100755
5333 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. 5319 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
5334 DSYMUTIL=$lt_DSYMUTIL 5320 DSYMUTIL=$lt_DSYMUTIL
5335 5321
5336@@ -16657,12 +17360,12 @@ with_gcc=$GCC 5322@@ -16658,12 +17361,12 @@ with_gcc=$GCC
5337 # Compiler flag to turn off builtin functions. 5323 # Compiler flag to turn off builtin functions.
5338 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 5324 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
5339 5325
@@ -5349,7 +5335,7 @@ index 93afb20c8f..81dd4cbd97 100755
5349 # Compiler flag to prevent dynamic linking. 5335 # Compiler flag to prevent dynamic linking.
5350 link_static_flag=$lt_lt_prog_compiler_static 5336 link_static_flag=$lt_lt_prog_compiler_static
5351 5337
5352@@ -16749,9 +17452,6 @@ inherit_rpath=$inherit_rpath 5338@@ -16750,9 +17453,6 @@ inherit_rpath=$inherit_rpath
5353 # Whether libtool must link a program against all its dependency libraries. 5339 # Whether libtool must link a program against all its dependency libraries.
5354 link_all_deplibs=$link_all_deplibs 5340 link_all_deplibs=$link_all_deplibs
5355 5341
@@ -5359,7 +5345,7 @@ index 93afb20c8f..81dd4cbd97 100755
5359 # Set to "yes" if exported symbols are required. 5345 # Set to "yes" if exported symbols are required.
5360 always_export_symbols=$always_export_symbols 5346 always_export_symbols=$always_export_symbols
5361 5347
5362@@ -16767,6 +17467,9 @@ include_expsyms=$lt_include_expsyms 5348@@ -16768,6 +17468,9 @@ include_expsyms=$lt_include_expsyms
5363 # Commands necessary for linking programs (against libraries) with templates. 5349 # Commands necessary for linking programs (against libraries) with templates.
5364 prelink_cmds=$lt_prelink_cmds 5350 prelink_cmds=$lt_prelink_cmds
5365 5351
@@ -5369,7 +5355,7 @@ index 93afb20c8f..81dd4cbd97 100755
5369 # Specify filename containing input files. 5355 # Specify filename containing input files.
5370 file_list_spec=$lt_file_list_spec 5356 file_list_spec=$lt_file_list_spec
5371 5357
5372@@ -16799,210 +17502,169 @@ ltmain="$ac_aux_dir/ltmain.sh" 5358@@ -16800,210 +17503,169 @@ ltmain="$ac_aux_dir/ltmain.sh"
5373 # if finds mixed CR/LF and LF-only lines. Since sed operates in 5359 # if finds mixed CR/LF and LF-only lines. Since sed operates in
5374 # text mode, it properly converts lines to CR/LF. This bash problem 5360 # text mode, it properly converts lines to CR/LF. This bash problem
5375 # is reportedly fixed, but why not run on old versions too? 5361 # is reportedly fixed, but why not run on old versions too?
@@ -5744,7 +5730,7 @@ index 93afb20c8f..81dd4cbd97 100755
5744 chmod +x "$ofile" 5730 chmod +x "$ofile"
5745 5731
5746diff --git a/gprof/configure b/gprof/configure 5732diff --git a/gprof/configure b/gprof/configure
5747index 679e0dce77..ac4c016a63 100755 5733index 6b43bf2b18..245ee48bc3 100755
5748--- a/gprof/configure 5734--- a/gprof/configure
5749+++ b/gprof/configure 5735+++ b/gprof/configure
5750@@ -631,8 +631,11 @@ OTOOL 5736@@ -631,8 +631,11 @@ OTOOL
@@ -7654,7 +7640,7 @@ index 679e0dce77..ac4c016a63 100755
7654 chmod +x "$ofile" 7640 chmod +x "$ofile"
7655 7641
7656diff --git a/ld/configure b/ld/configure 7642diff --git a/ld/configure b/ld/configure
7657index d7f66f8cdc..4e71511bd1 100755 7643index 0cc6e8a50f..db8b998722 100755
7658--- a/ld/configure 7644--- a/ld/configure
7659+++ b/ld/configure 7645+++ b/ld/configure
7660@@ -655,8 +655,11 @@ OTOOL 7646@@ -655,8 +655,11 @@ OTOOL
@@ -17336,7 +17322,7 @@ index bf92b5e079..c573da90c5 100644
17336 # These exist entirely to fool aclocal when bootstrapping libtool. 17322 # These exist entirely to fool aclocal when bootstrapping libtool.
17337 # 17323 #
17338diff --git a/opcodes/configure b/opcodes/configure 17324diff --git a/opcodes/configure b/opcodes/configure
17339index 17530f54b9..79b39611c2 100755 17325index 4f29887098..2127d39288 100755
17340--- a/opcodes/configure 17326--- a/opcodes/configure
17341+++ b/opcodes/configure 17327+++ b/opcodes/configure
17342@@ -650,6 +650,9 @@ OTOOL 17328@@ -650,6 +650,9 @@ OTOOL
@@ -19240,7 +19226,7 @@ index 17530f54b9..79b39611c2 100755
19240 chmod +x "$ofile" 19226 chmod +x "$ofile"
19241 19227
19242diff --git a/opcodes/configure.ac b/opcodes/configure.ac 19228diff --git a/opcodes/configure.ac b/opcodes/configure.ac
19243index a9fbfd61f1..c43780f64d 100644 19229index b07f3f3629..5a32d9b1fc 100644
19244--- a/opcodes/configure.ac 19230--- a/opcodes/configure.ac
19245+++ b/opcodes/configure.ac 19231+++ b/opcodes/configure.ac
19246@@ -167,7 +167,7 @@ changequote(,)dnl 19232@@ -167,7 +167,7 @@ changequote(,)dnl
@@ -21153,5 +21139,5 @@ index dc2d9ed383..ed9a492f5c 100755
21153 chmod +x "$ofile" 21139 chmod +x "$ofile"
21154 21140
21155-- 21141--
211562.14.0 211422.16.1
21157 21143