diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-02-20 19:12:48 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-24 10:31:35 +0000 |
| commit | c708506eb9dbb4b817f563fbaacb80eee0b5b301 (patch) | |
| tree | e406c8bda20f10ead35715db801d256888319a6d /meta/recipes-devtools | |
| parent | 774e372d95c9082766477ea6dbfcd10c48ac4658 (diff) | |
| download | openembedded-core-c708506eb9dbb4b817f563fbaacb80eee0b5b301.tar.gz openembedded-core-c708506eb9dbb4b817f563fbaacb80eee0b5b301.tar.bz2 openembedded-core-c708506eb9dbb4b817f563fbaacb80eee0b5b301.zip | |
binutils: Upgrade to 2.30 release
Additionally cherry-pick
5ffeba4a09 Revert "PowerPC PLT speculative execution barriers"
b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.
a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.
eec4607fc5 Add support for DWARF-4 line number tables.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
20 files changed, 126 insertions, 140 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc b/meta/recipes-devtools/binutils/binutils-2.30.inc index 07a72e2b5a..9c883acc52 100644 --- a/meta/recipes-devtools/binutils/binutils-2.29.1.inc +++ b/meta/recipes-devtools/binutils/binutils-2.30.inc @@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" -SRCREV ?= "90276f15379d380761fc499da2ba24cfb3c12a94" +SRCREV ?= "caa839fba66600a6c36d3639906ed9110b79c307" BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git" SRC_URI = "\ ${BINUTILS_GIT_URI} \ diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.30.bb index 5dbaa03017..5dbaa03017 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.30.bb diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb b/meta/recipes-devtools/binutils/binutils-cross_2.30.bb index fbd1f7d25a..fbd1f7d25a 100644 --- a/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb +++ b/meta/recipes-devtools/binutils/binutils-cross_2.30.bb diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.30.bb index 37f4d6d2e9..37f4d6d2e9 100644 --- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb +++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.30.bb diff --git a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch index 0b515d83c7..2df836057d 100644 --- a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch +++ b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch @@ -1,4 +1,4 @@ -From 58ac9f95a3d83c29efaf7a8906fb6aefea8c8e79 Mon Sep 17 00:00:00 2001 +From 2e1b5e24a6759de7f73aa6060a574848d9131b5a Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 2 Mar 2015 01:58:54 +0000 Subject: [PATCH 01/15] binutils-crosssdk: Generate relocatable SDKs @@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ld/genscripts.sh b/ld/genscripts.sh -index b6940d376d..a42c4d7a4b 100755 +index 8732422b3a..1f257e99ca 100755 --- a/ld/genscripts.sh +++ b/ld/genscripts.sh @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}" @@ -37,16 +37,16 @@ index b6940d376d..a42c4d7a4b 100755 ( echo "/* Script for ld -Ur: link w/out relocation, do create constructors */" . ${CUSTOMIZER_SCRIPT} . ${srcdir}/scripttempl/${SCRIPT_NAME}.sc - ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xu + ) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xu +unset PARTIAL_LINKING - LD_FLAG= DATA_ALIGNMENT=${DATA_ALIGNMENT_} + RELOCATING=" " diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc -index d9138bc059..e48faeca43 100644 +index 9787ab5dac..0c8a93c2c8 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc -@@ -138,8 +138,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then +@@ -139,8 +139,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);" fi fi @@ -58,5 +58,5 @@ index d9138bc059..e48faeca43 100644 if test -z "$PLT"; then IPLT=".iplt ${RELOCATING-0} : { *(.iplt) }" -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch index 370333d5d0..bac7fb2d1a 100644 --- a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch +++ b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch @@ -1,4 +1,4 @@ -From 8f929c616208351d0971d7dfd7574d48d3144603 Mon Sep 17 00:00:00 2001 +From 58ddf38fa53abb48b69dd76e398c73451ad1a5eb Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 6 Mar 2017 23:37:05 -0800 Subject: [PATCH 02/15] binutils-cross: Do not generate linker script @@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 23 deletions(-) diff --git a/ld/genscripts.sh b/ld/genscripts.sh -index a42c4d7a4b..d727b4d07e 100755 +index 1f257e99ca..1583b73a2b 100755 --- a/ld/genscripts.sh +++ b/ld/genscripts.sh @@ -189,29 +189,6 @@ append_to_lib_path() @@ -57,5 +57,5 @@ index a42c4d7a4b..d727b4d07e 100755 libs=${NATIVE_LIB_DIRS} if [ "x${NATIVE}" = "xyes" ] ; then -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch b/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch index b6c09ccf19..306afe7018 100644 --- a/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch +++ b/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch @@ -1,4 +1,4 @@ -From e5a806aae02a10290c71deb72f6294c98068368d Mon Sep 17 00:00:00 2001 +From 5089be88f670bcadf7db0e778894f900b2c05d7b Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 2 Mar 2015 01:07:33 +0000 Subject: [PATCH 03/15] configure: widen the regexp for SH architectures @@ -14,12 +14,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure b/configure -index be9dd89d9b..d8af155ab5 100755 +index 2d615a9996..c4ad45c06c 100755 --- a/configure +++ b/configure -@@ -3844,7 +3844,7 @@ case "${target}" in - or1k*-*-*) - noconfigdirs="$noconfigdirs gdb" +@@ -3835,7 +3835,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" ;; - sh-*-*) + sh*-*-* | sh64-*-*) @@ -27,7 +27,7 @@ index be9dd89d9b..d8af155ab5 100755 sh*-*-elf) ;; diff --git a/gprof/configure b/gprof/configure -index e71fe8b9e4..679e0dce77 100755 +index 1e25102976..6b43bf2b18 100755 --- a/gprof/configure +++ b/gprof/configure @@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) @@ -43,5 +43,5 @@ index e71fe8b9e4..679e0dce77 100755 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch index 38eee30855..3e29c5815a 100644 --- a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch +++ b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch @@ -1,4 +1,4 @@ -From 3634ec3547bc0f8a5d1b8ad15365e2f836cda642 Mon Sep 17 00:00:00 2001 +From a0e893ea094c48fa803046ffa89e31907aee0597 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 2 Mar 2015 01:09:58 +0000 Subject: [PATCH 04/15] Point scripts location to libdir @@ -12,7 +12,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ld/Makefile.am b/ld/Makefile.am -index 625347ff62..d5334d2681 100644 +index 6243c12528..3c5d6c8202 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -57,7 +57,7 @@ endif @@ -25,7 +25,7 @@ index 625347ff62..d5334d2681 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index ba251777b0..a2cf2282b5 100644 +index 760c037f9d..6dea692869 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) @@ -38,5 +38,5 @@ index ba251777b0..a2cf2282b5 100644 BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch b/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch index 59150a2e4d..2f49969371 100644 --- a/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +++ b/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch @@ -1,4 +1,4 @@ -From 9d37c8f68c07da63186cb993f1221f6c11eca422 Mon Sep 17 00:00:00 2001 +From 518abb195d0eb47d8eef581d7fd0a5fd9fa73f7d Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 2 Mar 2015 01:27:17 +0000 Subject: [PATCH 05/15] Only generate an RPATH entry if LD_RUN_PATH is not @@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 4 insertions(+) diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em -index 9ac1840316..9dc4c149bc 100644 +index c0925fc9b9..7d7670a89f 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em -@@ -1463,6 +1463,8 @@ fragment <<EOF +@@ -1470,6 +1470,8 @@ fragment <<EOF && command_line.rpath == NULL) { path = (const char *) getenv ("LD_RUN_PATH"); @@ -27,7 +27,7 @@ index 9ac1840316..9dc4c149bc 100644 if (path && gld${EMULATION_NAME}_search_needed (path, &n, force)) break; -@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_allocation (void) +@@ -1750,6 +1752,8 @@ gld${EMULATION_NAME}_before_allocation (void) rpath = command_line.rpath; if (rpath == NULL) rpath = (const char *) getenv ("LD_RUN_PATH"); @@ -37,5 +37,5 @@ index 9ac1840316..9dc4c149bc 100644 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) -- -2.14.0 +2.16.1 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 @@ -From 71c734bb3754319029dcfc898cedbade42274dcb Mon Sep 17 00:00:00 2001 +From fad053cc59baa6277182b0fc90415a214060ba99 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Sun, 14 Feb 2016 17:04:07 +0000 Subject: [PATCH 06/15] Use libtool 2.4 @@ -12,7 +12,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> bfd/configure | 1318 +++++++++++++++++------ bfd/configure.ac | 2 +- binutils/configure | 1316 +++++++++++++++++------ - configure | 2 +- gas/configure | 1314 +++++++++++++++++------ gprof/configure | 1321 +++++++++++++++++------ ld/configure | 1691 +++++++++++++++++++++-------- @@ -24,10 +23,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> opcodes/configure | 1318 +++++++++++++++++------ opcodes/configure.ac | 2 +- zlib/configure | 1316 +++++++++++++++++------ - 15 files changed, 9927 insertions(+), 3694 deletions(-) + 14 files changed, 9926 insertions(+), 3693 deletions(-) diff --git a/bfd/configure b/bfd/configure -index 48276594ed..3ece8943f3 100755 +index 6c2b24ebe3..5fdd723b7f 100755 --- a/bfd/configure +++ b/bfd/configure @@ -672,6 +672,9 @@ OTOOL @@ -1931,7 +1930,7 @@ index 48276594ed..3ece8943f3 100755 chmod +x "$ofile" diff --git a/bfd/configure.ac b/bfd/configure.ac -index 8fd03a7ea8..8816c3286c 100644 +index 2342f3faea..a6451fccda 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac @@ -254,7 +254,7 @@ changequote(,)dnl @@ -1944,7 +1943,7 @@ index 8fd03a7ea8..8816c3286c 100644 # More hacks to build DLLs on Windows. diff --git a/binutils/configure b/binutils/configure -index 22e1b1736e..321b63535b 100755 +index 5d9c9105a7..a65b2b4518 100755 --- a/binutils/configure +++ b/binutils/configure @@ -659,8 +659,11 @@ OTOOL @@ -3841,21 +3840,8 @@ index 22e1b1736e..321b63535b 100755 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" -diff --git a/configure b/configure -index d8af155ab5..005ed827ab 100755 ---- a/configure -+++ b/configure -@@ -3844,7 +3844,7 @@ case "${target}" in - or1k*-*-*) - noconfigdirs="$noconfigdirs gdb" - ;; -- sh*-*-* | sh64-*-*) -+ sh-*-* | sh64-*-*) - case "${target}" in - sh*-*-elf) - ;; diff --git a/gas/configure b/gas/configure -index 93afb20c8f..81dd4cbd97 100755 +index fbac8f44d5..a40ac2144f 100755 --- a/gas/configure +++ b/gas/configure @@ -650,8 +650,11 @@ OTOOL @@ -5156,7 +5142,7 @@ index 93afb20c8f..81dd4cbd97 100755 int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -@@ -15436,13 +16089,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' +@@ -15437,13 +16090,20 @@ exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' @@ -5177,7 +5163,7 @@ index 93afb20c8f..81dd4cbd97 100755 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -@@ -15457,14 +16117,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de +@@ -15458,14 +16118,17 @@ lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$de lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' @@ -5196,7 +5182,7 @@ index 93afb20c8f..81dd4cbd97 100755 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -@@ -15497,12 +16160,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q +@@ -15498,12 +16161,12 @@ hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_q hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' @@ -5210,7 +5196,7 @@ index 93afb20c8f..81dd4cbd97 100755 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -@@ -15557,8 +16220,13 @@ reload_flag \ +@@ -15558,8 +16221,13 @@ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ @@ -5224,7 +5210,7 @@ index 93afb20c8f..81dd4cbd97 100755 STRIP \ RANLIB \ CC \ -@@ -15568,12 +16236,14 @@ lt_cv_sys_global_symbol_pipe \ +@@ -15569,12 +16237,14 @@ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ @@ -5240,7 +5226,7 @@ index 93afb20c8f..81dd4cbd97 100755 DSYMUTIL \ NMEDIT \ LIPO \ -@@ -15589,7 +16259,6 @@ no_undefined_flag \ +@@ -15590,7 +16260,6 @@ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ @@ -5248,7 +5234,7 @@ index 93afb20c8f..81dd4cbd97 100755 exclude_expsyms \ include_expsyms \ file_list_spec \ -@@ -15625,6 +16294,7 @@ module_cmds \ +@@ -15626,6 +16295,7 @@ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ @@ -5256,7 +5242,7 @@ index 93afb20c8f..81dd4cbd97 100755 postinstall_cmds \ postuninstall_cmds \ finish_cmds \ -@@ -16389,7 +17059,8 @@ $as_echo X"$file" | +@@ -16390,7 +17060,8 @@ $as_echo X"$file" | # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, @@ -5266,7 +5252,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. -@@ -16492,19 +17163,42 @@ SP2NL=$lt_lt_SP2NL +@@ -16493,19 +17164,42 @@ SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP @@ -5310,7 +5296,7 @@ index 93afb20c8f..81dd4cbd97 100755 # A symbol stripping program. STRIP=$lt_STRIP -@@ -16534,6 +17228,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address +@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix @@ -5323,7 +5309,7 @@ index 93afb20c8f..81dd4cbd97 100755 # The name of the directory that contains temporary libtool files. objdir=$objdir -@@ -16543,6 +17243,9 @@ MAGIC_CMD=$MAGIC_CMD +@@ -16544,6 +17244,9 @@ MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks @@ -5333,7 +5319,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL -@@ -16657,12 +17360,12 @@ with_gcc=$GCC +@@ -16658,12 +17361,12 @@ with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag @@ -5349,7 +5335,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static -@@ -16749,9 +17452,6 @@ inherit_rpath=$inherit_rpath +@@ -16750,9 +17453,6 @@ inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs @@ -5359,7 +5345,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols -@@ -16767,6 +17467,9 @@ include_expsyms=$lt_include_expsyms +@@ -16768,6 +17468,9 @@ include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds @@ -5369,7 +5355,7 @@ index 93afb20c8f..81dd4cbd97 100755 # Specify filename containing input files. file_list_spec=$lt_file_list_spec -@@ -16799,210 +17502,169 @@ ltmain="$ac_aux_dir/ltmain.sh" +@@ -16800,210 +17503,169 @@ ltmain="$ac_aux_dir/ltmain.sh" # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? @@ -5744,7 +5730,7 @@ index 93afb20c8f..81dd4cbd97 100755 chmod +x "$ofile" diff --git a/gprof/configure b/gprof/configure -index 679e0dce77..ac4c016a63 100755 +index 6b43bf2b18..245ee48bc3 100755 --- a/gprof/configure +++ b/gprof/configure @@ -631,8 +631,11 @@ OTOOL @@ -7654,7 +7640,7 @@ index 679e0dce77..ac4c016a63 100755 chmod +x "$ofile" diff --git a/ld/configure b/ld/configure -index d7f66f8cdc..4e71511bd1 100755 +index 0cc6e8a50f..db8b998722 100755 --- a/ld/configure +++ b/ld/configure @@ -655,8 +655,11 @@ OTOOL @@ -17336,7 +17322,7 @@ index bf92b5e079..c573da90c5 100644 # These exist entirely to fool aclocal when bootstrapping libtool. # diff --git a/opcodes/configure b/opcodes/configure -index 17530f54b9..79b39611c2 100755 +index 4f29887098..2127d39288 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -650,6 +650,9 @@ OTOOL @@ -19240,7 +19226,7 @@ index 17530f54b9..79b39611c2 100755 chmod +x "$ofile" diff --git a/opcodes/configure.ac b/opcodes/configure.ac -index a9fbfd61f1..c43780f64d 100644 +index b07f3f3629..5a32d9b1fc 100644 --- a/opcodes/configure.ac +++ b/opcodes/configure.ac @@ -167,7 +167,7 @@ changequote(,)dnl @@ -21153,5 +21139,5 @@ index dc2d9ed383..ed9a492f5c 100755 chmod +x "$ofile" -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch b/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch index 88019606f7..4a5127380f 100644 --- a/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch +++ b/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch @@ -1,4 +1,4 @@ -From 2b87aad1741bc481dd0982f100ad5ea7f937bb61 Mon Sep 17 00:00:00 2001 +From 697903256e09533778baa8af66402c44d70219d9 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 2 Mar 2015 01:37:10 +0000 Subject: [PATCH 07/15] Add the armv5e architecture to binutils @@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 1 insertion(+) diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c -index a885efe4fc..735eaa7447 100644 +index ec50420518..a25d1721af 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c -@@ -25990,6 +25990,7 @@ static const struct arm_arch_option_table arm_archs[] = +@@ -26195,6 +26195,7 @@ static const struct arm_arch_option_table arm_archs[] = ARM_ARCH_OPT ("armv4t", ARM_ARCH_V4T, FPU_ARCH_FPA), ARM_ARCH_OPT ("armv4txm", ARM_ARCH_V4TxM, FPU_ARCH_FPA), ARM_ARCH_OPT ("armv5", ARM_ARCH_V5, FPU_ARCH_VFP), @@ -31,5 +31,5 @@ index a885efe4fc..735eaa7447 100644 ARM_ARCH_OPT ("armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP), ARM_ARCH_OPT ("armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP), -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch b/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch index 30a22b504f..939be67b58 100644 --- a/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +++ b/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch @@ -1,4 +1,4 @@ -From 331443a87a31ec504e5652fc099d9129a9a4deb8 Mon Sep 17 00:00:00 2001 +From 622d66634eb2e509d4126f5bdcab26de367241a1 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 2 Mar 2015 01:39:01 +0000 Subject: [PATCH 08/15] don't let the distro compiler point to the wrong @@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in -index 25cfa29ad5..ce67a710e3 100644 +index ed1b334c36..d4ffd8b57b 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -364,7 +364,8 @@ install-strip: install @@ -31,5 +31,5 @@ index 25cfa29ad5..ce67a710e3 100644 if test -n "${target_header_dir}"; then \ ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch b/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch index e0e257880d..e75104722b 100644 --- a/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch +++ b/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch @@ -1,4 +1,4 @@ -From 0a4afdcf0700efd45963568e2d0049127cdf4434 Mon Sep 17 00:00:00 2001 +From 27e38ee92c24fca86b1c3f6ef156a1892dd06bfd Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Fri, 15 Jan 2016 06:31:09 +0000 Subject: [PATCH 09/15] warn for uses of system directories when cross linking @@ -77,7 +77,7 @@ index a846743da6..df3cd5fb60 100644 #undef EXTRA_SHLIB_EXTENSION diff --git a/ld/configure b/ld/configure -index 4e71511bd1..71c6ad1fd1 100755 +index db8b998722..489ead5c13 100755 --- a/ld/configure +++ b/ld/configure @@ -789,6 +789,7 @@ with_lib_path @@ -118,7 +118,7 @@ index 4e71511bd1..71c6ad1fd1 100755 if test "${enable_gold+set}" = set; then : enableval=$enable_gold; case "${enableval}" in diff --git a/ld/configure.ac b/ld/configure.ac -index 00080f85fd..3aa98e37fb 100644 +index bada1b50b0..d074a3820b 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot) @@ -139,10 +139,10 @@ index 00080f85fd..3aa98e37fb 100644 dnl "install_as_default" is set to false if gold is the default linker. dnl "installed_linker" is the installed BFD linker name. diff --git a/ld/ld.h b/ld/ld.h -index c6fa1247f0..01c373498f 100644 +index ba914b921e..9df17dab6c 100644 --- a/ld/ld.h +++ b/ld/ld.h -@@ -174,6 +174,14 @@ typedef struct +@@ -180,6 +180,14 @@ typedef struct in the linker script. */ bfd_boolean force_group_allocation; @@ -158,10 +158,10 @@ index c6fa1247f0..01c373498f 100644 enum endian_enum endian; diff --git a/ld/ld.texinfo b/ld/ld.texinfo -index ebe7e7b7bd..33aa2c62fa 100644 +index c89915f1aa..df430837e2 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo -@@ -2480,6 +2480,18 @@ string identifying the original linked file does not change. +@@ -2498,6 +2498,18 @@ string identifying the original linked file does not change. Passing @code{none} for @var{style} disables the setting from any @code{--build-id} options earlier on the command line. @@ -181,7 +181,7 @@ index ebe7e7b7bd..33aa2c62fa 100644 @c man end diff --git a/ld/ldfile.c b/ld/ldfile.c -index 3b37a0a3e2..5c85b01849 100644 +index 6532a57d96..f943f0b2e5 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) @@ -209,7 +209,7 @@ index 3b37a0a3e2..5c85b01849 100644 /* Try to open a BFD for a lang_input_statement. */ diff --git a/ld/ldlex.h b/ld/ldlex.h -index 5aa7f6bc3e..cb655e0399 100644 +index 140ed1d9da..9965cbc04f 100644 --- a/ld/ldlex.h +++ b/ld/ldlex.h @@ -147,6 +147,8 @@ enum option_values @@ -222,7 +222,7 @@ index 5aa7f6bc3e..cb655e0399 100644 /* The initial parser states. */ diff --git a/ld/ldmain.c b/ld/ldmain.c -index 2b09f20413..89e2a3a805 100644 +index c473ed24c3..adae0b4610 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -261,6 +261,8 @@ main (int argc, char **argv) @@ -235,7 +235,7 @@ index 2b09f20413..89e2a3a805 100644 /* We initialize DEMANGLING based on the environment variable COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the diff --git a/ld/lexsup.c b/ld/lexsup.c -index effa277b16..e4929607e9 100644 +index f2191602d4..bccb3bdeef 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] = @@ -269,5 +269,5 @@ index effa277b16..e4929607e9 100644 } -- -2.14.0 +2.16.1 diff --git a/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch b/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch index 496242efa4..33dfff9bd7 100644 --- a/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +++ b/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch @@ -1,4 +1,4 @@ -From 88fac08f1c472c612f381cbb9408756f2f58b4ff Mon Sep 17 00:00:00 2001 +From e205ae05c41a8cc8d47708f0a3b6f740e2bf2526 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Mon, 2 Mar 2015 01:42:38 +0000 Subject: [PATCH 10/15] Fix rpath in libtool when sysro |
