diff mbox series

[V2] binutils: Upgrade to 2.30 release

Message ID 20180208173509.24194-1-raj.khem@gmail.com
State Superseded
Headers show
Series [V2] binutils: Upgrade to 2.30 release | expand

Commit Message

Khem Raj Feb. 8, 2018, 5:35 p.m. UTC
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>

---
Changes since v1:

- Backport fixes for aarch64 relocs
- ppc plt fix, dwarf-4 line number support and linker script fix for removing PROVODE

 meta/conf/distro/include/tcmode-default.inc        |  2 +-
 .../{binutils-2.29.1.inc => binutils-2.30.inc}     |  2 +-
 ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0
 ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0
 ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0
 ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---
 ...oss-Do-not-generate-linker-script-directo.patch |  6 +-
 ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---
 .../0004-Point-scripts-location-to-libdir.patch    |  8 +--
 ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--
 .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66 ++++++++------------
 ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--
 ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-
 ...es-of-system-directories-when-cross-linki.patch | 24 ++++----
 ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-
 ...Change-default-emulation-for-mips64-linux.patch | 14 ++---
 .../0012-Add-support-for-Netlogic-XLP.patch        | 70 +++++++++++-----------
 ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--
 .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-
 .../0015-sync-with-OE-libtool-changes.patch        |  4 +-
 .../{binutils_2.29.1.bb => binutils_2.30.bb}       |  0
 21 files changed, 127 insertions(+), 141 deletions(-)
 rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc => binutils-2.30.inc} (97%)
 rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb => binutils-cross_2.30.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb => binutils_2.30.bb} (100%)

-- 
2.16.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Khem Raj Feb. 16, 2018, 3:03 a.m. UTC | #1
ping

On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj <raj.khem@gmail.com> wrote:
> 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>

> ---

> Changes since v1:

>

> - Backport fixes for aarch64 relocs

> - ppc plt fix, dwarf-4 line number support and linker script fix for removing PROVODE

>

>  meta/conf/distro/include/tcmode-default.inc        |  2 +-

>  .../{binutils-2.29.1.inc => binutils-2.30.inc}     |  2 +-

>  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0

>  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0

>  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0

>  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---

>  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-

>  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---

>  .../0004-Point-scripts-location-to-libdir.patch    |  8 +--

>  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--

>  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66 ++++++++------------

>  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--

>  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-

>  ...es-of-system-directories-when-cross-linki.patch | 24 ++++----

>  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-

>  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---

>  .../0012-Add-support-for-Netlogic-XLP.patch        | 70 +++++++++++-----------

>  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--

>  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-

>  .../0015-sync-with-OE-libtool-changes.patch        |  4 +-

>  .../{binutils_2.29.1.bb => binutils_2.30.bb}       |  0

>  21 files changed, 127 insertions(+), 141 deletions(-)

>  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc => binutils-2.30.inc} (97%)

>  rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb} (100%)

>  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb => binutils-cross_2.30.bb} (100%)

>  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} (100%)

>  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb => binutils_2.30.bb} (100%)

>

> diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc

> index da45642440..037d331605 100644

> --- a/meta/conf/distro/include/tcmode-default.inc

> +++ b/meta/conf/distro/include/tcmode-default.inc

> @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"

>

>  GCCVERSION ?= "7.%"

>  SDKGCCVERSION ?= "${GCCVERSION}"

> -BINUVERSION ?= "2.29%"

> +BINUVERSION ?= "2.30%"

>  GDBVERSION ?= "8.0%"

>  LINUXLIBCVERSION ?= "4.14%"

>  GLIBCVERSION ?= "2.27%"

> diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc b/meta/recipes-devtools/binutils/binutils-2.30.inc

> similarity index 97%

> rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc

> rename to 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

> similarity index 100%

> rename from meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb

> rename to 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

> similarity index 100%

> rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb

> rename to 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

> similarity index 100%

> rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb

> rename to 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 sysroot is enabled

> @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644

>             if test -z "$hardcode_libdirs"; then

>               hardcode_libdirs="$libdir"

>  --

> -2.14.0

> +2.16.1

>

> diff --git a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

> index ac87a2d1de..80fcbc1194 100644

> --- a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

> +++ b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

> @@ -1,4 +1,4 @@

> -From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00 2001

> +From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00 2001

>  From: Khem Raj <raj.khem@gmail.com>

>  Date: Mon, 2 Mar 2015 01:44:14 +0000

>  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux

> @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>   2 files changed, 8 insertions(+), 8 deletions(-)

>

>  diff --git a/bfd/config.bfd b/bfd/config.bfd

> -index dc24aabad5..4511024f22 100644

> +index f04a993f06..8777f96bd2 100644

>  --- a/bfd/config.bfd

>  +++ b/bfd/config.bfd

> -@@ -1186,12 +1186,12 @@ case "${targ}" in

> +@@ -1189,12 +1189,12 @@ case "${targ}" in

>       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"

>       ;;

>     mips64*el-*-linux*)

> @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644

>     mips*el-*-linux*)

>       targ_defvec=mips_elf32_trad_le_vec

>  diff --git a/ld/configure.tgt b/ld/configure.tgt

> -index 47c719cd05..fe7b9238b2 100644

> +index 6183a85b3d..1d78465590 100644

>  --- a/ld/configure.tgt

>  +++ b/ld/configure.tgt

> -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks

> +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks

>   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks

> -                       targ_extra_emuls="elf32elmipvxworks" ;;

> +                       targ_extra_emuls="elf32elmipvxworks" ;;

>   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;

>  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32

>  -                      targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"

> @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644

>   mips*el-*-linux-*)    targ_emul=elf32ltsmip

>                         targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip"

>  --

> -2.14.0

> +2.16.1

>

> diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

> index dc5e580739..1fefb680f8 100644

> --- a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

> +++ b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

> @@ -1,4 +1,4 @@

> -From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00 2001

> +From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00 2001

>  From: Khem Raj <raj.khem@gmail.com>

>  Date: Sun, 14 Feb 2016 17:06:19 +0000

>  Subject: [PATCH 12/15] Add support for Netlogic XLP

> @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>

>   14 files changed, 61 insertions(+), 21 deletions(-)

>

>  diff --git a/bfd/aoutx.h b/bfd/aoutx.h

> -index 3d38fda14b..0aec49bbb3 100644

> +index eec9c4ad2a..3bf0a71e63 100644

>  --- a/bfd/aoutx.h

>  +++ b/bfd/aoutx.h

>  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,

> @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644

>           arch_flags = M_MIPS2;

>           break;

>  diff --git a/bfd/archures.c b/bfd/archures.c

> -index 433b95fa08..063b7943a1 100644

> +index e83c57a2f3..3016ea1bae 100644

>  --- a/bfd/archures.c

>  +++ b/bfd/archures.c

>  @@ -201,6 +201,7 @@ DESCRIPTION

> - .#define bfd_mach_mips_octeon3          6503

> - .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}

> - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal 'IA2'  *}

> -+.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'  *}

> - .#define bfd_mach_mipsisa32             32

> - .#define bfd_mach_mipsisa32r2           33

> - .#define bfd_mach_mipsisa32r3           34

> + .#define bfd_mach_mips_octeon3                6503

> + .#define bfd_mach_mips_xlr            887682   {* decimal 'XLR'.  *}

> + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal 'IA2'.  *}

> ++.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'.  *}

> + .#define bfd_mach_mipsisa32           32

> + .#define bfd_mach_mipsisa32r2         33

> + .#define bfd_mach_mipsisa32r3         34

>  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h

> -index d126aed086..2b753b3a93 100644

> +index 42991e7848..27abc5d5a8 100644

>  --- a/bfd/bfd-in2.h

>  +++ b/bfd/bfd-in2.h

> -@@ -2060,6 +2060,7 @@ enum bfd_architecture

> +@@ -2062,6 +2062,7 @@ enum bfd_architecture

>   #define bfd_mach_mips_octeon3          6503

> - #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */

> - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'  */

> -+#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'  */

> + #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'.  */

> + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'.  */

> ++#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'.  */

>   #define bfd_mach_mipsisa32             32

>   #define bfd_mach_mipsisa32r2           33

>   #define bfd_mach_mipsisa32r3           34

>  diff --git a/bfd/config.bfd b/bfd/config.bfd

> -index 4511024f22..f0f9072f10 100644

> +index 8777f96bd2..7b80bda8c9 100644

>  --- a/bfd/config.bfd

>  +++ b/bfd/config.bfd

> -@@ -1169,6 +1169,11 @@ case "${targ}" in

> +@@ -1172,6 +1172,11 @@ case "${targ}" in

>       targ_defvec=mips_elf32_le_vec

>       targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec"

>       ;;

> @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644

>       targ_defvec=mips_elf32_be_vec

>       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"

>  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c

> -index 2493094bef..8375d1ae96 100644

> +index cb50c64371..2b9d1d6ecf 100644

>  --- a/bfd/cpu-mips.c

>  +++ b/bfd/cpu-mips.c

>  @@ -105,7 +105,8 @@ enum

> @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644

>

>   #define NN(index) (&arch_info_struct[(index) + 1])

>  @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] =

> -   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",       FALSE, NN(I_xlr)),

> +   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",     FALSE, NN(I_xlr)),

>     N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2", FALSE,

>        NN(I_interaptiv_mr2)),

>  -  N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)

> @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644

>

>   /* The default architecture is mips:3000, but with a machine number of

>  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c

> -index fddf68c816..354c85d00b 100644

> +index 285401367d..14ebb5f175 100644

>  --- a/bfd/elfxx-mips.c

>  +++ b/bfd/elfxx-mips.c

> -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)

> +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)

>       case E_MIPS_MACH_IAMR2:

>         return bfd_mach_mips_interaptiv_mr2;

>

> @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644

>       default:

>         switch (flags & EF_MIPS_ARCH)

>         {

> -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)

> +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)

>         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;

>         break;

>

> @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644

>       case bfd_mach_mipsisa32:

>         val = E_MIPS_ARCH_32;

>         break;

> -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =

> +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =

>     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },

>     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },

>     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },

> @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644

>     /* MIPS64 extensions.  */

>     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },

>  diff --git a/binutils/readelf.c b/binutils/readelf.c

> -index 2b15f0f2cb..092744708e 100644

> +index ae1cda9a7b..fed0387a94 100644

>  --- a/binutils/readelf.c

>  +++ b/binutils/readelf.c

> -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)

> +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)

>             case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break;

>             case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;

>             case E_MIPS_MACH_IAMR2:  strcat (buf, ", interaptiv-mr2"); break;

> @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644

>             /* We simply ignore the field in this case to avoid confusion:

>                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU

>  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c

> -index 3804df2958..9576c986db 100644

> +index c135131b59..d8fbda8e31 100644

>  --- a/gas/config/tc-mips.c

>  +++ b/gas/config/tc-mips.c

>  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;

> @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644

>      )

>

>   /* Whether the processor uses hardware interlocks to protect reads

> -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =

> +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =

>     /* Broadcom XLP.

>        XLP is mostly like XLR, with the prominent exception that it is

>        MIPS64R2 rather than MIPS64.  */

> @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644

>     /* MIPS 64 Release 6 */

>     { "i6400",        0, ASE_MSA,               ISA_MIPS64R6, CPU_MIPS64R6},

>  diff --git a/gas/configure b/gas/configure

> -index 81dd4cbd97..95bdf3b19b 100755

> +index a40ac2144f..65a6995243 100755

>  --- a/gas/configure

>  +++ b/gas/configure

>  @@ -12989,6 +12989,9 @@ _ACEOF

> @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755

>             mips_cpu=r3900

>             ;;

>  diff --git a/include/elf/mips.h b/include/elf/mips.h

> -index a4bea43ff8..73d904e25f 100644

> +index 9de0b4e175..74fc4f7e55 100644

>  --- a/include/elf/mips.h

>  +++ b/include/elf/mips.h

>  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)

> @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644

>   #define E_MIPS_MACH_OCTEON3   0x008e0000

>   #define E_MIPS_MACH_5400      0x00910000

>  diff --git a/include/opcode/mips.h b/include/opcode/mips.h

> -index ceae9ec50a..276ee3c6c1 100644

> +index 5eea72f139..90f6d57e15 100644

>  --- a/include/opcode/mips.h

>  +++ b/include/opcode/mips.h

>  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {

> @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644

>         return FALSE;

>       }

>  diff --git a/ld/configure.tgt b/ld/configure.tgt

> -index fe7b9238b2..2adf108b17 100644

> +index 1d78465590..307e787b64 100644

>  --- a/ld/configure.tgt

>  +++ b/ld/configure.tgt

> -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)

> +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)

>   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)

>                         targ_emul=elf32btsmip

>                         targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;

> @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644

>                         targ_extra_emuls="elf32lr5900"

>                         targ_extra_libpath=$targ_extra_emuls ;;

>  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c

> -index 45195007c1..4a80a05d19 100644

> +index 984fcbb802..95b107d216 100644

>  --- a/opcodes/mips-dis.c

>  +++ b/opcodes/mips-dis.c

>  @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[] =

> @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644

>     /* This entry, mips16, is here only for ISA/processor selection; do

>        not print its name.  */

>  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c

> -index 19fca408c9..d02069c528 100644

> +index 180d613c93..65b7b8cc23 100644

>  --- a/opcodes/mips-opc.c

>  +++ b/opcodes/mips-opc.c

>  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)

> @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644

>   {"swc0",              "E,A(b)",       0,    (int) M_SWC0_AB,  INSN_MACRO,             0,              I1,             0,      IOCT|IOCTP|IOCT2|I37 },

>   {"swc1",              "T,o(b)",       0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },

>  --

> -2.14.0

> +2.16.1

>

> diff --git a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch

> index 247376b7ed..c3e1b13841 100644

> --- a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch

> +++ b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch

> @@ -1,4 +1,4 @@

> -From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00 2001

> +From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00 2001

>  From: Zhenhua Luo <zhenhua.luo@nxp.com>

>  Date: Sat, 11 Jun 2016 22:08:29 -0500

>  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait mnemonic

> @@ -11,10 +11,10 @@ Upstream-Status: Pending

>   1 file changed, 1 insertion(+), 2 deletions(-)

>

>  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c

> -index 426261ab21..0d35916cdd 100644

> +index bb17f26c2e..dbdd762b4e 100644

>  --- a/opcodes/ppc-opc.c

>  +++ b/opcodes/ppc-opc.c

> -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {

> +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {

>   {"ldepx",     X(31,29),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},

>

>   {"waitasec",  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,         {0}},

> @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644

>

>   {"lwepx",     X(31,31),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},

>

> -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {

> +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {

>

>   {"waitrsv",   X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0,          {0}},

>   {"waitimpl",  X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0,          {0}},

> @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644

>   {"dcbstep",   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,           {RA0, RB}},

>

>  --

> -2.14.0

> +2.16.1

>

> diff --git a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

> index 42b1065f8d..cf3690f25d 100644

> --- a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

> +++ b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

> @@ -1,4 +1,4 @@

> -From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00 2001

> +From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00 2001

>  From: Khem Raj <raj.khem@gmail.com>

>  Date: Fri, 31 Mar 2017 11:42:03 -0700

>  Subject: [PATCH 14/15] Detect 64-bit MIPS targets

> @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>   1 file changed, 14 insertions(+)

>

>  diff --git a/gold/configure.tgt b/gold/configure.tgt

> -index 3d63027297..c1f92a1360 100644

> +index 8aef22a318..7030026ffa 100644

>  --- a/gold/configure.tgt

>  +++ b/gold/configure.tgt

>  @@ -153,6 +153,13 @@ aarch64*-*)

> @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644

>    targ_obj=mips

>    targ_machine=EM_MIPS

>  --

> -2.14.0

> +2.16.1

>

> diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

> index 2c8900cb66..8c9fd237e7 100644

> --- a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

> +++ b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

> @@ -1,4 +1,4 @@

> -From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00 2001

> +From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00 2001

>  From: Ross Burton <ross.burton@intel.com>

>  Date: Mon, 6 Mar 2017 23:33:27 -0800

>  Subject: [PATCH 15/15] sync with OE libtool changes

> @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644

>         elif test -n "$runpath_var"; then

>           case "$finalize_perm_rpath " in

>  --

> -2.14.0

> +2.16.1

>

> diff --git a/meta/recipes-devtools/binutils/binutils_2.29.1.bb b/meta/recipes-devtools/binutils/binutils_2.30.bb

> similarity index 100%

> rename from meta/recipes-devtools/binutils/binutils_2.29.1.bb

> rename to meta/recipes-devtools/binutils/binutils_2.30.bb

> --

> 2.16.1

>

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Feb. 20, 2018, 1:06 a.m. UTC | #2
Can't remember if this failed anywhere that wasn't related to the glibc
upgrade, so I just fired this patch standalone on the autobuilder.

Ross

On 16 February 2018 at 03:03, Khem Raj <raj.khem@gmail.com> wrote:

> ping

>

> On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj <raj.khem@gmail.com> wrote:

> > 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>

> > ---

> > Changes since v1:

> >

> > - Backport fixes for aarch64 relocs

> > - ppc plt fix, dwarf-4 line number support and linker script fix for

> removing PROVODE

> >

> >  meta/conf/distro/include/tcmode-default.inc        |  2 +-

> >  .../{binutils-2.29.1.inc => binutils-2.30.inc}     |  2 +-

> >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0

> >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0

> >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0

> >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---

> >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-

> >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---

> >  .../0004-Point-scripts-location-to-libdir.patch    |  8 +--

> >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--

> >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66

> ++++++++------------

> >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--

> >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-

> >  ...es-of-system-directories-when-cross-linki.patch | 24 ++++----

> >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-

> >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---

> >  .../0012-Add-support-for-Netlogic-XLP.patch        | 70

> +++++++++++-----------

> >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--

> >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-

> >  .../0015-sync-with-OE-libtool-changes.patch        |  4 +-

> >  .../{binutils_2.29.1.bb => binutils_2.30.bb}       |  0

> >  21 files changed, 127 insertions(+), 141 deletions(-)

> >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>

> binutils-2.30.inc} (97%)

> >  rename meta/recipes-devtools/binutils/{binutils-cross-

> canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb} (100%)

> >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>

> binutils-cross_2.30.bb} (100%)

> >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb =>

> binutils-crosssdk_2.30.bb} (100%)

> >  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb =>

> binutils_2.30.bb} (100%)

> >

> > diff --git a/meta/conf/distro/include/tcmode-default.inc

> b/meta/conf/distro/include/tcmode-default.inc

> > index da45642440..037d331605 100644

> > --- a/meta/conf/distro/include/tcmode-default.inc

> > +++ b/meta/conf/distro/include/tcmode-default.inc

> > @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"

> >

> >  GCCVERSION ?= "7.%"

> >  SDKGCCVERSION ?= "${GCCVERSION}"

> > -BINUVERSION ?= "2.29%"

> > +BINUVERSION ?= "2.30%"

> >  GDBVERSION ?= "8.0%"

> >  LINUXLIBCVERSION ?= "4.14%"

> >  GLIBCVERSION ?= "2.27%"

> > diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc

> b/meta/recipes-devtools/binutils/binutils-2.30.inc

> > similarity index 97%

> > rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc

> > rename to 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

> > similarity index 100%

> > rename from meta/recipes-devtools/binutils/binutils-cross-

> canadian_2.29.1.bb

> > rename to 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

> > similarity index 100%

> > rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb

> > rename to 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

> > similarity index 100%

> > rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb

> > rename to 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 sysroot is enabled

> > @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644

> >             if test -z "$hardcode_libdirs"; then

> >               hardcode_libdirs="$libdir"

> >  --

> > -2.14.0

> > +2.16.1

> >

> > diff --git a/meta/recipes-devtools/binutils/binutils/0011-Change-

> default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/

> binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

> > index ac87a2d1de..80fcbc1194 100644

> > --- a/meta/recipes-devtools/binutils/binutils/0011-Change-

> default-emulation-for-mips64-linux.patch

> > +++ b/meta/recipes-devtools/binutils/binutils/0011-Change-

> default-emulation-for-mips64-linux.patch

> > @@ -1,4 +1,4 @@

> > -From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00 2001

> > +From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00 2001

> >  From: Khem Raj <raj.khem@gmail.com>

> >  Date: Mon, 2 Mar 2015 01:44:14 +0000

> >  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux

> > @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

> >   2 files changed, 8 insertions(+), 8 deletions(-)

> >

> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

> > -index dc24aabad5..4511024f22 100644

> > +index f04a993f06..8777f96bd2 100644

> >  --- a/bfd/config.bfd

> >  +++ b/bfd/config.bfd

> > -@@ -1186,12 +1186,12 @@ case "${targ}" in

> > +@@ -1189,12 +1189,12 @@ case "${targ}" in

> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

> mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"

> >       ;;

> >     mips64*el-*-linux*)

> > @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644

> >     mips*el-*-linux*)

> >       targ_defvec=mips_elf32_trad_le_vec

> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

> > -index 47c719cd05..fe7b9238b2 100644

> > +index 6183a85b3d..1d78465590 100644

> >  --- a/ld/configure.tgt

> >  +++ b/ld/configure.tgt

> > -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)

> targ_emul=elf32elmipvxworks

> > +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)

> targ_emul=elf32elmipvxworks

> >   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks

> > -                       targ_extra_emuls="elf32elmipvxworks" ;;

> > +                       targ_extra_emuls="elf32elmipvxworks" ;;

> >   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;

> >  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32

> >  -                      targ_extra_emuls="elf32btsmipn32 elf32ltsmip

> elf32btsmip elf64ltsmip elf64btsmip"

> > @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644

> >   mips*el-*-linux-*)    targ_emul=elf32ltsmip

> >                         targ_extra_emuls="elf32btsmip elf32ltsmipn32

> elf64ltsmip elf32btsmipn32 elf64btsmip"

> >  --

> > -2.14.0

> > +2.16.1

> >

> > diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

> b/meta/recipes-devtools/binutils/binutils/0012-Add-

> support-for-Netlogic-XLP.patch

> > index dc5e580739..1fefb680f8 100644

> > --- a/meta/recipes-devtools/binutils/binutils/0012-Add-

> support-for-Netlogic-XLP.patch

> > +++ b/meta/recipes-devtools/binutils/binutils/0012-Add-

> support-for-Netlogic-XLP.patch

> > @@ -1,4 +1,4 @@

> > -From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00 2001

> > +From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00 2001

> >  From: Khem Raj <raj.khem@gmail.com>

> >  Date: Sun, 14 Feb 2016 17:06:19 +0000

> >  Subject: [PATCH 12/15] Add support for Netlogic XLP

> > @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>

> >   14 files changed, 61 insertions(+), 21 deletions(-)

> >

> >  diff --git a/bfd/aoutx.h b/bfd/aoutx.h

> > -index 3d38fda14b..0aec49bbb3 100644

> > +index eec9c4ad2a..3bf0a71e63 100644

> >  --- a/bfd/aoutx.h

> >  +++ b/bfd/aoutx.h

> >  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture

> arch,

> > @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644

> >           arch_flags = M_MIPS2;

> >           break;

> >  diff --git a/bfd/archures.c b/bfd/archures.c

> > -index 433b95fa08..063b7943a1 100644

> > +index e83c57a2f3..3016ea1bae 100644

> >  --- a/bfd/archures.c

> >  +++ b/bfd/archures.c

> >  @@ -201,6 +201,7 @@ DESCRIPTION

> > - .#define bfd_mach_mips_octeon3          6503

> > - .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}

> > - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal 'IA2'  *}

> > -+.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'  *}

> > - .#define bfd_mach_mipsisa32             32

> > - .#define bfd_mach_mipsisa32r2           33

> > - .#define bfd_mach_mipsisa32r3           34

> > + .#define bfd_mach_mips_octeon3                6503

> > + .#define bfd_mach_mips_xlr            887682   {* decimal 'XLR'.  *}

> > + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal 'IA2'.  *}

> > ++.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'.  *}

> > + .#define bfd_mach_mipsisa32           32

> > + .#define bfd_mach_mipsisa32r2         33

> > + .#define bfd_mach_mipsisa32r3         34

> >  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h

> > -index d126aed086..2b753b3a93 100644

> > +index 42991e7848..27abc5d5a8 100644

> >  --- a/bfd/bfd-in2.h

> >  +++ b/bfd/bfd-in2.h

> > -@@ -2060,6 +2060,7 @@ enum bfd_architecture

> > +@@ -2062,6 +2062,7 @@ enum bfd_architecture

> >   #define bfd_mach_mips_octeon3          6503

> > - #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */

> > - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'  */

> > -+#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'  */

> > + #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'.  */

> > + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'.  */

> > ++#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'.  */

> >   #define bfd_mach_mipsisa32             32

> >   #define bfd_mach_mipsisa32r2           33

> >   #define bfd_mach_mipsisa32r3           34

> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

> > -index 4511024f22..f0f9072f10 100644

> > +index 8777f96bd2..7b80bda8c9 100644

> >  --- a/bfd/config.bfd

> >  +++ b/bfd/config.bfd

> > -@@ -1169,6 +1169,11 @@ case "${targ}" in

> > +@@ -1172,6 +1172,11 @@ case "${targ}" in

> >       targ_defvec=mips_elf32_le_vec

> >       targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec

> mips_elf64_le_vec"

> >       ;;

> > @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644

> >       targ_defvec=mips_elf32_be_vec

> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

> mips_elf64_le_vec"

> >  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c

> > -index 2493094bef..8375d1ae96 100644

> > +index cb50c64371..2b9d1d6ecf 100644

> >  --- a/bfd/cpu-mips.c

> >  +++ b/bfd/cpu-mips.c

> >  @@ -105,7 +105,8 @@ enum

> > @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644

> >

> >   #define NN(index) (&arch_info_struct[(index) + 1])

> >  @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] =

> > -   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",       FALSE, NN(I_xlr)),

> > +   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",     FALSE, NN(I_xlr)),

> >     N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2",

> FALSE,

> >        NN(I_interaptiv_mr2)),

> >  -  N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)

> > @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644

> >

> >   /* The default architecture is mips:3000, but with a machine number of

> >  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c

> > -index fddf68c816..354c85d00b 100644

> > +index 285401367d..14ebb5f175 100644

> >  --- a/bfd/elfxx-mips.c

> >  +++ b/bfd/elfxx-mips.c

> > -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)

> > +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)

> >       case E_MIPS_MACH_IAMR2:

> >         return bfd_mach_mips_interaptiv_mr2;

> >

> > @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644

> >       default:

> >         switch (flags & EF_MIPS_ARCH)

> >         {

> > -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)

> > +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)

> >         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;

> >         break;

> >

> > @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644

> >       case bfd_mach_mipsisa32:

> >         val = E_MIPS_ARCH_32;

> >         break;

> > -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension

> mips_mach_extensions[] =

> > +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension

> mips_mach_extensions[] =

> >     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },

> >     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },

> >     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },

> > @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644

> >     /* MIPS64 extensions.  */

> >     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },

> >  diff --git a/binutils/readelf.c b/binutils/readelf.c

> > -index 2b15f0f2cb..092744708e 100644

> > +index ae1cda9a7b..fed0387a94 100644

> >  --- a/binutils/readelf.c

> >  +++ b/binutils/readelf.c

> > -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned

> e_machine)

> > +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned

> e_flags, unsigned e_machine)

> >             case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break;

> >             case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;

> >             case E_MIPS_MACH_IAMR2:  strcat (buf, ", interaptiv-mr2");

> break;

> > @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644

> >             /* We simply ignore the field in this case to avoid

> confusion:

> >                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU

> >  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c

> > -index 3804df2958..9576c986db 100644

> > +index c135131b59..d8fbda8e31 100644

> >  --- a/gas/config/tc-mips.c

> >  +++ b/gas/config/tc-mips.c

> >  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;

> > @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644

> >      )

> >

> >   /* Whether the processor uses hardware interlocks to protect reads

> > -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info

> mips_cpu_info_table[] =

> > +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info

> mips_cpu_info_table[] =

> >     /* Broadcom XLP.

> >        XLP is mostly like XLR, with the prominent exception that it is

> >        MIPS64R2 rather than MIPS64.  */

> > @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644

> >     /* MIPS 64 Release 6 */

> >     { "i6400",        0, ASE_MSA,               ISA_MIPS64R6,

> CPU_MIPS64R6},

> >  diff --git a/gas/configure b/gas/configure

> > -index 81dd4cbd97..95bdf3b19b 100755

> > +index a40ac2144f..65a6995243 100755

> >  --- a/gas/configure

> >  +++ b/gas/configure

> >  @@ -12989,6 +12989,9 @@ _ACEOF

> > @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755

> >             mips_cpu=r3900

> >             ;;

> >  diff --git a/include/elf/mips.h b/include/elf/mips.h

> > -index a4bea43ff8..73d904e25f 100644

> > +index 9de0b4e175..74fc4f7e55 100644

> >  --- a/include/elf/mips.h

> >  +++ b/include/elf/mips.h

> >  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)

> > @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644

> >   #define E_MIPS_MACH_OCTEON3   0x008e0000

> >   #define E_MIPS_MACH_5400      0x00910000

> >  diff --git a/include/opcode/mips.h b/include/opcode/mips.h

> > -index ceae9ec50a..276ee3c6c1 100644

> > +index 5eea72f139..90f6d57e15 100644

> >  --- a/include/opcode/mips.h

> >  +++ b/include/opcode/mips.h

> >  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {

> > @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644

> >         return FALSE;

> >       }

> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

> > -index fe7b9238b2..2adf108b17 100644

> > +index 1d78465590..307e787b64 100644

> >  --- a/ld/configure.tgt

> >  +++ b/ld/configure.tgt

> > -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

> mips*el-img-elf*)

> > +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

> mips*el-img-elf*)

> >   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)

> >                         targ_emul=elf32btsmip

> >                         targ_extra_emuls="elf32ltsmip elf32btsmipn32

> elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;

> > @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644

> >                         targ_extra_emuls="elf32lr5900"

> >                         targ_extra_libpath=$targ_extra_emuls ;;

> >  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c

> > -index 45195007c1..4a80a05d19 100644

> > +index 984fcbb802..95b107d216 100644

> >  --- a/opcodes/mips-dis.c

> >  +++ b/opcodes/mips-dis.c

> >  @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[]

> =

> > @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644

> >     /* This entry, mips16, is here only for ISA/processor selection; do

> >        not print its name.  */

> >  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c

> > -index 19fca408c9..d02069c528 100644

> > +index 180d613c93..65b7b8cc23 100644

> >  --- a/opcodes/mips-opc.c

> >  +++ b/opcodes/mips-opc.c

> >  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)

> > @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644

> >   {"swc0",              "E,A(b)",       0,    (int) M_SWC0_AB,

> INSN_MACRO,             0,              I1,             0,

> IOCT|IOCTP|IOCT2|I37 },

> >   {"swc1",              "T,o(b)",       0xe4000000, 0xfc000000,

> RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },

> >  --

> > -2.14.0

> > +2.16.1

> >

> > diff --git a/meta/recipes-devtools/binutils/binutils/0013-fix-

> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

> b/meta/recipes-devtools/binutils/binutils/0013-fix-

> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

> > index 247376b7ed..c3e1b13841 100644

> > --- a/meta/recipes-devtools/binutils/binutils/0013-fix-

> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

> > +++ b/meta/recipes-devtools/binutils/binutils/0013-fix-

> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

> > @@ -1,4 +1,4 @@

> > -From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00 2001

> > +From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00 2001

> >  From: Zhenhua Luo <zhenhua.luo@nxp.com>

> >  Date: Sat, 11 Jun 2016 22:08:29 -0500

> >  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait

> mnemonic

> > @@ -11,10 +11,10 @@ Upstream-Status: Pending

> >   1 file changed, 1 insertion(+), 2 deletions(-)

> >

> >  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c

> > -index 426261ab21..0d35916cdd 100644

> > +index bb17f26c2e..dbdd762b4e 100644

> >  --- a/opcodes/ppc-opc.c

> >  +++ b/opcodes/ppc-opc.c

> > -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {

> > +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {

> >   {"ldepx",     X(31,29),       X_MASK,   E500MC|PPCA2, 0,

> {RT, RA0, RB}},

> >

> >   {"waitasec",  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,

>  {0}},

> > @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644

> >

> >   {"lwepx",     X(31,31),       X_MASK,   E500MC|PPCA2, 0,

> {RT, RA0, RB}},

> >

> > -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {

> > +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {

> >

> >   {"waitrsv",   X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0,

> {0}},

> >   {"waitimpl",  X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0,

> {0}},

> > @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644

> >   {"dcbstep",   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,

>  {RA0, RB}},

> >

> >  --

> > -2.14.0

> > +2.16.1

> >

> > diff --git a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

> b/meta/recipes-devtools/binutils/binutils/0014-Detect-

> 64-bit-MIPS-targets.patch

> > index 42b1065f8d..cf3690f25d 100644

> > --- a/meta/recipes-devtools/binutils/binutils/0014-Detect-

> 64-bit-MIPS-targets.patch

> > +++ b/meta/recipes-devtools/binutils/binutils/0014-Detect-

> 64-bit-MIPS-targets.patch

> > @@ -1,4 +1,4 @@

> > -From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00 2001

> > +From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00 2001

> >  From: Khem Raj <raj.khem@gmail.com>

> >  Date: Fri, 31 Mar 2017 11:42:03 -0700

> >  Subject: [PATCH 14/15] Detect 64-bit MIPS targets

> > @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

> >   1 file changed, 14 insertions(+)

> >

> >  diff --git a/gold/configure.tgt b/gold/configure.tgt

> > -index 3d63027297..c1f92a1360 100644

> > +index 8aef22a318..7030026ffa 100644

> >  --- a/gold/configure.tgt

> >  +++ b/gold/configure.tgt

> >  @@ -153,6 +153,13 @@ aarch64*-*)

> > @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644

> >    targ_obj=mips

> >    targ_machine=EM_MIPS

> >  --

> > -2.14.0

> > +2.16.1

> >

> > diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

> b/meta/recipes-devtools/binutils/binutils/0015-sync-

> with-OE-libtool-changes.patch

> > index 2c8900cb66..8c9fd237e7 100644

> > --- a/meta/recipes-devtools/binutils/binutils/0015-sync-

> with-OE-libtool-changes.patch

> > +++ b/meta/recipes-devtools/binutils/binutils/0015-sync-

> with-OE-libtool-changes.patch

> > @@ -1,4 +1,4 @@

> > -From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00 2001

> > +From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00 2001

> >  From: Ross Burton <ross.burton@intel.com>

> >  Date: Mon, 6 Mar 2017 23:33:27 -0800

> >  Subject: [PATCH 15/15] sync with OE libtool changes

> > @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644

> >         elif test -n "$runpath_var"; then

> >           case "$finalize_perm_rpath " in

> >  --

> > -2.14.0

> > +2.16.1

> >

> > diff --git a/meta/recipes-devtools/binutils/binutils_2.29.1.bb

> b/meta/recipes-devtools/binutils/binutils_2.30.bb

> > similarity index 100%

> > rename from meta/recipes-devtools/binutils/binutils_2.29.1.bb

> > rename to meta/recipes-devtools/binutils/binutils_2.30.bb

> > --

> > 2.16.1

> >

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>
<div dir="ltr">Can&#39;t remember if this failed anywhere that wasn&#39;t related to the glibc upgrade, so I just fired this patch standalone on the autobuilder.<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 February 2018 at 03:03, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt; Additionally cherry-pick<br>
&gt;<br>
&gt; 5ffeba4a09 Revert &quot;PowerPC PLT speculative execution barriers&quot;<br>
&gt; b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.<br>
&gt; a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.<br>
&gt; eec4607fc5 Add support for DWARF-4 line number tables.<br>
&gt;<br>
&gt; Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt; Changes since v1:<br>
&gt;<br>
&gt; - Backport fixes for aarch64 relocs<br>
&gt; - ppc plt fix, dwarf-4 line number support and linker script fix for removing PROVODE<br>
&gt;<br>
&gt;  meta/conf/distro/include/<wbr>tcmode-default.inc        |  2 +-<br>
&gt;  .../{binutils-2.29.1.inc =&gt; binutils-2.30.inc}     |  2 +-<br>
&gt;  ...<a href="http://n_2.29.1.bb" rel="noreferrer" target="_blank">n_2.29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.<wbr>bb</a>} |  0<br>
&gt;  ...<a href="http://tils-cross_2.29.1.bb" rel="noreferrer" target="_blank">tils-cross_2.29.1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} |  0<br>
&gt;  ...<a href="http://rosssdk_2.29.1.bb" rel="noreferrer" target="_blank">rosssdk_2.29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} |  0<br>
&gt;  ...nutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch | 14 ++---<br>
&gt;  ...oss-Do-not-generate-linker-<wbr>script-directo.patch |  6 +-<br>
&gt;  ...ure-widen-the-regexp-for-<wbr>SH-architectures.patch | 14 ++---<br>
&gt;  .../0004-Point-scripts-<wbr>location-to-libdir.patch    |  8 +--<br>
&gt;  ...te-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch | 10 ++--<br>
&gt;  .../binutils/binutils/0006-<wbr>Use-libtool-2.4.patch   | 66 ++++++++------------<br>
&gt;  ...7-Add-the-armv5e-<wbr>architecture-to-binutils.patch |  8 +--<br>
&gt;  ...he-distro-compiler-point-<wbr>to-the-wrong-ins.patch |  6 +-<br>
&gt;  ...es-of-system-directories-<wbr>when-cross-linki.patch | 24 ++++----<br>
&gt;  ...-rpath-in-libtool-when-<wbr>sysroot-is-enabled.patch |  4 +-<br>
&gt;  ...Change-default-emulation-<wbr>for-mips64-linux.patch | 14 ++---<br>
&gt;  .../0012-Add-support-for-<wbr>Netlogic-XLP.patch        | 70 +++++++++++-----------<br>
&gt;  ...ncorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch | 10 ++--<br>
&gt;  .../binutils/0014-Detect-64-<wbr>bit-MIPS-targets.patch |  6 +-<br>
&gt;  .../0015-sync-with-OE-libtool-<wbr>changes.patch        |  4 +-<br>
&gt;  .../{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>}       |  0<br>
&gt;  21 files changed, 127 insertions(+), 141 deletions(-)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{binutils-2.29.1.inc =&gt; binutils-2.30.inc} (97%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.<wbr>bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.<wbr>1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>} (100%)<br>
&gt;<br>
&gt; diff --git a/meta/conf/distro/include/<wbr>tcmode-default.inc b/meta/conf/distro/include/<wbr>tcmode-default.inc<br>
&gt; index da45642440..037d331605 100644<br>
&gt; --- a/meta/conf/distro/include/<wbr>tcmode-default.inc<br>
&gt; +++ b/meta/conf/distro/include/<wbr>tcmode-default.inc<br>
&gt; @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/<wbr>gettext ??= &quot;gettext&quot;<br>
&gt;<br>
&gt;  GCCVERSION ?= &quot;7.%&quot;<br>
&gt;  SDKGCCVERSION ?= &quot;${GCCVERSION}&quot;<br>
&gt; -BINUVERSION ?= &quot;2.29%&quot;<br>
&gt; +BINUVERSION ?= &quot;2.30%&quot;<br>
&gt;  GDBVERSION ?= &quot;8.0%&quot;<br>
&gt;  LINUXLIBCVERSION ?= &quot;4.14%&quot;<br>
&gt;  GLIBCVERSION ?= &quot;2.27%&quot;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils-2.29.1.inc b/meta/recipes-devtools/<wbr>binutils/binutils-2.30.inc<br>
&gt; similarity index 97%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/binutils-2.29.1.inc<br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/binutils-2.30.inc<br>
&gt; index 07a72e2b5a..9c883acc52 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils-2.29.1.inc<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils-2.30.inc<br>
&gt; @@ -18,7 +18,7 @@ BINUPV = &quot;${@binutils_branch_version(d)<wbr>}&quot;<br>
&gt;<br>
&gt;  UPSTREAM_CHECK_GITTAGREGEX = &quot;binutils-(?P&lt;pver&gt;\d+_(\d_?)*<wbr>)&quot;<br>
&gt;<br>
&gt; -SRCREV ?= &quot;<wbr>90276f15379d380761fc499da2ba24<wbr>cfb3c12a94&quot;<br>
&gt; +SRCREV ?= &quot;<wbr>caa839fba66600a6c36d3639906ed9<wbr>110b79c307&quot;<br>
&gt;  BINUTILS_GIT_URI ?= &quot;git://<a href="http://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git" rel="noreferrer" target="_blank">sourceware.org/git/<wbr>binutils-gdb.git;branch=<wbr>binutils-${BINUPV}-branch;<wbr>protocol=git</a>&quot;<br>
&gt;  SRC_URI = &quot;\<br>
&gt;       ${BINUTILS_GIT_URI} \<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.29.1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.<wbr>1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.<wbr>bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.<wbr>1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.<wbr>bb</a><br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>29.1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch<br>
&gt; index 0b515d83c7..2df836057d 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 58ac9f95a3d83c29efaf7a8906fb6a<wbr>efea8c8e79 Mon Sep 17 00:00:00 2001<br>
&gt; +From 2e1b5e24a6759de7f73aa6060a5748<wbr>48d9131b5a Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:58:54 +0000<br>
&gt;  Subject: [PATCH 01/15] binutils-crosssdk: Generate relocatable SDKs<br>
&gt; @@ -18,7 +18,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 5 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index b6940d376d..a42c4d7a4b 100755<br>
&gt; +index 8732422b3a..1f257e99ca 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u=&quot;${DATA_<wbr>ALIGNMENT_u-${DATA_ALIGNMENT_<wbr>r}}&quot;<br>
&gt; @@ -37,16 +37,16 @@ index b6940d376d..a42c4d7a4b 100755<br>
&gt;   ( echo &quot;/* Script for ld -Ur: link w/out relocation, do create constructors */&quot;<br>
&gt;     . ${CUSTOMIZER_SCRIPT}<br>
&gt;     . ${srcdir}/scripttempl/${<wbr>SCRIPT_NAME}.sc<br>
&gt; - ) | sed -e &#39;/^ *$/d;s/[       ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt; + ) | sed -e &#39;/^ *$/d;s/[        ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt;  +unset PARTIAL_LINKING<br>
&gt;<br>
&gt; - LD_FLAG=<br>
&gt;   DATA_ALIGNMENT=${DATA_<wbr>ALIGNMENT_}<br>
&gt; + RELOCATING=&quot; &quot;<br>
&gt;  diff --git a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a> b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -index d9138bc059..e48faeca43 100644<br>
&gt; +index 9787ab5dac..0c8a93c2c8 100644<br>
&gt;  --- a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt;  +++ b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -@@ -138,8 +138,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt; +@@ -139,8 +139,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt;       DATA_SEGMENT_RELRO_END=&quot;. = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);&quot;<br>
&gt;     fi<br>
&gt;   fi<br>
&gt; @@ -58,5 +58,5 @@ index d9138bc059..e48faeca43 100644<br>
&gt;   if test -z &quot;$PLT&quot;; then<br>
&gt;     IPLT=&quot;.iplt         ${RELOCATING-0} : { *(.iplt) }&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch<br>
&gt; index 370333d5d0..bac7fb2d1a 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8f929c616208351d0971d7dfd7574d<wbr>48d3144603 Mon Sep 17 00:00:00 2001<br>
&gt; +From 58ddf38fa53abb48b69dd76e398c73<wbr>451ad1a5eb Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:37:05 -0800<br>
&gt;  Subject: [PATCH 02/15] binutils-cross: Do not generate linker script<br>
&gt; @@ -23,7 +23,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 23 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index a42c4d7a4b..d727b4d07e 100755<br>
&gt; +index 1f257e99ca..1583b73a2b 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -189,29 +189,6 @@ append_to_lib_path()<br>
&gt; @@ -57,5 +57,5 @@ index a42c4d7a4b..d727b4d07e 100755<br>
&gt;     libs=${NATIVE_LIB_DIRS}<br>
&gt;     if [ &quot;x${NATIVE}&quot; = &quot;xyes&quot; ] ; then<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch<br>
&gt; index b6c09ccf19..306afe7018 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e5a806aae02a10290c71deb72f6294<wbr>c98068368d Mon Sep 17 00:00:00 2001<br>
&gt; +From 5089be88f670bcadf7db0e778894f9<wbr>00b2c05d7b Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:07:33 +0000<br>
&gt;  Subject: [PATCH 03/15] configure: widen the regexp for SH architectures<br>
&gt; @@ -14,12 +14,12 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 6 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/configure b/configure<br>
&gt; -index be9dd89d9b..d8af155ab5 100755<br>
&gt; +index 2d615a9996..c4ad45c06c 100755<br>
&gt;  --- a/configure<br>
&gt;  +++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; +@@ -3835,7 +3835,7 @@ case &quot;${target}&quot; in<br>
&gt; +   nvptx*-*-*)<br>
&gt; +     noconfigdirs=&quot;$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc&quot;<br>
&gt;       ;;<br>
&gt;  -  sh-*-*)<br>
&gt;  +  sh*-*-* | sh64-*-*)<br>
&gt; @@ -27,7 +27,7 @@ index be9dd89d9b..d8af155ab5 100755<br>
&gt;         sh*-*-elf)<br>
&gt;            ;;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index e71fe8b9e4..679e0dce77 100755<br>
&gt; +index 1e25102976..6b43bf2b18 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)<br>
&gt; @@ -43,5 +43,5 @@ index e71fe8b9e4..679e0dce77 100755<br>
&gt;     if echo __ELF__ | $CC -E - | $GREP __ELF__ &gt; /dev/null; then<br>
&gt;       lt_cv_deplibs_check_method=&#39;<wbr>match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+<wbr>|_pic\.a)$&#39;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch b/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch<br>
&gt; index 38eee30855..3e29c5815a 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 3634ec3547bc0f8a5d1b8ad15365e2<wbr>f836cda642 Mon Sep 17 00:00:00 2001<br>
&gt; +From a0e893ea094c48fa803046ffa89e31<wbr>907aee0597 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:09:58 +0000<br>
&gt;  Subject: [PATCH 04/15] Point scripts location to libdir<br>
&gt; @@ -12,7 +12,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 2 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/Makefile.am b/ld/Makefile.am<br>
&gt; -index 625347ff62..d5334d2681 100644<br>
&gt; +index 6243c12528..3c5d6c8202 100644<br>
&gt;  --- a/ld/Makefile.am<br>
&gt;  +++ b/ld/Makefile.am<br>
&gt;  @@ -57,7 +57,7 @@ endif<br>
&gt; @@ -25,7 +25,7 @@ index 625347ff62..d5334d2681 100644<br>
&gt;   EMUL = @EMUL@<br>
&gt;   EMULATION_OFILES = @EMULATION_OFILES@<br>
&gt;  diff --git a/ld/Makefile.in b/ld/Makefile.in<br>
&gt; -index ba251777b0..a2cf2282b5 100644<br>
&gt; +index 760c037f9d..6dea692869 100644<br>
&gt;  --- a/ld/Makefile.in<br>
&gt;  +++ b/ld/Makefile.in<br>
&gt;  @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)<br>
&gt; @@ -38,5 +38,5 @@ index ba251777b0..a2cf2282b5 100644<br>
&gt;   BFDDIR = $(BASEDIR)/bfd<br>
&gt;   INCDIR = $(BASEDIR)/include<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch<br>
&gt; index 59150a2e4d..2f49969371 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9d37c8f68c07da63186cb993f1221f<wbr>6c11eca422 Mon Sep 17 00:00:00 2001<br>
&gt; +From 518abb195d0eb47d8eef581d7fd0a5<wbr>fd9fa73f7d Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:27:17 +0000<br>
&gt;  Subject: [PATCH 05/15] Only generate an RPATH entry if LD_RUN_PATH is not<br>
&gt; @@ -15,10 +15,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 4 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em<br>
&gt; -index 9ac1840316..9dc4c149bc 100644<br>
&gt; +index c0925fc9b9..7d7670a89f 100644<br>
&gt;  --- a/ld/emultempl/elf32.em<br>
&gt;  +++ b/ld/emultempl/elf32.em<br>
&gt; -@@ -1463,6 +1463,8 @@ fragment &lt;&lt;EOF<br>
&gt; +@@ -1470,6 +1470,8 @@ fragment &lt;&lt;EOF<br>
&gt;               &amp;&amp; command_line.rpath == NULL)<br>
&gt;             {<br>
&gt;               path = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -27,7 +27,7 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;               if (path<br>
&gt;                   &amp;&amp; gld${EMULATION_NAME}_search_<wbr>needed (path, &amp;n, force))<br>
&gt;                 break;<br>
&gt; -@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_<wbr>allocation (void)<br>
&gt; +@@ -1750,6 +1752,8 @@ gld${EMULATION_NAME}_before_<wbr>allocation (void)<br>
&gt;     rpath = command_line.rpath;<br>
&gt;     if (rpath == NULL)<br>
&gt;       rpath = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -37,5 +37,5 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;     for (abfd = link_info.input_bfds; abfd; abfd = abfd-&gt;link.next)<br>
&gt;       if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch<br>
&gt; index e87efe653b..333e2ee176 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 71c734bb3754319029dcfc898cedba<wbr>de42274dcb Mon Sep 17 00:00:00 2001<br>
&gt; +From fad053cc59baa6277182b0fc90415a<wbr>214060ba99 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:04:07 +0000<br>
&gt;  Subject: [PATCH 06/15] Use libtool 2.4<br>
&gt; @@ -12,7 +12,6 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   bfd/configure        | 1318 +++++++++++++++++------<br>
&gt;   bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>     |    2 +-<br>
&gt;   binutils/configure   | 1316 +++++++++++++++++------<br>
&gt; - configure            |    2 +-<br>
&gt;   gas/configure        | 1314 +++++++++++++++++------<br>
&gt;   gprof/configure      | 1321 +++++++++++++++++------<br>
&gt;   ld/configure         | 1691 +++++++++++++++++++++--------<br>
&gt; @@ -24,10 +23,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   opcodes/configure    | 1318 +++++++++++++++++------<br>
&gt;   opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> |    2 +-<br>
&gt;   zlib/configure       | 1316 +++++++++++++++++------<br>
&gt; - 15 files changed, 9927 insertions(+), 3694 deletions(-)<br>
&gt; + 14 files changed, 9926 insertions(+), 3693 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/configure b/bfd/configure<br>
&gt; -index 48276594ed..3ece8943f3 100755<br>
&gt; +index 6c2b24ebe3..5fdd723b7f 100755<br>
&gt;  --- a/bfd/configure<br>
&gt;  +++ b/bfd/configure<br>
&gt;  @@ -672,6 +672,9 @@ OTOOL<br>
&gt; @@ -1931,7 +1930,7 @@ index 48276594ed..3ece8943f3 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 8fd03a7ea8..8816c3286c 100644<br>
&gt; +index 2342f3faea..a6451fccda 100644<br>
&gt;  --- a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -254,7 +254,7 @@ changequote(,)dnl<br>
&gt; @@ -1944,7 +1943,7 @@ index 8fd03a7ea8..8816c3286c 100644<br>
&gt;<br>
&gt;   # More hacks to build DLLs on Windows.<br>
&gt;  diff --git a/binutils/configure b/binutils/configure<br>
&gt; -index 22e1b1736e..321b63535b 100755<br>
&gt; +index 5d9c9105a7..a65b2b4518 100755<br>
&gt;  --- a/binutils/configure<br>
&gt;  +++ b/binutils/configure<br>
&gt;  @@ -659,8 +659,11 @@ OTOOL<br>
&gt; @@ -3841,21 +3840,8 @@ index 22e1b1736e..321b63535b 100755<br>
&gt;       (rm -f &quot;$ofile&quot; &amp;&amp; cp &quot;$cfgfile&quot; &quot;$ofile&quot; &amp;&amp; rm -f &quot;$cfgfile&quot;)<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt; -diff --git a/configure b/configure<br>
&gt; -index d8af155ab5..005ed827ab 100755<br>
&gt; ---- a/configure<br>
&gt; -+++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; -     ;;<br>
&gt; --  sh*-*-* | sh64-*-*)<br>
&gt; -+  sh-*-* | sh64-*-*)<br>
&gt; -     case &quot;${target}&quot; in<br>
&gt; -       sh*-*-elf)<br>
&gt; -          ;;<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 93afb20c8f..81dd4cbd97 100755<br>
&gt; +index fbac8f44d5..a40ac2144f 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -650,8 +650,11 @@ OTOOL<br>
&gt; @@ -5156,7 +5142,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   int main ()<br>
&gt;   {<br>
&gt;     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);<br>
&gt; -@@ -15436,13 +16089,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; +@@ -15437,13 +16090,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_unset=&#39;`$ECHO &quot;$lt_unset&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_SP2NL=&#39;`$ECHO &quot;$lt_SP2NL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_NL2SP=&#39;`$ECHO &quot;$lt_NL2SP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5177,7 +5163,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP=&#39;`$ECHO &quot;$STRIP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   RANLIB=&#39;`$ECHO &quot;$RANLIB&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   old_postinstall_cmds=&#39;`$ECHO &quot;$old_postinstall_cmds&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15457,14 +16117,17 @@ lt_cv_sys_global_symbol_pipe=&#39;<wbr>`$ECHO &quot;$lt_cv_sys_global_symbol_<wbr>pipe&quot; | $SED &quot;$de<br>
&gt; +@@ -15458,14 +16118,17 @@ lt_cv_sys_global_symbol_pipe=&#39;<wbr>`$ECHO &quot;$lt_cv_sys_global_symbol_<wbr>pipe&quot; | $SED &quot;$de<br>
&gt;   lt_cv_sys_global_symbol_to_<wbr>cdecl=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_<wbr>cdecl&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_<wbr>c_name_address&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address_lib_prefix=&#39;`$<wbr>ECHO &quot;$lt_cv_sys_global_symbol_to_<wbr>c_name_address_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5196,7 +5182,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL=&#39;`$ECHO &quot;$DSYMUTIL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   NMEDIT=&#39;`$ECHO &quot;$NMEDIT&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   LIPO=&#39;`$ECHO &quot;$LIPO&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15497,12 +16160,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt; +@@ -15498,12 +16161,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt;   hardcode_automatic=&#39;`$ECHO &quot;$hardcode_automatic&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   inherit_rpath=&#39;`$ECHO &quot;$inherit_rpath&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   link_all_deplibs=&#39;`$ECHO &quot;$link_all_deplibs&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5210,7 +5196,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   file_list_spec=&#39;`$ECHO &quot;$file_list_spec&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   variables_saved_for_relink=&#39;`$<wbr>ECHO &quot;$variables_saved_for_relink&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   need_lib_prefix=&#39;`$ECHO &quot;$need_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15557,8 +16220,13 @@ reload_flag \<br>
&gt; +@@ -15558,8 +16221,13 @@ reload_flag \<br>
&gt;   OBJDUMP \<br>
&gt;   deplibs_check_method \<br>
&gt;   file_magic_cmd \<br>
&gt; @@ -5224,7 +5210,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP \<br>
&gt;   RANLIB \<br>
&gt;   CC \<br>
&gt; -@@ -15568,12 +16236,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt; +@@ -15569,12 +16237,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt;   lt_cv_sys_global_symbol_to_<wbr>cdecl \<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address \<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address_lib_prefix \<br>
&gt; @@ -5240,7 +5226,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL \<br>
&gt;   NMEDIT \<br>
&gt;   LIPO \<br>
&gt; -@@ -15589,7 +16259,6 @@ no_undefined_flag \<br>
&gt; +@@ -15590,7 +16260,6 @@ no_undefined_flag \<br>
&gt;   hardcode_libdir_flag_spec \<br>
&gt;   hardcode_libdir_flag_spec_ld \<br>
&gt;   hardcode_libdir_separator \<br>
&gt; @@ -5248,7 +5234,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   exclude_expsyms \<br>
&gt;   include_expsyms \<br>
&gt;   file_list_spec \<br>
&gt; -@@ -15625,6 +16294,7 @@ module_cmds \<br>
&gt; +@@ -15626,6 +16295,7 @@ module_cmds \<br>
&gt;   module_expsym_cmds \<br>
&gt;   export_symbols_cmds \<br>
&gt;   prelink_cmds \<br>
&gt; @@ -5256,7 +5242,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   postinstall_cmds \<br>
&gt;   postuninstall_cmds \<br>
&gt;   finish_cmds \<br>
&gt; -@@ -16389,7 +17059,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt; +@@ -16390,7 +17060,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt;   # NOTE: Changes made to this file will be lost: look at ltmain.sh.<br>
&gt;   #<br>
&gt;   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,<br>
&gt; @@ -5266,7 +5252,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   #   Written by Gordon Matzigkeit, 1996<br>
&gt;   #<br>
&gt;   #   This file is part of GNU Libtool.<br>
&gt; -@@ -16492,19 +17163,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt; +@@ -16493,19 +17164,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt;   # turn newlines into spaces.<br>
&gt;   NL2SP=$lt_lt_NL2SP<br>
&gt;<br>
&gt; @@ -5310,7 +5296,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # A symbol stripping program.<br>
&gt;   STRIP=$lt_STRIP<br>
&gt;<br>
&gt; -@@ -16534,6 +17228,12 @@ global_symbol_to_c_name_<wbr>address=$lt_lt_cv_sys_global_<wbr>symbol_to_c_name_address<br>
&gt; +@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_<wbr>address=$lt_lt_cv_sys_global_<wbr>symbol_to_c_name_address<br>
&gt;   # Transform the output of nm in a C name address pair when lib prefix is needed.<br>
&gt;   global_symbol_to_c_name_<wbr>address_lib_prefix=$lt_lt_cv_<wbr>sys_global_symbol_to_c_name_<wbr>address_lib_prefix<br>
&gt;<br>
&gt; @@ -5323,7 +5309,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # The name of the directory that contains temporary libtool files.<br>
&gt;   objdir=$objdir<br>
&gt;<br>
&gt; -@@ -16543,6 +17243,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt; +@@ -16544,6 +17244,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt;   # Must we lock files when doing compilation?<br>
&gt;   need_locks=$lt_need_locks<br>
&gt;<br>
&gt; @@ -5333,7 +5319,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.<br>
&gt;   DSYMUTIL=$lt_DSYMUTIL<br>
&gt;<br>
&gt; -@@ -16657,12 +17360,12 @@ with_gcc=$GCC<br>
&gt; +@@ -16658,12 +17361,12 @@ with_gcc=$GCC<br>
&gt;   # Compiler flag to turn off builtin functions.<br>
&gt;   no_builtin_flag=$lt_lt_prog_<wbr>compiler_no_builtin_flag<br>
&gt;<br>
&gt; @@ -5349,7 +5335,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Compiler flag to prevent dynamic linking.<br>
&gt;   link_static_flag=$lt_lt_prog_<wbr>compiler_static<br>
&gt;<br>
&gt; -@@ -16749,9 +17452,6 @@ inherit_rpath=$inherit_rpath<br>
&gt; +@@ -16750,9 +17453,6 @@ inherit_rpath=$inherit_rpath<br>
&gt;   # Whether libtool must link a program against all its dependency libraries.<br>
&gt;   link_all_deplibs=$link_all_<wbr>deplibs<br>
&gt;<br>
&gt; @@ -5359,7 +5345,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Set to &quot;yes&quot; if exported symbols are required.<br>
&gt;   always_export_symbols=$always_<wbr>export_symbols<br>
&gt;<br>
&gt; -@@ -16767,6 +17467,9 @@ include_expsyms=$lt_include_<wbr>expsyms<br>
&gt; +@@ -16768,6 +17468,9 @@ include_expsyms=$lt_include_<wbr>expsyms<br>
&gt;   # Commands necessary for linking programs (against libraries) with templates.<br>
&gt;   prelink_cmds=$lt_prelink_cmds<br>
&gt;<br>
&gt; @@ -5369,7 +5355,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Specify filename containing input files.<br>
&gt;   file_list_spec=$lt_file_list_<wbr>spec<br>
&gt;<br>
&gt; -@@ -16799,210 +17502,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt; +@@ -16800,210 +17503,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt;     # if finds mixed CR/LF and LF-only lines.  Since sed operates in<br>
&gt;     # text mode, it properly converts lines to CR/LF.  This bash problem<br>
&gt;     # is reportedly fixed, but why not run on old versions too?<br>
&gt; @@ -5744,7 +5730,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index 679e0dce77..ac4c016a63 100755<br>
&gt; +index 6b43bf2b18..245ee48bc3 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -631,8 +631,11 @@ OTOOL<br>
&gt; @@ -7654,7 +7640,7 @@ index 679e0dce77..ac4c016a63 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index d7f66f8cdc..4e71511bd1 100755<br>
&gt; +index 0cc6e8a50f..db8b998722 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -655,8 +655,11 @@ OTOOL<br>
&gt; @@ -17336,7 +17322,7 @@ index bf92b5e079..c573da90c5 100644<br>
&gt;   # These exist entirely to fool aclocal when bootstrapping libtool.<br>
&gt;   #<br>
&gt;  diff --git a/opcodes/configure b/opcodes/configure<br>
&gt; -index 17530f54b9..79b39611c2 100755<br>
&gt; +index 4f29887098..2127d39288 100755<br>
&gt;  --- a/opcodes/configure<br>
&gt;  +++ b/opcodes/configure<br>
&gt;  @@ -650,6 +650,9 @@ OTOOL<br>
&gt; @@ -19240,7 +19226,7 @@ index 17530f54b9..79b39611c2 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index a9fbfd61f1..c43780f64d 100644<br>
&gt; +index b07f3f3629..5a32d9b1fc 100644<br>
&gt;  --- a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -167,7 +167,7 @@ changequote(,)dnl<br>
&gt; @@ -21153,5 +21139,5 @@ index dc2d9ed383..ed9a492f5c 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch<br>
&gt; index 88019606f7..4a5127380f 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 2b87aad1741bc481dd0982f100ad5e<wbr>a7f937bb61 Mon Sep 17 00:00:00 2001<br>
&gt; +From 697903256e09533778baa8af66402c<wbr>44d70219d9 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:37:10 +0000<br>
&gt;  Subject: [PATCH 07/15] Add the armv5e architecture to binutils<br>
&gt; @@ -19,10 +19,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 1 insertion(+)<br>
&gt;<br>
&gt;  diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c<br>
&gt; -index a885efe4fc..735eaa7447 100644<br>
&gt; +index ec50420518..a25d1721af 100644<br>
&gt;  --- a/gas/config/tc-arm.c<br>
&gt;  +++ b/gas/config/tc-arm.c<br>
&gt; -@@ -25990,6 +25990,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt; +@@ -26195,6 +26195,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt;     ARM_ARCH_OPT (&quot;armv4t&quot;,     ARM_ARCH_V4T,    FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv4txm&quot;,   ARM_ARCH_V4TxM,  FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5&quot;,      ARM_ARCH_V5,     FPU_ARCH_VFP),<br>
&gt; @@ -31,5 +31,5 @@ index a885efe4fc..735eaa7447 100644<br>
&gt;     ARM_ARCH_OPT (&quot;armv5txm&quot;,   ARM_ARCH_V5TxM,  FPU_ARCH_VFP),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5te&quot;,    ARM_ARCH_V5TE,   FPU_ARCH_VFP),<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch<br>
&gt; index 30a22b504f..939be67b58 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 331443a87a31ec504e5652fc099d91<wbr>29a9a4deb8 Mon Sep 17 00:00:00 2001<br>
&gt; +From 622d66634eb2e509d4126f5bdcab26<wbr>de367241a1 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:39:01 +0000<br>
&gt;  Subject: [PATCH 08/15] don&#39;t let the distro compiler point to the wrong<br>
&gt; @@ -17,7 +17,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 2 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in<br>
&gt; -index 25cfa29ad5..ce67a710e3 100644<br>
&gt; +index ed1b334c36..d4ffd8b57b 100644<br>
&gt;  --- a/libiberty/Makefile.in<br>
&gt;  +++ b/libiberty/Makefile.in<br>
&gt;  @@ -364,7 +364,8 @@ install-strip: install<br>
&gt; @@ -31,5 +31,5 @@ index 25cfa29ad5..ce67a710e3 100644<br>
&gt;         if test -n &quot;${target_header_dir}&quot;; then \<br>
&gt;                 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(<wbr>MULTIOSDIR); \<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch b/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch<br>
&gt; index e0e257880d..e75104722b 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 0a4afdcf0700efd45963568e2d0049<wbr>127cdf4434 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27e38ee92c24fca86b1c3f6ef156a1<wbr>892dd06bfd Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 15 Jan 2016 06:31:09 +0000<br>
&gt;  Subject: [PATCH 09/15] warn for uses of system directories when cross linking<br>
&gt; @@ -77,7 +77,7 @@ index a846743da6..df3cd5fb60 100644<br>
&gt;   #undef EXTRA_SHLIB_EXTENSION<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index 4e71511bd1..71c6ad1fd1 100755<br>
&gt; +index db8b998722..489ead5c13 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -789,6 +789,7 @@ with_lib_path<br>
&gt; @@ -118,7 +118,7 @@ index 4e71511bd1..71c6ad1fd1 100755<br>
&gt;   if test &quot;${enable_gold+set}&quot; = set; then :<br>
&gt;     enableval=$enable_gold; case &quot;${enableval}&quot; in<br>
&gt;  diff --git a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 00080f85fd..3aa98e37fb 100644<br>
&gt; +index bada1b50b0..d074a3820b 100644<br>
&gt;  --- a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot)<br>
&gt; @@ -139,10 +139,10 @@ index 00080f85fd..3aa98e37fb 100644<br>
&gt;   dnl &quot;install_as_default&quot; is set to false if gold is the default linker.<br>
&gt;   dnl &quot;installed_linker&quot; is the installed BFD linker name.<br>
&gt;  diff --git a/ld/ld.h b/ld/ld.h<br>
&gt; -index c6fa1247f0..01c373498f 100644<br>
&gt; +index ba914b921e..9df17dab6c 100644<br>
&gt;  --- a/ld/ld.h<br>
&gt;  +++ b/ld/ld.h<br>
&gt; -@@ -174,6 +174,14 @@ typedef struct<br>
&gt; +@@ -180,6 +180,14 @@ typedef struct<br>
&gt;        in the linker script.  */<br>
&gt;     bfd_boolean force_group_allocation;<br>
&gt;<br>
&gt; @@ -158,10 +158,10 @@ index c6fa1247f0..01c373498f 100644<br>
&gt;     enum endian_enum endian;<br>
&gt;<br>
&gt;  diff --git a/ld/ld.texinfo b/ld/ld.texinfo<br>
&gt; -index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt; +index c89915f1aa..df430837e2 100644<br>
&gt;  --- a/ld/ld.texinfo<br>
&gt;  +++ b/ld/ld.texinfo<br>
&gt; -@@ -2480,6 +2480,18 @@ string identifying the original linked file does not change.<br>
&gt; +@@ -2498,6 +2498,18 @@ string identifying the original linked file does not change.<br>
&gt;<br>
&gt;   Passing @code{none} for @var{style} disables the setting from any<br>
&gt;   @code{--build-id} options earlier on the command line.<br>
&gt; @@ -181,7 +181,7 @@ index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt;<br>
&gt;   @c man end<br>
&gt;  diff --git a/ld/ldfile.c b/ld/ldfile.c<br>
&gt; -index 3b37a0a3e2..5c85b01849 100644<br>
&gt; +index 6532a57d96..f943f0b2e5 100644<br>
&gt;  --- a/ld/ldfile.c<br>
&gt;  +++ b/ld/ldfile.c<br>
&gt;  @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline)<br>
&gt; @@ -209,7 +209,7 @@ index 3b37a0a3e2..5c85b01849 100644<br>
&gt;<br>
&gt;   /* Try to open a BFD for a lang_input_statement.  */<br>
&gt;  diff --git a/ld/ldlex.h b/ld/ldlex.h<br>
&gt; -index 5aa7f6bc3e..cb655e0399 100644<br>
&gt; +index 140ed1d9da..9965cbc04f 100644<br>
&gt;  --- a/ld/ldlex.h<br>
&gt;  +++ b/ld/ldlex.h<br>
&gt;  @@ -147,6 +147,8 @@ enum option_values<br>
&gt; @@ -222,7 +222,7 @@ index 5aa7f6bc3e..cb655e0399 100644<br>
&gt;<br>
&gt;   /* The initial parser states.  */<br>
&gt;  diff --git a/ld/ldmain.c b/ld/ldmain.c<br>
&gt; -index 2b09f20413..89e2a3a805 100644<br>
&gt; +index c473ed24c3..adae0b4610 100644<br>
&gt;  --- a/ld/ldmain.c<br>
&gt;  +++ b/ld/ldmain.c<br>
&gt;  @@ -261,6 +261,8 @@ main (int argc, char **argv)<br>
&gt; @@ -235,7 +235,7 @@ index 2b09f20413..89e2a3a805 100644<br>
&gt;     /* We initialize DEMANGLING based on the environment variable<br>
&gt;        COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the<br>
&gt;  diff --git a/ld/lexsup.c b/ld/lexsup.c<br>
&gt; -index effa277b16..e4929607e9 100644<br>
&gt; +index f2191602d4..bccb3bdeef 100644<br>
&gt;  --- a/ld/lexsup.c<br>
&gt;  +++ b/ld/lexsup.c<br>
&gt;  @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] =<br>
&gt; @@ -269,5 +269,5 @@ index effa277b16..e4929607e9 100644<br>
&gt;       }<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch<br>
&gt; index 496242efa4..33dfff9bd7 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 88fac08f1c472c612f381cbb940875<wbr>6f2f58b4ff Mon Sep 17 00:00:00 2001<br>
&gt; +From e205ae05c41a8cc8d47708f0a3b6f7<wbr>40e2bf2526 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:42:38 +0000<br>
&gt;  Subject: [PATCH 10/15] Fix rpath in libtool when sysroot is enabled<br>
&gt; @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644<br>
&gt;             if test -z &quot;$hardcode_libdirs&quot;; then<br>
&gt;               hardcode_libdirs=&quot;$libdir&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch<br>
&gt; index ac87a2d1de..80fcbc1194 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 497660bdbeb6788786553a5d733105<wbr>f7f898dc62 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7978c1299021033c35c29c94e09972<wbr>35f7ede248 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:44:14 +0000<br>
&gt;  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux<br>
&gt; @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 8 insertions(+), 8 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index dc24aabad5..4511024f22 100644<br>
&gt; +index f04a993f06..8777f96bd2 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1186,12 +1186,12 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1189,12 +1189,12 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_<wbr>vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec&quot;<br>
&gt;       ;;<br>
&gt;     mips64*el-*-linux*)<br>
&gt; @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644<br>
&gt;     mips*el-*-linux*)<br>
&gt;       targ_defvec=mips_elf32_trad_<wbr>le_vec<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index 47c719cd05..fe7b9238b2 100644<br>
&gt; +index 6183a85b3d..1d78465590 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt; +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt;   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks<br>
&gt; -                       targ_extra_emuls=&quot;<wbr>elf32elmipvxworks&quot; ;;<br>
&gt; +                       targ_extra_emuls=&quot;<wbr>elf32elmipvxworks&quot; ;;<br>
&gt;   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;<br>
&gt;  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32<br>
&gt;  -                      targ_extra_emuls=&quot;<wbr>elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip&quot;<br>
&gt; @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644<br>
&gt;   mips*el-*-linux-*)    targ_emul=elf32ltsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch<br>
&gt; index dc5e580739..1fefb680f8 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8c60a55d3678589d93739bd27fec21<wbr>6911d80968 Mon Sep 17 00:00:00 2001<br>
&gt; +From 3b40bf584615f794b85fd50d4d0a5c<wbr>0a1d2ee7bf Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:06:19 +0000<br>
&gt;  Subject: [PATCH 12/15] Add support for Netlogic XLP<br>
&gt; @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle &lt;<a href="mailto:mark.hatle@windriver.com">mark.hatle@windriver.com</a>&gt;<br>
&gt;   14 files changed, 61 insertions(+), 21 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/aoutx.h b/bfd/aoutx.h<br>
&gt; -index 3d38fda14b..0aec49bbb3 100644<br>
&gt; +index eec9c4ad2a..3bf0a71e63 100644<br>
&gt;  --- a/bfd/aoutx.h<br>
&gt;  +++ b/bfd/aoutx.h<br>
&gt;  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,<br>
&gt; @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644<br>
&gt;           arch_flags = M_MIPS2;<br>
&gt;           break;<br>
&gt;  diff --git a/bfd/archures.c b/bfd/archures.c<br>
&gt; -index 433b95fa08..063b7943a1 100644<br>
&gt; +index e83c57a2f3..3016ea1bae 100644<br>
&gt;  --- a/bfd/archures.c<br>
&gt;  +++ b/bfd/archures.c<br>
&gt;  @@ -201,6 +201,7 @@ DESCRIPTION<br>
&gt; - .#define bfd_mach_mips_octeon3          6503<br>
&gt; - .#define bfd_mach_mips_xlr              887682   {* decimal &#39;XLR&#39;  *}<br>
&gt; - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal &#39;IA2&#39;  *}<br>
&gt; -+.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;  *}<br>
&gt; - .#define bfd_mach_mipsisa32             32<br>
&gt; - .#define bfd_mach_mipsisa32r2           33<br>
&gt; - .#define bfd_mach_mipsisa32r3           34<br>
&gt; + .#define bfd_mach_mips_octeon3                6503<br>
&gt; + .#define bfd_mach_mips_xlr            887682   {* decimal &#39;XLR&#39;.  *}<br>
&gt; + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal &#39;IA2&#39;.  *}<br>
&gt; ++.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;.  *}<br>
&gt; + .#define bfd_mach_mipsisa32           32<br>
&gt; + .#define bfd_mach_mipsisa32r2         33<br>
&gt; + .#define bfd_mach_mipsisa32r3         34<br>
&gt;  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h<br>
&gt; -index d126aed086..2b753b3a93 100644<br>
&gt; +index 42991e7848..27abc5d5a8 100644<br>
&gt;  --- a/bfd/bfd-in2.h<br>
&gt;  +++ b/bfd/bfd-in2.h<br>
&gt; -@@ -2060,6 +2060,7 @@ enum bfd_architecture<br>
&gt; +@@ -2062,6 +2062,7 @@ enum bfd_architecture<br>
&gt;   #define bfd_mach_mips_octeon3          6503<br>
&gt; - #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;  */<br>
&gt; - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;  */<br>
&gt; -+#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;  */<br>
&gt; + #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;.  */<br>
&gt; + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;.  */<br>
&gt; ++#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;.  */<br>
&gt;   #define bfd_mach_mipsisa32             32<br>
&gt;   #define bfd_mach_mipsisa32r2           33<br>
&gt;   #define bfd_mach_mipsisa32r3           34<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index 4511024f22..f0f9072f10 100644<br>
&gt; +index 8777f96bd2..7b80bda8c9 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1169,6 +1169,11 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1172,6 +1172,11 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_defvec=mips_elf32_le_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_be_<wbr>vec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;       ;;<br>
&gt; @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644<br>
&gt;       targ_defvec=mips_elf32_be_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_<wbr>vec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c<br>
&gt; -index 2493094bef..8375d1ae96 100644<br>
&gt; +index cb50c64371..2b9d1d6ecf 100644<br>
&gt;  --- a/bfd/cpu-mips.c<br>
&gt;  +++ b/bfd/cpu-mips.c<br>
&gt;  @@ -105,7 +105,8 @@ enum<br>
&gt; @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   #define NN(index) (&amp;arch_info_struct[(index) + 1])<br>
&gt;  @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] =<br>
&gt; -   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,       FALSE, NN(I_xlr)),<br>
&gt; +   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,     FALSE, NN(I_xlr)),<br>
&gt;     N (32, 32, bfd_mach_mips_interaptiv_mr2, &quot;mips:interaptiv-mr2&quot;, FALSE,<br>
&gt;        NN(I_interaptiv_mr2)),<br>
&gt;  -  N (64, 64, bfd_mach_mips_micromips,&quot;mips:<wbr>micromips&quot;,FALSE,0)<br>
&gt; @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   /* The default architecture is mips:3000, but with a machine number of<br>
&gt;  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c<br>
&gt; -index fddf68c816..354c85d00b 100644<br>
&gt; +index 285401367d..14ebb5f175 100644<br>
&gt;  --- a/bfd/elfxx-mips.c<br>
&gt;  +++ b/bfd/elfxx-mips.c<br>
&gt; -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt; +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt;       case E_MIPS_MACH_IAMR2:<br>
&gt;         return bfd_mach_mips_interaptiv_mr2;<br>
&gt;<br>
&gt; @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       default:<br>
&gt;         switch (flags &amp; EF_MIPS_ARCH)<br>
&gt;         {<br>
&gt; -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt; +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt;         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;<br>
&gt;         break;<br>
&gt;<br>
&gt; @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       case bfd_mach_mipsisa32:<br>
&gt;         val = E_MIPS_ARCH_32;<br>
&gt;         break;<br>
&gt; -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt; +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt;     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },<br>
&gt;     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },<br>
&gt;     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },<br>
&gt; @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644<br>
&gt;     /* MIPS64 extensions.  */<br>
&gt;     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },<br>
&gt;  diff --git a/binutils/readelf.c b/binutils/readelf.c<br>
&gt; -index 2b15f0f2cb..092744708e 100644<br>
&gt; +index ae1cda9a7b..fed0387a94 100644<br>
&gt;  --- a/binutils/readelf.c<br>
&gt;  +++ b/binutils/readelf.c<br>
&gt; -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)<br>
&gt; +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)<br>
&gt;             case E_MIPS_MACH_OCTEON3: strcat (buf, &quot;, octeon3&quot;); break;<br>
&gt;             case E_MIPS_MACH_XLR:  strcat (buf, &quot;, xlr&quot;); break;<br>
&gt;             case E_MIPS_MACH_IAMR2:  strcat (buf, &quot;, interaptiv-mr2&quot;); break;<br>
&gt; @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644<br>
&gt;             /* We simply ignore the field in this case to avoid confusion:<br>
&gt;                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU<br>
&gt;  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c<br>
&gt; -index 3804df2958..9576c986db 100644<br>
&gt; +index c135131b59..d8fbda8e31 100644<br>
&gt;  --- a/gas/config/tc-mips.c<br>
&gt;  +++ b/gas/config/tc-mips.c<br>
&gt;  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;<br>
&gt; @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;      )<br>
&gt;<br>
&gt;   /* Whether the processor uses hardware interlocks to protect reads<br>
&gt; -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt; +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt;     /* Broadcom XLP.<br>
&gt;        XLP is mostly like XLR, with the prominent exception that it is<br>
&gt;        MIPS64R2 rather than MIPS64.  */<br>
&gt; @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;     /* MIPS 64 Release 6 */<br>
&gt;     { &quot;i6400&quot;,        0, ASE_MSA,               ISA_MIPS64R6, CPU_MIPS64R6},<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 81dd4cbd97..95bdf3b19b 100755<br>
&gt; +index a40ac2144f..65a6995243 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -12989,6 +12989,9 @@ _ACEOF<br>
&gt; @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755<br>
&gt;             mips_cpu=r3900<br>
&gt;             ;;<br>
&gt;  diff --git a/include/elf/mips.h b/include/elf/mips.h<br>
&gt; -index a4bea43ff8..73d904e25f 100644<br>
&gt; +index 9de0b4e175..74fc4f7e55 100644<br>
&gt;  --- a/include/elf/mips.h<br>
&gt;  +++ b/include/elf/mips.h<br>
&gt;  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)<br>
&gt; @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644<br>
&gt;   #define E_MIPS_MACH_OCTEON3   0x008e0000<br>
&gt;   #define E_MIPS_MACH_5400      0x00910000<br>
&gt;  diff --git a/include/opcode/mips.h b/include/opcode/mips.h<br>
&gt; -index ceae9ec50a..276ee3c6c1 100644<br>
&gt; +index 5eea72f139..90f6d57e15 100644<br>
&gt;  --- a/include/opcode/mips.h<br>
&gt;  +++ b/include/opcode/mips.h<br>
&gt;  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {<br>
&gt; @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644<br>
&gt;         return FALSE;<br>
&gt;       }<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index fe7b9238b2..2adf108b17 100644<br>
&gt; +index 1d78465590..307e787b64 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt; +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt;   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)<br>
&gt;                         targ_emul=elf32btsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip&quot; ;;<br>
&gt; @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644<br>
&gt;                         targ_extra_emuls=&quot;elf32lr5900&quot;<br>
&gt;                         targ_extra_libpath=$targ_<wbr>extra_emuls ;;<br>
&gt;  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c<br>
&gt; -index 45195007c1..4a80a05d19 100644<br>
&gt; +index 984fcbb802..95b107d216 100644<br>
&gt;  --- a/opcodes/mips-dis.c<br>
&gt;  +++ b/opcodes/mips-dis.c<br>
&gt;  @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[] =<br>
&gt; @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644<br>
&gt;     /* This entry, mips16, is here only for ISA/processor selection; do<br>
&gt;        not print its name.  */<br>
&gt;  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c<br>
&gt; -index 19fca408c9..d02069c528 100644<br>
&gt; +index 180d613c93..65b7b8cc23 100644<br>
&gt;  --- a/opcodes/mips-opc.c<br>
&gt;  +++ b/opcodes/mips-opc.c<br>
&gt;  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)<br>
&gt; @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644<br>
&gt;   {&quot;swc0&quot;,              &quot;E,A(b)&quot;,       0,    (int) M_SWC0_AB,  INSN_MACRO,             0,              I1,             0,      IOCT|IOCTP|IOCT2|I37 },<br>
&gt;   {&quot;swc1&quot;,              &quot;T,o(b)&quot;,       0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch<br>
&gt; index 247376b7ed..c3e1b13841 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e46202becab625c6c08caf91e08ccb<wbr>bc1bf799c4 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27ec22ca3cd56cfdf060d2e1f414be<wbr>dce269b322 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Zhenhua Luo &lt;<a href="mailto:zhenhua.luo@nxp.com">zhenhua.luo@nxp.com</a>&gt;<br>
&gt;  Date: Sat, 11 Jun 2016 22:08:29 -0500<br>
&gt;  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait mnemonic<br>
&gt; @@ -11,10 +11,10 @@ Upstream-Status: Pending<br>
&gt;   1 file changed, 1 insertion(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c<br>
&gt; -index 426261ab21..0d35916cdd 100644<br>
&gt; +index bb17f26c2e..dbdd762b4e 100644<br>
&gt;  --- a/opcodes/ppc-opc.c<br>
&gt;  +++ b/opcodes/ppc-opc.c<br>
&gt; -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;   {&quot;ldepx&quot;,     X(31,29),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt;   {&quot;waitasec&quot;,  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,         {0}},<br>
&gt; @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;<br>
&gt;   {&quot;lwepx&quot;,     X(31,31),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt; -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;<br>
&gt;   {&quot;waitrsv&quot;,   X(31,62)|(1&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt;   {&quot;waitimpl&quot;,  X(31,62)|(2&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt; @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;   {&quot;dcbstep&quot;,   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,           {RA0, RB}},<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch<br>
&gt; index 42b1065f8d..cf3690f25d 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From bf20d5823662d1f2eb47de2cdfd173<wbr>627a205b17 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7dfbd6889d868a09d695dd27361048<wbr>48c1a9c9c3 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 31 Mar 2017 11:42:03 -0700<br>
&gt;  Subject: [PATCH 14/15] Detect 64-bit MIPS targets<br>
&gt; @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 14 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/gold/configure.tgt b/gold/configure.tgt<br>
&gt; -index 3d63027297..c1f92a1360 100644<br>
&gt; +index 8aef22a318..7030026ffa 100644<br>
&gt;  --- a/gold/configure.tgt<br>
&gt;  +++ b/gold/configure.tgt<br>
&gt;  @@ -153,6 +153,13 @@ aarch64*-*)<br>
&gt; @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644<br>
&gt;    targ_obj=mips<br>
&gt;    targ_machine=EM_MIPS<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch<br>
&gt; index 2c8900cb66..8c9fd237e7 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9b456a0e4f284fd41ac36595144ed4<wbr>4dc82410ee Mon Sep 17 00:00:00 2001<br>
&gt; +From 298804f430939d6cc94b09732ee93e<wbr>64c5e6be18 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Ross Burton &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:33:27 -0800<br>
&gt;  Subject: [PATCH 15/15] sync with OE libtool changes<br>
&gt; @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644<br>
&gt;         elif test -n &quot;$runpath_var&quot;; then<br>
&gt;           case &quot;$finalize_perm_rpath &quot; in<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; --<br>
&gt; 2.16.1<br>
&gt;<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Feb. 20, 2018, 10:38 a.m. UTC | #3
Ah yes, aarch64.

Lots of errors like this when building glibc 2.26:

| /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc):
relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol
`free' defined in .text section in
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os

|
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld:
BFD (GNU Binutils) 2.30.0.20180208 assertion fail
../../bfd/elfnn-aarch64.c:4386

|
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.
data.rel.ro+0x310): dangerous relocation: unsupported relocation

https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio

Apart from that the AB was entirely green.

Ross

On 20 February 2018 at 01:06, Burton, Ross <ross.burton@intel.com> wrote:

> Can't remember if this failed anywhere that wasn't related to the glibc

> upgrade, so I just fired this patch standalone on the autobuilder.

>

> Ross

>

> On 16 February 2018 at 03:03, Khem Raj <raj.khem@gmail.com> wrote:

>

>> ping

>>

>> On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj <raj.khem@gmail.com> wrote:

>> > 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>

>> > ---

>> > Changes since v1:

>> >

>> > - Backport fixes for aarch64 relocs

>> > - ppc plt fix, dwarf-4 line number support and linker script fix for

>> removing PROVODE

>> >

>> >  meta/conf/distro/include/tcmode-default.inc        |  2 +-

>> >  .../{binutils-2.29.1.inc => binutils-2.30.inc}     |  2 +-

>> >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0

>> >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0

>> >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0

>> >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---

>> >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-

>> >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---

>> >  .../0004-Point-scripts-location-to-libdir.patch    |  8 +--

>> >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--

>> >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66

>> ++++++++------------

>> >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--

>> >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-

>> >  ...es-of-system-directories-when-cross-linki.patch | 24 ++++----

>> >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-

>> >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---

>> >  .../0012-Add-support-for-Netlogic-XLP.patch        | 70

>> +++++++++++-----------

>> >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--

>> >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-

>> >  .../0015-sync-with-OE-libtool-changes.patch        |  4 +-

>> >  .../{binutils_2.29.1.bb => binutils_2.30.bb}       |  0

>> >  21 files changed, 127 insertions(+), 141 deletions(-)

>> >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>

>> binutils-2.30.inc} (97%)

>> >  rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.

>> 29.1.bb => binutils-cross-canadian_2.30.bb} (100%)

>> >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>

>> binutils-cross_2.30.bb} (100%)

>> >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb =>

>> binutils-crosssdk_2.30.bb} (100%)

>> >  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb =>

>> binutils_2.30.bb} (100%)

>> >

>> > diff --git a/meta/conf/distro/include/tcmode-default.inc

>> b/meta/conf/distro/include/tcmode-default.inc

>> > index da45642440..037d331605 100644

>> > --- a/meta/conf/distro/include/tcmode-default.inc

>> > +++ b/meta/conf/distro/include/tcmode-default.inc

>> > @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"

>> >

>> >  GCCVERSION ?= "7.%"

>> >  SDKGCCVERSION ?= "${GCCVERSION}"

>> > -BINUVERSION ?= "2.29%"

>> > +BINUVERSION ?= "2.30%"

>> >  GDBVERSION ?= "8.0%"

>> >  LINUXLIBCVERSION ?= "4.14%"

>> >  GLIBCVERSION ?= "2.27%"

>> > diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc

>> b/meta/recipes-devtools/binutils/binutils-2.30.inc

>> > similarity index 97%

>> > rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc

>> > rename to 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/binu

>> tils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git

>> <http://sourceware.org/git/binutils-gdb.git;branch=binutils-$%7BBINUPV%7D-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

>> > similarity index 100%

>> > rename from meta/recipes-devtools/binutils/

>> binutils-cross-canadian_2.29.1.bb

>> > rename to 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

>> > similarity index 100%

>> > rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb

>> > rename to 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

>> > similarity index 100%

>> > rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb

>> > rename to 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/binuti

>> ls/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_ALIGN

>> MENT_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_addres

>> s=$lt_lt_cv_sys_global_symbol_to_c_name_address

>> > +@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_addres

>> s=$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/binuti

>> ls/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/binuti

>> ls/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 sysroot is enabled

>> > @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644

>> >             if test -z "$hardcode_libdirs"; then

>> >               hardcode_libdirs="$libdir"

>> >  --

>> > -2.14.0

>> > +2.16.1

>> >

>> > diff --git a/meta/recipes-devtools/binutils/binutils/0011-Change-defaul

>> t-emulation-for-mips64-linux.patch b/meta/recipes-devtools/binuti

>> ls/binutils/0011-Change-default-emulation-for-mips64-linux.patch

>> > index ac87a2d1de..80fcbc1194 100644

>> > --- a/meta/recipes-devtools/binutils/binutils/0011-Change-defaul

>> t-emulation-for-mips64-linux.patch

>> > +++ b/meta/recipes-devtools/binutils/binutils/0011-Change-defaul

>> t-emulation-for-mips64-linux.patch

>> > @@ -1,4 +1,4 @@

>> > -From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00 2001

>> > +From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00 2001

>> >  From: Khem Raj <raj.khem@gmail.com>

>> >  Date: Mon, 2 Mar 2015 01:44:14 +0000

>> >  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux

>> > @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> >   2 files changed, 8 insertions(+), 8 deletions(-)

>> >

>> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

>> > -index dc24aabad5..4511024f22 100644

>> > +index f04a993f06..8777f96bd2 100644

>> >  --- a/bfd/config.bfd

>> >  +++ b/bfd/config.bfd

>> > -@@ -1186,12 +1186,12 @@ case "${targ}" in

>> > +@@ -1189,12 +1189,12 @@ case "${targ}" in

>> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

>> mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"

>> >       ;;

>> >     mips64*el-*-linux*)

>> > @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644

>> >     mips*el-*-linux*)

>> >       targ_defvec=mips_elf32_trad_le_vec

>> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

>> > -index 47c719cd05..fe7b9238b2 100644

>> > +index 6183a85b3d..1d78465590 100644

>> >  --- a/ld/configure.tgt

>> >  +++ b/ld/configure.tgt

>> > -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)

>> targ_emul=elf32elmipvxworks

>> > +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)

>> targ_emul=elf32elmipvxworks

>> >   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks

>> > -                       targ_extra_emuls="elf32elmipvxworks" ;;

>> > +                       targ_extra_emuls="elf32elmipvxworks" ;;

>> >   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;

>> >  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32

>> >  -                      targ_extra_emuls="elf32btsmipn32 elf32ltsmip

>> elf32btsmip elf64ltsmip elf64btsmip"

>> > @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644

>> >   mips*el-*-linux-*)    targ_emul=elf32ltsmip

>> >                         targ_extra_emuls="elf32btsmip elf32ltsmipn32

>> elf64ltsmip elf32btsmipn32 elf64btsmip"

>> >  --

>> > -2.14.0

>> > +2.16.1

>> >

>> > diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

>> b/meta/recipes-devtools/binutils/binutils/0012-Add-support-

>> for-Netlogic-XLP.patch

>> > index dc5e580739..1fefb680f8 100644

>> > --- a/meta/recipes-devtools/binutils/binutils/0012-Add-support-

>> for-Netlogic-XLP.patch

>> > +++ b/meta/recipes-devtools/binutils/binutils/0012-Add-support-

>> for-Netlogic-XLP.patch

>> > @@ -1,4 +1,4 @@

>> > -From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00 2001

>> > +From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00 2001

>> >  From: Khem Raj <raj.khem@gmail.com>

>> >  Date: Sun, 14 Feb 2016 17:06:19 +0000

>> >  Subject: [PATCH 12/15] Add support for Netlogic XLP

>> > @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>

>> >   14 files changed, 61 insertions(+), 21 deletions(-)

>> >

>> >  diff --git a/bfd/aoutx.h b/bfd/aoutx.h

>> > -index 3d38fda14b..0aec49bbb3 100644

>> > +index eec9c4ad2a..3bf0a71e63 100644

>> >  --- a/bfd/aoutx.h

>> >  +++ b/bfd/aoutx.h

>> >  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture

>> arch,

>> > @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644

>> >           arch_flags = M_MIPS2;

>> >           break;

>> >  diff --git a/bfd/archures.c b/bfd/archures.c

>> > -index 433b95fa08..063b7943a1 100644

>> > +index e83c57a2f3..3016ea1bae 100644

>> >  --- a/bfd/archures.c

>> >  +++ b/bfd/archures.c

>> >  @@ -201,6 +201,7 @@ DESCRIPTION

>> > - .#define bfd_mach_mips_octeon3          6503

>> > - .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}

>> > - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal 'IA2'  *}

>> > -+.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'  *}

>> > - .#define bfd_mach_mipsisa32             32

>> > - .#define bfd_mach_mipsisa32r2           33

>> > - .#define bfd_mach_mipsisa32r3           34

>> > + .#define bfd_mach_mips_octeon3                6503

>> > + .#define bfd_mach_mips_xlr            887682   {* decimal 'XLR'.  *}

>> > + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal 'IA2'.  *}

>> > ++.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'.  *}

>> > + .#define bfd_mach_mipsisa32           32

>> > + .#define bfd_mach_mipsisa32r2         33

>> > + .#define bfd_mach_mipsisa32r3         34

>> >  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h

>> > -index d126aed086..2b753b3a93 100644

>> > +index 42991e7848..27abc5d5a8 100644

>> >  --- a/bfd/bfd-in2.h

>> >  +++ b/bfd/bfd-in2.h

>> > -@@ -2060,6 +2060,7 @@ enum bfd_architecture

>> > +@@ -2062,6 +2062,7 @@ enum bfd_architecture

>> >   #define bfd_mach_mips_octeon3          6503

>> > - #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */

>> > - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'  */

>> > -+#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'  */

>> > + #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'.  */

>> > + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'.  */

>> > ++#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'.  */

>> >   #define bfd_mach_mipsisa32             32

>> >   #define bfd_mach_mipsisa32r2           33

>> >   #define bfd_mach_mipsisa32r3           34

>> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

>> > -index 4511024f22..f0f9072f10 100644

>> > +index 8777f96bd2..7b80bda8c9 100644

>> >  --- a/bfd/config.bfd

>> >  +++ b/bfd/config.bfd

>> > -@@ -1169,6 +1169,11 @@ case "${targ}" in

>> > +@@ -1172,6 +1172,11 @@ case "${targ}" in

>> >       targ_defvec=mips_elf32_le_vec

>> >       targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec

>> mips_elf64_le_vec"

>> >       ;;

>> > @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644

>> >       targ_defvec=mips_elf32_be_vec

>> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

>> mips_elf64_le_vec"

>> >  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c

>> > -index 2493094bef..8375d1ae96 100644

>> > +index cb50c64371..2b9d1d6ecf 100644

>> >  --- a/bfd/cpu-mips.c

>> >  +++ b/bfd/cpu-mips.c

>> >  @@ -105,7 +105,8 @@ enum

>> > @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644

>> >

>> >   #define NN(index) (&arch_info_struct[(index) + 1])

>> >  @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[]

>> =

>> > -   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",       FALSE, NN(I_xlr)),

>> > +   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",     FALSE, NN(I_xlr)),

>> >     N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2",

>> FALSE,

>> >        NN(I_interaptiv_mr2)),

>> >  -  N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)

>> > @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644

>> >

>> >   /* The default architecture is mips:3000, but with a machine number of

>> >  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c

>> > -index fddf68c816..354c85d00b 100644

>> > +index 285401367d..14ebb5f175 100644

>> >  --- a/bfd/elfxx-mips.c

>> >  +++ b/bfd/elfxx-mips.c

>> > -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)

>> > +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)

>> >       case E_MIPS_MACH_IAMR2:

>> >         return bfd_mach_mips_interaptiv_mr2;

>> >

>> > @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644

>> >       default:

>> >         switch (flags & EF_MIPS_ARCH)

>> >         {

>> > -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)

>> > +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)

>> >         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;

>> >         break;

>> >

>> > @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644

>> >       case bfd_mach_mipsisa32:

>> >         val = E_MIPS_ARCH_32;

>> >         break;

>> > -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension

>> mips_mach_extensions[] =

>> > +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension

>> mips_mach_extensions[] =

>> >     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },

>> >     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },

>> >     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },

>> > @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644

>> >     /* MIPS64 extensions.  */

>> >     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },

>> >  diff --git a/binutils/readelf.c b/binutils/readelf.c

>> > -index 2b15f0f2cb..092744708e 100644

>> > +index ae1cda9a7b..fed0387a94 100644

>> >  --- a/binutils/readelf.c

>> >  +++ b/binutils/readelf.c

>> > -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned

>> e_machine)

>> > +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned

>> e_flags, unsigned e_machine)

>> >             case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break;

>> >             case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;

>> >             case E_MIPS_MACH_IAMR2:  strcat (buf, ", interaptiv-mr2");

>> break;

>> > @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644

>> >             /* We simply ignore the field in this case to avoid

>> confusion:

>> >                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU

>> >  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c

>> > -index 3804df2958..9576c986db 100644

>> > +index c135131b59..d8fbda8e31 100644

>> >  --- a/gas/config/tc-mips.c

>> >  +++ b/gas/config/tc-mips.c

>> >  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;

>> > @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644

>> >      )

>> >

>> >   /* Whether the processor uses hardware interlocks to protect reads

>> > -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info

>> mips_cpu_info_table[] =

>> > +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info

>> mips_cpu_info_table[] =

>> >     /* Broadcom XLP.

>> >        XLP is mostly like XLR, with the prominent exception that it is

>> >        MIPS64R2 rather than MIPS64.  */

>> > @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644

>> >     /* MIPS 64 Release 6 */

>> >     { "i6400",        0, ASE_MSA,               ISA_MIPS64R6,

>> CPU_MIPS64R6},

>> >  diff --git a/gas/configure b/gas/configure

>> > -index 81dd4cbd97..95bdf3b19b 100755

>> > +index a40ac2144f..65a6995243 100755

>> >  --- a/gas/configure

>> >  +++ b/gas/configure

>> >  @@ -12989,6 +12989,9 @@ _ACEOF

>> > @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755

>> >             mips_cpu=r3900

>> >             ;;

>> >  diff --git a/include/elf/mips.h b/include/elf/mips.h

>> > -index a4bea43ff8..73d904e25f 100644

>> > +index 9de0b4e175..74fc4f7e55 100644

>> >  --- a/include/elf/mips.h

>> >  +++ b/include/elf/mips.h

>> >  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)

>> > @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644

>> >   #define E_MIPS_MACH_OCTEON3   0x008e0000

>> >   #define E_MIPS_MACH_5400      0x00910000

>> >  diff --git a/include/opcode/mips.h b/include/opcode/mips.h

>> > -index ceae9ec50a..276ee3c6c1 100644

>> > +index 5eea72f139..90f6d57e15 100644

>> >  --- a/include/opcode/mips.h

>> >  +++ b/include/opcode/mips.h

>> >  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {

>> > @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644

>> >         return FALSE;

>> >       }

>> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

>> > -index fe7b9238b2..2adf108b17 100644

>> > +index 1d78465590..307e787b64 100644

>> >  --- a/ld/configure.tgt

>> >  +++ b/ld/configure.tgt

>> > -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

>> mips*el-img-elf*)

>> > +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

>> mips*el-img-elf*)

>> >   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)

>> >                         targ_emul=elf32btsmip

>> >                         targ_extra_emuls="elf32ltsmip elf32btsmipn32

>> elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;

>> > @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644

>> >                         targ_extra_emuls="elf32lr5900"

>> >                         targ_extra_libpath=$targ_extra_emuls ;;

>> >  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c

>> > -index 45195007c1..4a80a05d19 100644

>> > +index 984fcbb802..95b107d216 100644

>> >  --- a/opcodes/mips-dis.c

>> >  +++ b/opcodes/mips-dis.c

>> >  @@ -655,13 +655,11 @@ const struct mips_arch_choice

>> mips_arch_choices[] =

>> > @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644

>> >     /* This entry, mips16, is here only for ISA/processor selection; do

>> >        not print its name.  */

>> >  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c

>> > -index 19fca408c9..d02069c528 100644

>> > +index 180d613c93..65b7b8cc23 100644

>> >  --- a/opcodes/mips-opc.c

>> >  +++ b/opcodes/mips-opc.c

>> >  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)

>> > @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644

>> >   {"swc0",              "E,A(b)",       0,    (int) M_SWC0_AB,

>> INSN_MACRO,             0,              I1,             0,

>> IOCT|IOCTP|IOCT2|I37 },

>> >   {"swc1",              "T,o(b)",       0xe4000000, 0xfc000000,

>> RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },

>> >  --

>> > -2.14.0

>> > +2.16.1

>> >

>> > diff --git a/meta/recipes-devtools/binutils/binutils/0013-fix-the-

>> incorrect-assembling-for-ppc-wait-mnemonic.patch

>> b/meta/recipes-devtools/binutils/binutils/0013-fix-the-

>> incorrect-assembling-for-ppc-wait-mnemonic.patch

>> > index 247376b7ed..c3e1b13841 100644

>> > --- a/meta/recipes-devtools/binutils/binutils/0013-fix-the-

>> incorrect-assembling-for-ppc-wait-mnemonic.patch

>> > +++ b/meta/recipes-devtools/binutils/binutils/0013-fix-the-

>> incorrect-assembling-for-ppc-wait-mnemonic.patch

>> > @@ -1,4 +1,4 @@

>> > -From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00 2001

>> > +From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00 2001

>> >  From: Zhenhua Luo <zhenhua.luo@nxp.com>

>> >  Date: Sat, 11 Jun 2016 22:08:29 -0500

>> >  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait

>> mnemonic

>> > @@ -11,10 +11,10 @@ Upstream-Status: Pending

>> >   1 file changed, 1 insertion(+), 2 deletions(-)

>> >

>> >  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c

>> > -index 426261ab21..0d35916cdd 100644

>> > +index bb17f26c2e..dbdd762b4e 100644

>> >  --- a/opcodes/ppc-opc.c

>> >  +++ b/opcodes/ppc-opc.c

>> > -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {

>> > +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {

>> >   {"ldepx",     X(31,29),       X_MASK,   E500MC|PPCA2, 0,

>> {RT, RA0, RB}},

>> >

>> >   {"waitasec",  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,

>>  {0}},

>> > @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644

>> >

>> >   {"lwepx",     X(31,31),       X_MASK,   E500MC|PPCA2, 0,

>> {RT, RA0, RB}},

>> >

>> > -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {

>> > +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {

>> >

>> >   {"waitrsv",   X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0,

>> {0}},

>> >   {"waitimpl",  X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0,

>> {0}},

>> > @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644

>> >   {"dcbstep",   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,

>>  {RA0, RB}},

>> >

>> >  --

>> > -2.14.0

>> > +2.16.1

>> >

>> > diff --git a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

>> b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-

>> bit-MIPS-targets.patch

>> > index 42b1065f8d..cf3690f25d 100644

>> > --- a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-

>> bit-MIPS-targets.patch

>> > +++ b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-

>> bit-MIPS-targets.patch

>> > @@ -1,4 +1,4 @@

>> > -From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00 2001

>> > +From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00 2001

>> >  From: Khem Raj <raj.khem@gmail.com>

>> >  Date: Fri, 31 Mar 2017 11:42:03 -0700

>> >  Subject: [PATCH 14/15] Detect 64-bit MIPS targets

>> > @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>> >   1 file changed, 14 insertions(+)

>> >

>> >  diff --git a/gold/configure.tgt b/gold/configure.tgt

>> > -index 3d63027297..c1f92a1360 100644

>> > +index 8aef22a318..7030026ffa 100644

>> >  --- a/gold/configure.tgt

>> >  +++ b/gold/configure.tgt

>> >  @@ -153,6 +153,13 @@ aarch64*-*)

>> > @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644

>> >    targ_obj=mips

>> >    targ_machine=EM_MIPS

>> >  --

>> > -2.14.0

>> > +2.16.1

>> >

>> > diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

>> b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-

>> libtool-changes.patch

>> > index 2c8900cb66..8c9fd237e7 100644

>> > --- a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-

>> libtool-changes.patch

>> > +++ b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-

>> libtool-changes.patch

>> > @@ -1,4 +1,4 @@

>> > -From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00 2001

>> > +From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00 2001

>> >  From: Ross Burton <ross.burton@intel.com>

>> >  Date: Mon, 6 Mar 2017 23:33:27 -0800

>> >  Subject: [PATCH 15/15] sync with OE libtool changes

>> > @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644

>> >         elif test -n "$runpath_var"; then

>> >           case "$finalize_perm_rpath " in

>> >  --

>> > -2.14.0

>> > +2.16.1

>> >

>> > diff --git a/meta/recipes-devtools/binutils/binutils_2.29.1.bb

>> b/meta/recipes-devtools/binutils/binutils_2.30.bb

>> > similarity index 100%

>> > rename from meta/recipes-devtools/binutils/binutils_2.29.1.bb

>> > rename to meta/recipes-devtools/binutils/binutils_2.30.bb

>> > --

>> > 2.16.1

>> >

>> --

>> _______________________________________________

>> Openembedded-core mailing list

>> Openembedded-core@lists.openembedded.org

>> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>>

>

>
<div dir="ltr">Ah yes, aarch64.<div><br></div><div>Lots of errors like this when building glibc 2.26:</div><div><br>| /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc): relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol `free&#39; defined in .text section in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os<br><br>| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: BFD (GNU Binutils) 2.30.0.20180208 assertion fail ../../bfd/elfnn-aarch64.c:4386<br><br>| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.<a href="http://data.rel.ro">data.rel.ro</a>+0x310): dangerous relocation: unsupported relocation</div><div><br></div><div><a href="https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio">https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio</a><br></div><div><br></div><div>Apart from that the AB was entirely green.</div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2018 at 01:06, Burton, Ross <span dir="ltr">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Can&#39;t remember if this failed anywhere that wasn&#39;t related to the glibc upgrade, so I just fired this patch standalone on the autobuilder.<span class="HOEnZb"><font color="#888888"><div><br></div><div>Ross</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 16 February 2018 at 03:03, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping<br>
<div class="m_7477627778303079584HOEnZb"><div class="m_7477627778303079584h5"><br>
On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt; Additionally cherry-pick<br>
&gt;<br>
&gt; 5ffeba4a09 Revert &quot;PowerPC PLT speculative execution barriers&quot;<br>
&gt; b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.<br>
&gt; a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.<br>
&gt; eec4607fc5 Add support for DWARF-4 line number tables.<br>
&gt;<br>
&gt; Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt; Changes since v1:<br>
&gt;<br>
&gt; - Backport fixes for aarch64 relocs<br>
&gt; - ppc plt fix, dwarf-4 line number support and linker script fix for removing PROVODE<br>
&gt;<br>
&gt;  meta/conf/distro/include/tcmod<wbr>e-default.inc        |  2 +-<br>
&gt;  .../{binutils-2.29.1.inc =&gt; binutils-2.30.inc}     |  2 +-<br>
&gt;  ...<a href="http://n_2.29.1.bb" rel="noreferrer" target="_blank">n_2.29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.b<wbr>b</a>} |  0<br>
&gt;  ...<a href="http://tils-cross_2.29.1.bb" rel="noreferrer" target="_blank">tils-cross_2.29.1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} |  0<br>
&gt;  ...<a href="http://rosssdk_2.29.1.bb" rel="noreferrer" target="_blank">rosssdk_2.29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} |  0<br>
&gt;  ...nutils-crosssdk-Generate-re<wbr>locatable-SDKs.patch | 14 ++---<br>
&gt;  ...oss-Do-not-generate-linker-<wbr>script-directo.patch |  6 +-<br>
&gt;  ...ure-widen-the-regexp-for-SH<wbr>-architectures.patch | 14 ++---<br>
&gt;  .../0004-Point-scripts-locatio<wbr>n-to-libdir.patch    |  8 +--<br>
&gt;  ...te-an-RPATH-entry-if-LD_RUN<wbr>_PATH-is-not-e.patch | 10 ++--<br>
&gt;  .../binutils/binutils/0006-Use<wbr>-libtool-2.4.patch   | 66 ++++++++------------<br>
&gt;  ...7-Add-the-armv5e-architectu<wbr>re-to-binutils.patch |  8 +--<br>
&gt;  ...he-distro-compiler-point-to<wbr>-the-wrong-ins.patch |  6 +-<br>
&gt;  ...es-of-system-directories-wh<wbr>en-cross-linki.patch | 24 ++++----<br>
&gt;  ...-rpath-in-libtool-when-sysr<wbr>oot-is-enabled.patch |  4 +-<br>
&gt;  ...Change-default-emulation-fo<wbr>r-mips64-linux.patch | 14 ++---<br>
&gt;  .../0012-Add-support-for-Netlo<wbr>gic-XLP.patch        | 70 +++++++++++-----------<br>
&gt;  ...ncorrect-assembling-for-ppc<wbr>-wait-mnemonic.patch | 10 ++--<br>
&gt;  .../binutils/0014-Detect-64-bi<wbr>t-MIPS-targets.patch |  6 +-<br>
&gt;  .../0015-sync-with-OE-libtool-<wbr>changes.patch        |  4 +-<br>
&gt;  .../{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>}       |  0<br>
&gt;  21 files changed, 127 insertions(+), 141 deletions(-)<br>
&gt;  rename meta/recipes-devtools/binutils<wbr>/{binutils-2.29.1.inc =&gt; binutils-2.30.inc} (97%)<br>
&gt;  rename meta/recipes-devtools/binutils<wbr>/{<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.<wbr>29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.b<wbr>b</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/binutils<wbr>/{<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/binutils<wbr>/{<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/binutils<wbr>/{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>} (100%)<br>
&gt;<br>
&gt; diff --git a/meta/conf/distro/include/tcm<wbr>ode-default.inc b/meta/conf/distro/include/tcm<wbr>ode-default.inc<br>
&gt; index da45642440..037d331605 100644<br>
&gt; --- a/meta/conf/distro/include/tcm<wbr>ode-default.inc<br>
&gt; +++ b/meta/conf/distro/include/tcm<wbr>ode-default.inc<br>
&gt; @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/get<wbr>text ??= &quot;gettext&quot;<br>
&gt;<br>
&gt;  GCCVERSION ?= &quot;7.%&quot;<br>
&gt;  SDKGCCVERSION ?= &quot;${GCCVERSION}&quot;<br>
&gt; -BINUVERSION ?= &quot;2.29%&quot;<br>
&gt; +BINUVERSION ?= &quot;2.30%&quot;<br>
&gt;  GDBVERSION ?= &quot;8.0%&quot;<br>
&gt;  LINUXLIBCVERSION ?= &quot;4.14%&quot;<br>
&gt;  GLIBCVERSION ?= &quot;2.27%&quot;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils-2.29.1.inc b/meta/recipes-devtools/binuti<wbr>ls/binutils-2.30.inc<br>
&gt; similarity index 97%<br>
&gt; rename from meta/recipes-devtools/binutils<wbr>/binutils-2.29.1.inc<br>
&gt; rename to meta/recipes-devtools/binutils<wbr>/binutils-2.30.inc<br>
&gt; index 07a72e2b5a..9c883acc52 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils-2.29.1.inc<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils-2.30.inc<br>
&gt; @@ -18,7 +18,7 @@ BINUPV = &quot;${@binutils_branch_version(d)<wbr>}&quot;<br>
&gt;<br>
&gt;  UPSTREAM_CHECK_GITTAGREGEX = &quot;binutils-(?P&lt;pver&gt;\d+_(\d_?)*<wbr>)&quot;<br>
&gt;<br>
&gt; -SRCREV ?= &quot;90276f15379d380761fc499da2ba2<wbr>4cfb3c12a94&quot;<br>
&gt; +SRCREV ?= &quot;caa839fba66600a6c36d3639906ed<wbr>9110b79c307&quot;<br>
&gt;  BINUTILS_GIT_URI ?= &quot;git://<a href="http://sourceware.org/git/binutils-gdb.git;branch=binutils-$%7BBINUPV%7D-branch;protocol=git" rel="noreferrer" target="_blank">sourceware.org/git/binu<wbr>tils-gdb.git;branch=binutils-$<wbr>{BINUPV}-branch;protocol=git</a>&quot;<br>
&gt;  SRC_URI = &quot;\<br>
&gt;       ${BINUTILS_GIT_URI} \<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.<wbr>29.1.bb</a> b/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.<wbr>30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils<wbr>/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.29.<wbr>1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils<wbr>/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.<wbr>bb</a><br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.1.bb</a> b/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils<wbr>/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils<wbr>/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.29.1.bb</a> b/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils<wbr>/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils<wbr>/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0001-binutils-<wbr>crosssdk-Generate-relocatable-<wbr>SDKs.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0001-binutils-<wbr>crosssdk-Generate-relocatable-<wbr>SDKs.patch<br>
&gt; index 0b515d83c7..2df836057d 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0001-binutils-<wbr>crosssdk-Generate-relocatable-<wbr>SDKs.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0001-binutils-<wbr>crosssdk-Generate-relocatable-<wbr>SDKs.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 58ac9f95a3d83c29efaf7a8906fb6a<wbr>efea8c8e79 Mon Sep 17 00:00:00 2001<br>
&gt; +From 2e1b5e24a6759de7f73aa6060a5748<wbr>48d9131b5a Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:58:54 +0000<br>
&gt;  Subject: [PATCH 01/15] binutils-crosssdk: Generate relocatable SDKs<br>
&gt; @@ -18,7 +18,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 5 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index b6940d376d..a42c4d7a4b 100755<br>
&gt; +index 8732422b3a..1f257e99ca 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u=&quot;${DATA_ALIGN<wbr>MENT_u-${DATA_ALIGNMENT_r}}&quot;<br>
&gt; @@ -37,16 +37,16 @@ index b6940d376d..a42c4d7a4b 100755<br>
&gt;   ( echo &quot;/* Script for ld -Ur: link w/out relocation, do create constructors */&quot;<br>
&gt;     . ${CUSTOMIZER_SCRIPT}<br>
&gt;     . ${srcdir}/scripttempl/${SCRIPT<wbr>_NAME}.sc<br>
&gt; - ) | sed -e &#39;/^ *$/d;s/[       ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt; + ) | sed -e &#39;/^ *$/d;s/[        ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt;  +unset PARTIAL_LINKING<br>
&gt;<br>
&gt; - LD_FLAG=<br>
&gt;   DATA_ALIGNMENT=${DATA_ALIGNME<wbr>NT_}<br>
&gt; + RELOCATING=&quot; &quot;<br>
&gt;  diff --git a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a> b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -index d9138bc059..e48faeca43 100644<br>
&gt; +index 9787ab5dac..0c8a93c2c8 100644<br>
&gt;  --- a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt;  +++ b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -@@ -138,8 +138,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt; +@@ -139,8 +139,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt;       DATA_SEGMENT_RELRO_END=&quot;. = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);&quot;<br>
&gt;     fi<br>
&gt;   fi<br>
&gt; @@ -58,5 +58,5 @@ index d9138bc059..e48faeca43 100644<br>
&gt;   if test -z &quot;$PLT&quot;; then<br>
&gt;     IPLT=&quot;.iplt         ${RELOCATING-0} : { *(.iplt) }&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0002-binutils-<wbr>cross-Do-not-generate-linker-<wbr>script-directo.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0002-binutils-<wbr>cross-Do-not-generate-linker-<wbr>script-directo.patch<br>
&gt; index 370333d5d0..bac7fb2d1a 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0002-binutils-<wbr>cross-Do-not-generate-linker-<wbr>script-directo.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0002-binutils-<wbr>cross-Do-not-generate-linker-<wbr>script-directo.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8f929c616208351d0971d7dfd7574d<wbr>48d3144603 Mon Sep 17 00:00:00 2001<br>
&gt; +From 58ddf38fa53abb48b69dd76e398c73<wbr>451ad1a5eb Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:37:05 -0800<br>
&gt;  Subject: [PATCH 02/15] binutils-cross: Do not generate linker script<br>
&gt; @@ -23,7 +23,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 23 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index a42c4d7a4b..d727b4d07e 100755<br>
&gt; +index 1f257e99ca..1583b73a2b 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -189,29 +189,6 @@ append_to_lib_path()<br>
&gt; @@ -57,5 +57,5 @@ index a42c4d7a4b..d727b4d07e 100755<br>
&gt;     libs=${NATIVE_LIB_DIRS}<br>
&gt;     if [ &quot;x${NATIVE}&quot; = &quot;xyes&quot; ] ; then<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0003-configure-<wbr>widen-the-regexp-for-SH-<wbr>architectures.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0003-configure-<wbr>widen-the-regexp-for-SH-<wbr>architectures.patch<br>
&gt; index b6c09ccf19..306afe7018 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0003-configure-<wbr>widen-the-regexp-for-SH-<wbr>architectures.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0003-configure-<wbr>widen-the-regexp-for-SH-<wbr>architectures.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e5a806aae02a10290c71deb72f6294<wbr>c98068368d Mon Sep 17 00:00:00 2001<br>
&gt; +From 5089be88f670bcadf7db0e778894f9<wbr>00b2c05d7b Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:07:33 +0000<br>
&gt;  Subject: [PATCH 03/15] configure: widen the regexp for SH architectures<br>
&gt; @@ -14,12 +14,12 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 6 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/configure b/configure<br>
&gt; -index be9dd89d9b..d8af155ab5 100755<br>
&gt; +index 2d615a9996..c4ad45c06c 100755<br>
&gt;  --- a/configure<br>
&gt;  +++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; +@@ -3835,7 +3835,7 @@ case &quot;${target}&quot; in<br>
&gt; +   nvptx*-*-*)<br>
&gt; +     noconfigdirs=&quot;$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc&quot;<br>
&gt;       ;;<br>
&gt;  -  sh-*-*)<br>
&gt;  +  sh*-*-* | sh64-*-*)<br>
&gt; @@ -27,7 +27,7 @@ index be9dd89d9b..d8af155ab5 100755<br>
&gt;         sh*-*-elf)<br>
&gt;            ;;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index e71fe8b9e4..679e0dce77 100755<br>
&gt; +index 1e25102976..6b43bf2b18 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)<br>
&gt; @@ -43,5 +43,5 @@ index e71fe8b9e4..679e0dce77 100755<br>
&gt;     if echo __ELF__ | $CC -E - | $GREP __ELF__ &gt; /dev/null; then<br>
&gt;       lt_cv_deplibs_check_method=&#39;m<wbr>atch_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+<wbr>|_pic\.a)$&#39;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0004-Point-scripts<wbr>-location-to-libdir.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0004-Point-scripts<wbr>-location-to-libdir.patch<br>
&gt; index 38eee30855..3e29c5815a 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0004-Point-scripts<wbr>-location-to-libdir.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0004-Point-scripts<wbr>-location-to-libdir.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 3634ec3547bc0f8a5d1b8ad15365e2<wbr>f836cda642 Mon Sep 17 00:00:00 2001<br>
&gt; +From a0e893ea094c48fa803046ffa89e31<wbr>907aee0597 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:09:58 +0000<br>
&gt;  Subject: [PATCH 04/15] Point scripts location to libdir<br>
&gt; @@ -12,7 +12,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 2 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/Makefile.am b/ld/Makefile.am<br>
&gt; -index 625347ff62..d5334d2681 100644<br>
&gt; +index 6243c12528..3c5d6c8202 100644<br>
&gt;  --- a/ld/Makefile.am<br>
&gt;  +++ b/ld/Makefile.am<br>
&gt;  @@ -57,7 +57,7 @@ endif<br>
&gt; @@ -25,7 +25,7 @@ index 625347ff62..d5334d2681 100644<br>
&gt;   EMUL = @EMUL@<br>
&gt;   EMULATION_OFILES = @EMULATION_OFILES@<br>
&gt;  diff --git a/ld/Makefile.in b/ld/Makefile.in<br>
&gt; -index ba251777b0..a2cf2282b5 100644<br>
&gt; +index 760c037f9d..6dea692869 100644<br>
&gt;  --- a/ld/Makefile.in<br>
&gt;  +++ b/ld/Makefile.in<br>
&gt;  @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)<br>
&gt; @@ -38,5 +38,5 @@ index ba251777b0..a2cf2282b5 100644<br>
&gt;   BFDDIR = $(BASEDIR)/bfd<br>
&gt;   INCDIR = $(BASEDIR)/include<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0005-Only-generate<wbr>-an-RPATH-entry-if-LD_RUN_<wbr>PATH-is-not-e.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0005-Only-generate<wbr>-an-RPATH-entry-if-LD_RUN_<wbr>PATH-is-not-e.patch<br>
&gt; index 59150a2e4d..2f49969371 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0005-Only-generate<wbr>-an-RPATH-entry-if-LD_RUN_<wbr>PATH-is-not-e.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0005-Only-generate<wbr>-an-RPATH-entry-if-LD_RUN_<wbr>PATH-is-not-e.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9d37c8f68c07da63186cb993f1221f<wbr>6c11eca422 Mon Sep 17 00:00:00 2001<br>
&gt; +From 518abb195d0eb47d8eef581d7fd0a5<wbr>fd9fa73f7d Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:27:17 +0000<br>
&gt;  Subject: [PATCH 05/15] Only generate an RPATH entry if LD_RUN_PATH is not<br>
&gt; @@ -15,10 +15,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 4 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em<br>
&gt; -index 9ac1840316..9dc4c149bc 100644<br>
&gt; +index c0925fc9b9..7d7670a89f 100644<br>
&gt;  --- a/ld/emultempl/elf32.em<br>
&gt;  +++ b/ld/emultempl/elf32.em<br>
&gt; -@@ -1463,6 +1463,8 @@ fragment &lt;&lt;EOF<br>
&gt; +@@ -1470,6 +1470,8 @@ fragment &lt;&lt;EOF<br>
&gt;               &amp;&amp; command_line.rpath == NULL)<br>
&gt;             {<br>
&gt;               path = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -27,7 +27,7 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;               if (path<br>
&gt;                   &amp;&amp; gld${EMULATION_NAME}_search_ne<wbr>eded (path, &amp;n, force))<br>
&gt;                 break;<br>
&gt; -@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_al<wbr>location (void)<br>
&gt; +@@ -1750,6 +1752,8 @@ gld${EMULATION_NAME}_before_al<wbr>location (void)<br>
&gt;     rpath = command_line.rpath;<br>
&gt;     if (rpath == NULL)<br>
&gt;       rpath = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -37,5 +37,5 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;     for (abfd = link_info.input_bfds; abfd; abfd = abfd-&gt;link.next)<br>
&gt;       if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0006-Use-libtool-<wbr>2.4.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0006-Use-libtool-<wbr>2.4.patch<br>
&gt; index e87efe653b..333e2ee176 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0006-Use-libtool-<wbr>2.4.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0006-Use-libtool-<wbr>2.4.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 71c734bb3754319029dcfc898cedba<wbr>de42274dcb Mon Sep 17 00:00:00 2001<br>
&gt; +From fad053cc59baa6277182b0fc90415a<wbr>214060ba99 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:04:07 +0000<br>
&gt;  Subject: [PATCH 06/15] Use libtool 2.4<br>
&gt; @@ -12,7 +12,6 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   bfd/configure        | 1318 +++++++++++++++++------<br>
&gt;   bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>     |    2 +-<br>
&gt;   binutils/configure   | 1316 +++++++++++++++++------<br>
&gt; - configure            |    2 +-<br>
&gt;   gas/configure        | 1314 +++++++++++++++++------<br>
&gt;   gprof/configure      | 1321 +++++++++++++++++------<br>
&gt;   ld/configure         | 1691 +++++++++++++++++++++--------<br>
&gt; @@ -24,10 +23,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   opcodes/configure    | 1318 +++++++++++++++++------<br>
&gt;   opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> |    2 +-<br>
&gt;   zlib/configure       | 1316 +++++++++++++++++------<br>
&gt; - 15 files changed, 9927 insertions(+), 3694 deletions(-)<br>
&gt; + 14 files changed, 9926 insertions(+), 3693 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/configure b/bfd/configure<br>
&gt; -index 48276594ed..3ece8943f3 100755<br>
&gt; +index 6c2b24ebe3..5fdd723b7f 100755<br>
&gt;  --- a/bfd/configure<br>
&gt;  +++ b/bfd/configure<br>
&gt;  @@ -672,6 +672,9 @@ OTOOL<br>
&gt; @@ -1931,7 +1930,7 @@ index 48276594ed..3ece8943f3 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 8fd03a7ea8..8816c3286c 100644<br>
&gt; +index 2342f3faea..a6451fccda 100644<br>
&gt;  --- a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -254,7 +254,7 @@ changequote(,)dnl<br>
&gt; @@ -1944,7 +1943,7 @@ index 8fd03a7ea8..8816c3286c 100644<br>
&gt;<br>
&gt;   # More hacks to build DLLs on Windows.<br>
&gt;  diff --git a/binutils/configure b/binutils/configure<br>
&gt; -index 22e1b1736e..321b63535b 100755<br>
&gt; +index 5d9c9105a7..a65b2b4518 100755<br>
&gt;  --- a/binutils/configure<br>
&gt;  +++ b/binutils/configure<br>
&gt;  @@ -659,8 +659,11 @@ OTOOL<br>
&gt; @@ -3841,21 +3840,8 @@ index 22e1b1736e..321b63535b 100755<br>
&gt;       (rm -f &quot;$ofile&quot; &amp;&amp; cp &quot;$cfgfile&quot; &quot;$ofile&quot; &amp;&amp; rm -f &quot;$cfgfile&quot;)<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt; -diff --git a/configure b/configure<br>
&gt; -index d8af155ab5..005ed827ab 100755<br>
&gt; ---- a/configure<br>
&gt; -+++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; -     ;;<br>
&gt; --  sh*-*-* | sh64-*-*)<br>
&gt; -+  sh-*-* | sh64-*-*)<br>
&gt; -     case &quot;${target}&quot; in<br>
&gt; -       sh*-*-elf)<br>
&gt; -          ;;<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 93afb20c8f..81dd4cbd97 100755<br>
&gt; +index fbac8f44d5..a40ac2144f 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -650,8 +650,11 @@ OTOOL<br>
&gt; @@ -5156,7 +5142,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   int main ()<br>
&gt;   {<br>
&gt;     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);<br>
&gt; -@@ -15436,13 +16089,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; +@@ -15437,13 +16090,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_unset=&#39;`$ECHO &quot;$lt_unset&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_SP2NL=&#39;`$ECHO &quot;$lt_SP2NL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_NL2SP=&#39;`$ECHO &quot;$lt_NL2SP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5177,7 +5163,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP=&#39;`$ECHO &quot;$STRIP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   RANLIB=&#39;`$ECHO &quot;$RANLIB&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   old_postinstall_cmds=&#39;`$ECHO &quot;$old_postinstall_cmds&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15457,14 +16117,17 @@ lt_cv_sys_global_symbol_pipe=&#39;<wbr>`$ECHO &quot;$lt_cv_sys_global_symbol_pipe<wbr>&quot; | $SED &quot;$de<br>
&gt; +@@ -15458,14 +16118,17 @@ lt_cv_sys_global_symbol_pipe=&#39;<wbr>`$ECHO &quot;$lt_cv_sys_global_symbol_pipe<wbr>&quot; | $SED &quot;$de<br>
&gt;   lt_cv_sys_global_symbol_to_cd<wbr>ecl=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_c<wbr>decl&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_c<wbr>_name_address&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address_lib_prefix=&#39;`$ECH<wbr>O &quot;$lt_cv_sys_global_symbol_to_c<wbr>_name_address_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5196,7 +5182,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL=&#39;`$ECHO &quot;$DSYMUTIL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   NMEDIT=&#39;`$ECHO &quot;$NMEDIT&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   LIPO=&#39;`$ECHO &quot;$LIPO&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15497,12 +16160,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt; +@@ -15498,12 +16161,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt;   hardcode_automatic=&#39;`$ECHO &quot;$hardcode_automatic&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   inherit_rpath=&#39;`$ECHO &quot;$inherit_rpath&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   link_all_deplibs=&#39;`$ECHO &quot;$link_all_deplibs&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5210,7 +5196,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   file_list_spec=&#39;`$ECHO &quot;$file_list_spec&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   variables_saved_for_relink=&#39;`<wbr>$ECHO &quot;$variables_saved_for_relink&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   need_lib_prefix=&#39;`$ECHO &quot;$need_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15557,8 +16220,13 @@ reload_flag \<br>
&gt; +@@ -15558,8 +16221,13 @@ reload_flag \<br>
&gt;   OBJDUMP \<br>
&gt;   deplibs_check_method \<br>
&gt;   file_magic_cmd \<br>
&gt; @@ -5224,7 +5210,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP \<br>
&gt;   RANLIB \<br>
&gt;   CC \<br>
&gt; -@@ -15568,12 +16236,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt; +@@ -15569,12 +16237,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt;   lt_cv_sys_global_symbol_to_cd<wbr>ecl \<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address \<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address_lib_prefix \<br>
&gt; @@ -5240,7 +5226,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL \<br>
&gt;   NMEDIT \<br>
&gt;   LIPO \<br>
&gt; -@@ -15589,7 +16259,6 @@ no_undefined_flag \<br>
&gt; +@@ -15590,7 +16260,6 @@ no_undefined_flag \<br>
&gt;   hardcode_libdir_flag_spec \<br>
&gt;   hardcode_libdir_flag_spec_ld \<br>
&gt;   hardcode_libdir_separator \<br>
&gt; @@ -5248,7 +5234,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   exclude_expsyms \<br>
&gt;   include_expsyms \<br>
&gt;   file_list_spec \<br>
&gt; -@@ -15625,6 +16294,7 @@ module_cmds \<br>
&gt; +@@ -15626,6 +16295,7 @@ module_cmds \<br>
&gt;   module_expsym_cmds \<br>
&gt;   export_symbols_cmds \<br>
&gt;   prelink_cmds \<br>
&gt; @@ -5256,7 +5242,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   postinstall_cmds \<br>
&gt;   postuninstall_cmds \<br>
&gt;   finish_cmds \<br>
&gt; -@@ -16389,7 +17059,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt; +@@ -16390,7 +17060,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt;   # NOTE: Changes made to this file will be lost: look at ltmain.sh.<br>
&gt;   #<br>
&gt;   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,<br>
&gt; @@ -5266,7 +5252,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   #   Written by Gordon Matzigkeit, 1996<br>
&gt;   #<br>
&gt;   #   This file is part of GNU Libtool.<br>
&gt; -@@ -16492,19 +17163,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt; +@@ -16493,19 +17164,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt;   # turn newlines into spaces.<br>
&gt;   NL2SP=$lt_lt_NL2SP<br>
&gt;<br>
&gt; @@ -5310,7 +5296,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # A symbol stripping program.<br>
&gt;   STRIP=$lt_STRIP<br>
&gt;<br>
&gt; -@@ -16534,6 +17228,12 @@ global_symbol_to_c_name_addres<wbr>s=$lt_lt_cv_sys_global_symbol_<wbr>to_c_name_address<br>
&gt; +@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_addres<wbr>s=$lt_lt_cv_sys_global_symbol_<wbr>to_c_name_address<br>
&gt;   # Transform the output of nm in a C name address pair when lib prefix is needed.<br>
&gt;   global_symbol_to_c_name_addre<wbr>ss_lib_prefix=$lt_lt_cv_sys_<wbr>global_symbol_to_c_name_addres<wbr>s_lib_prefix<br>
&gt;<br>
&gt; @@ -5323,7 +5309,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # The name of the directory that contains temporary libtool files.<br>
&gt;   objdir=$objdir<br>
&gt;<br>
&gt; -@@ -16543,6 +17243,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt; +@@ -16544,6 +17244,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt;   # Must we lock files when doing compilation?<br>
&gt;   need_locks=$lt_need_locks<br>
&gt;<br>
&gt; @@ -5333,7 +5319,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.<br>
&gt;   DSYMUTIL=$lt_DSYMUTIL<br>
&gt;<br>
&gt; -@@ -16657,12 +17360,12 @@ with_gcc=$GCC<br>
&gt; +@@ -16658,12 +17361,12 @@ with_gcc=$GCC<br>
&gt;   # Compiler flag to turn off builtin functions.<br>
&gt;   no_builtin_flag=$lt_lt_prog_c<wbr>ompiler_no_builtin_flag<br>
&gt;<br>
&gt; @@ -5349,7 +5335,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Compiler flag to prevent dynamic linking.<br>
&gt;   link_static_flag=$lt_lt_prog_<wbr>compiler_static<br>
&gt;<br>
&gt; -@@ -16749,9 +17452,6 @@ inherit_rpath=$inherit_rpath<br>
&gt; +@@ -16750,9 +17453,6 @@ inherit_rpath=$inherit_rpath<br>
&gt;   # Whether libtool must link a program against all its dependency libraries.<br>
&gt;   link_all_deplibs=$link_all_de<wbr>plibs<br>
&gt;<br>
&gt; @@ -5359,7 +5345,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Set to &quot;yes&quot; if exported symbols are required.<br>
&gt;   always_export_symbols=$<wbr>always_export_symbols<br>
&gt;<br>
&gt; -@@ -16767,6 +17467,9 @@ include_expsyms=$lt_include_ex<wbr>psyms<br>
&gt; +@@ -16768,6 +17468,9 @@ include_expsyms=$lt_include_ex<wbr>psyms<br>
&gt;   # Commands necessary for linking programs (against libraries) with templates.<br>
&gt;   prelink_cmds=$lt_prelink_cmds<br>
&gt;<br>
&gt; @@ -5369,7 +5355,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Specify filename containing input files.<br>
&gt;   file_list_spec=$lt_file_list_<wbr>spec<br>
&gt;<br>
&gt; -@@ -16799,210 +17502,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt; +@@ -16800,210 +17503,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt;     # if finds mixed CR/LF and LF-only lines.  Since sed operates in<br>
&gt;     # text mode, it properly converts lines to CR/LF.  This bash problem<br>
&gt;     # is reportedly fixed, but why not run on old versions too?<br>
&gt; @@ -5744,7 +5730,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index 679e0dce77..ac4c016a63 100755<br>
&gt; +index 6b43bf2b18..245ee48bc3 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -631,8 +631,11 @@ OTOOL<br>
&gt; @@ -7654,7 +7640,7 @@ index 679e0dce77..ac4c016a63 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index d7f66f8cdc..4e71511bd1 100755<br>
&gt; +index 0cc6e8a50f..db8b998722 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -655,8 +655,11 @@ OTOOL<br>
&gt; @@ -17336,7 +17322,7 @@ index bf92b5e079..c573da90c5 100644<br>
&gt;   # These exist entirely to fool aclocal when bootstrapping libtool.<br>
&gt;   #<br>
&gt;  diff --git a/opcodes/configure b/opcodes/configure<br>
&gt; -index 17530f54b9..79b39611c2 100755<br>
&gt; +index 4f29887098..2127d39288 100755<br>
&gt;  --- a/opcodes/configure<br>
&gt;  +++ b/opcodes/configure<br>
&gt;  @@ -650,6 +650,9 @@ OTOOL<br>
&gt; @@ -19240,7 +19226,7 @@ index 17530f54b9..79b39611c2 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index a9fbfd61f1..c43780f64d 100644<br>
&gt; +index b07f3f3629..5a32d9b1fc 100644<br>
&gt;  --- a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -167,7 +167,7 @@ changequote(,)dnl<br>
&gt; @@ -21153,5 +21139,5 @@ index dc2d9ed383..ed9a492f5c 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0007-Add-the-<wbr>armv5e-architecture-to-binutil<wbr>s.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0007-Add-the-<wbr>armv5e-architecture-to-binutil<wbr>s.patch<br>
&gt; index 88019606f7..4a5127380f 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0007-Add-the-<wbr>armv5e-architecture-to-binutil<wbr>s.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0007-Add-the-<wbr>armv5e-architecture-to-binutil<wbr>s.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 2b87aad1741bc481dd0982f100ad5e<wbr>a7f937bb61 Mon Sep 17 00:00:00 2001<br>
&gt; +From 697903256e09533778baa8af66402c<wbr>44d70219d9 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:37:10 +0000<br>
&gt;  Subject: [PATCH 07/15] Add the armv5e architecture to binutils<br>
&gt; @@ -19,10 +19,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 1 insertion(+)<br>
&gt;<br>
&gt;  diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c<br>
&gt; -index a885efe4fc..735eaa7447 100644<br>
&gt; +index ec50420518..a25d1721af 100644<br>
&gt;  --- a/gas/config/tc-arm.c<br>
&gt;  +++ b/gas/config/tc-arm.c<br>
&gt; -@@ -25990,6 +25990,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt; +@@ -26195,6 +26195,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt;     ARM_ARCH_OPT (&quot;armv4t&quot;,     ARM_ARCH_V4T,    FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv4txm&quot;,   ARM_ARCH_V4TxM,  FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5&quot;,      ARM_ARCH_V5,     FPU_ARCH_VFP),<br>
&gt; @@ -31,5 +31,5 @@ index a885efe4fc..735eaa7447 100644<br>
&gt;     ARM_ARCH_OPT (&quot;armv5txm&quot;,   ARM_ARCH_V5TxM,  FPU_ARCH_VFP),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5te&quot;,    ARM_ARCH_V5TE,   FPU_ARCH_VFP),<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0008-don-t-let-<wbr>the-distro-compiler-point-to-<wbr>the-wrong-ins.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0008-don-t-let-<wbr>the-distro-compiler-point-to-<wbr>the-wrong-ins.patch<br>
&gt; index 30a22b504f..939be67b58 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0008-don-t-let-<wbr>the-distro-compiler-point-to-<wbr>the-wrong-ins.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0008-don-t-let-<wbr>the-distro-compiler-point-to-<wbr>the-wrong-ins.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 331443a87a31ec504e5652fc099d91<wbr>29a9a4deb8 Mon Sep 17 00:00:00 2001<br>
&gt; +From 622d66634eb2e509d4126f5bdcab26<wbr>de367241a1 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:39:01 +0000<br>
&gt;  Subject: [PATCH 08/15] don&#39;t let the distro compiler point to the wrong<br>
&gt; @@ -17,7 +17,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 2 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in<br>
&gt; -index 25cfa29ad5..ce67a710e3 100644<br>
&gt; +index ed1b334c36..d4ffd8b57b 100644<br>
&gt;  --- a/libiberty/Makefile.in<br>
&gt;  +++ b/libiberty/Makefile.in<br>
&gt;  @@ -364,7 +364,8 @@ install-strip: install<br>
&gt; @@ -31,5 +31,5 @@ index 25cfa29ad5..ce67a710e3 100644<br>
&gt;         if test -n &quot;${target_header_dir}&quot;; then \<br>
&gt;                 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSD<wbr>IR); \<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0009-warn-for-<wbr>uses-of-system-directories-<wbr>when-cross-linki.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0009-warn-for-<wbr>uses-of-system-directories-<wbr>when-cross-linki.patch<br>
&gt; index e0e257880d..e75104722b 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0009-warn-for-<wbr>uses-of-system-directories-<wbr>when-cross-linki.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0009-warn-for-<wbr>uses-of-system-directories-<wbr>when-cross-linki.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 0a4afdcf0700efd45963568e2d0049<wbr>127cdf4434 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27e38ee92c24fca86b1c3f6ef156a1<wbr>892dd06bfd Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 15 Jan 2016 06:31:09 +0000<br>
&gt;  Subject: [PATCH 09/15] warn for uses of system directories when cross linking<br>
&gt; @@ -77,7 +77,7 @@ index a846743da6..df3cd5fb60 100644<br>
&gt;   #undef EXTRA_SHLIB_EXTENSION<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index 4e71511bd1..71c6ad1fd1 100755<br>
&gt; +index db8b998722..489ead5c13 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -789,6 +789,7 @@ with_lib_path<br>
&gt; @@ -118,7 +118,7 @@ index 4e71511bd1..71c6ad1fd1 100755<br>
&gt;   if test &quot;${enable_gold+set}&quot; = set; then :<br>
&gt;     enableval=$enable_gold; case &quot;${enableval}&quot; in<br>
&gt;  diff --git a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 00080f85fd..3aa98e37fb 100644<br>
&gt; +index bada1b50b0..d074a3820b 100644<br>
&gt;  --- a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot)<br>
&gt; @@ -139,10 +139,10 @@ index 00080f85fd..3aa98e37fb 100644<br>
&gt;   dnl &quot;install_as_default&quot; is set to false if gold is the default linker.<br>
&gt;   dnl &quot;installed_linker&quot; is the installed BFD linker name.<br>
&gt;  diff --git a/ld/ld.h b/ld/ld.h<br>
&gt; -index c6fa1247f0..01c373498f 100644<br>
&gt; +index ba914b921e..9df17dab6c 100644<br>
&gt;  --- a/ld/ld.h<br>
&gt;  +++ b/ld/ld.h<br>
&gt; -@@ -174,6 +174,14 @@ typedef struct<br>
&gt; +@@ -180,6 +180,14 @@ typedef struct<br>
&gt;        in the linker script.  */<br>
&gt;     bfd_boolean force_group_allocation;<br>
&gt;<br>
&gt; @@ -158,10 +158,10 @@ index c6fa1247f0..01c373498f 100644<br>
&gt;     enum endian_enum endian;<br>
&gt;<br>
&gt;  diff --git a/ld/ld.texinfo b/ld/ld.texinfo<br>
&gt; -index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt; +index c89915f1aa..df430837e2 100644<br>
&gt;  --- a/ld/ld.texinfo<br>
&gt;  +++ b/ld/ld.texinfo<br>
&gt; -@@ -2480,6 +2480,18 @@ string identifying the original linked file does not change.<br>
&gt; +@@ -2498,6 +2498,18 @@ string identifying the original linked file does not change.<br>
&gt;<br>
&gt;   Passing @code{none} for @var{style} disables the setting from any<br>
&gt;   @code{--build-id} options earlier on the command line.<br>
&gt; @@ -181,7 +181,7 @@ index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt;<br>
&gt;   @c man end<br>
&gt;  diff --git a/ld/ldfile.c b/ld/ldfile.c<br>
&gt; -index 3b37a0a3e2..5c85b01849 100644<br>
&gt; +index 6532a57d96..f943f0b2e5 100644<br>
&gt;  --- a/ld/ldfile.c<br>
&gt;  +++ b/ld/ldfile.c<br>
&gt;  @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline)<br>
&gt; @@ -209,7 +209,7 @@ index 3b37a0a3e2..5c85b01849 100644<br>
&gt;<br>
&gt;   /* Try to open a BFD for a lang_input_statement.  */<br>
&gt;  diff --git a/ld/ldlex.h b/ld/ldlex.h<br>
&gt; -index 5aa7f6bc3e..cb655e0399 100644<br>
&gt; +index 140ed1d9da..9965cbc04f 100644<br>
&gt;  --- a/ld/ldlex.h<br>
&gt;  +++ b/ld/ldlex.h<br>
&gt;  @@ -147,6 +147,8 @@ enum option_values<br>
&gt; @@ -222,7 +222,7 @@ index 5aa7f6bc3e..cb655e0399 100644<br>
&gt;<br>
&gt;   /* The initial parser states.  */<br>
&gt;  diff --git a/ld/ldmain.c b/ld/ldmain.c<br>
&gt; -index 2b09f20413..89e2a3a805 100644<br>
&gt; +index c473ed24c3..adae0b4610 100644<br>
&gt;  --- a/ld/ldmain.c<br>
&gt;  +++ b/ld/ldmain.c<br>
&gt;  @@ -261,6 +261,8 @@ main (int argc, char **argv)<br>
&gt; @@ -235,7 +235,7 @@ index 2b09f20413..89e2a3a805 100644<br>
&gt;     /* We initialize DEMANGLING based on the environment variable<br>
&gt;        COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the<br>
&gt;  diff --git a/ld/lexsup.c b/ld/lexsup.c<br>
&gt; -index effa277b16..e4929607e9 100644<br>
&gt; +index f2191602d4..bccb3bdeef 100644<br>
&gt;  --- a/ld/lexsup.c<br>
&gt;  +++ b/ld/lexsup.c<br>
&gt;  @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] =<br>
&gt; @@ -269,5 +269,5 @@ index effa277b16..e4929607e9 100644<br>
&gt;       }<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0010-Fix-rpath-in-<wbr>libtool-when-sysroot-is-<wbr>enabled.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0010-Fix-rpath-in-<wbr>libtool-when-sysroot-is-<wbr>enabled.patch<br>
&gt; index 496242efa4..33dfff9bd7 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0010-Fix-rpath-in-<wbr>libtool-when-sysroot-is-<wbr>enabled.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0010-Fix-rpath-in-<wbr>libtool-when-sysroot-is-<wbr>enabled.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 88fac08f1c472c612f381cbb940875<wbr>6f2f58b4ff Mon Sep 17 00:00:00 2001<br>
&gt; +From e205ae05c41a8cc8d47708f0a3b6f7<wbr>40e2bf2526 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:42:38 +0000<br>
&gt;  Subject: [PATCH 10/15] Fix rpath in libtool when sysroot is enabled<br>
&gt; @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644<br>
&gt;             if test -z &quot;$hardcode_libdirs&quot;; then<br>
&gt;               hardcode_libdirs=&quot;$libdir&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0011-Change-defaul<wbr>t-emulation-for-mips64-linux.<wbr>patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0011-Change-defaul<wbr>t-emulation-for-mips64-linux.<wbr>patch<br>
&gt; index ac87a2d1de..80fcbc1194 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0011-Change-defaul<wbr>t-emulation-for-mips64-linux.<wbr>patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0011-Change-defaul<wbr>t-emulation-for-mips64-linux.<wbr>patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 497660bdbeb6788786553a5d733105<wbr>f7f898dc62 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7978c1299021033c35c29c94e09972<wbr>35f7ede248 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:44:14 +0000<br>
&gt;  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux<br>
&gt; @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 8 insertions(+), 8 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index dc24aabad5..4511024f22 100644<br>
&gt; +index f04a993f06..8777f96bd2 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1186,12 +1186,12 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1189,12 +1189,12 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_v<wbr>ec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec&quot;<br>
&gt;       ;;<br>
&gt;     mips64*el-*-linux*)<br>
&gt; @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644<br>
&gt;     mips*el-*-linux*)<br>
&gt;       targ_defvec=mips_elf32_trad_l<wbr>e_vec<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index 47c719cd05..fe7b9238b2 100644<br>
&gt; +index 6183a85b3d..1d78465590 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt; +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt;   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks<br>
&gt; -                       targ_extra_emuls=&quot;elf32elmipv<wbr>xworks&quot; ;;<br>
&gt; +                       targ_extra_emuls=&quot;elf32elmipv<wbr>xworks&quot; ;;<br>
&gt;   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;<br>
&gt;  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32<br>
&gt;  -                      targ_extra_emuls=&quot;elf32btsmipn<wbr>32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip&quot;<br>
&gt; @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644<br>
&gt;   mips*el-*-linux-*)    targ_emul=elf32ltsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0012-Add-support-<wbr>for-Netlogic-XLP.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0012-Add-support-<wbr>for-Netlogic-XLP.patch<br>
&gt; index dc5e580739..1fefb680f8 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0012-Add-support-<wbr>for-Netlogic-XLP.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0012-Add-support-<wbr>for-Netlogic-XLP.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8c60a55d3678589d93739bd27fec21<wbr>6911d80968 Mon Sep 17 00:00:00 2001<br>
&gt; +From 3b40bf584615f794b85fd50d4d0a5c<wbr>0a1d2ee7bf Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:06:19 +0000<br>
&gt;  Subject: [PATCH 12/15] Add support for Netlogic XLP<br>
&gt; @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle &lt;<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>&gt;<br>
&gt;   14 files changed, 61 insertions(+), 21 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/aoutx.h b/bfd/aoutx.h<br>
&gt; -index 3d38fda14b..0aec49bbb3 100644<br>
&gt; +index eec9c4ad2a..3bf0a71e63 100644<br>
&gt;  --- a/bfd/aoutx.h<br>
&gt;  +++ b/bfd/aoutx.h<br>
&gt;  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,<br>
&gt; @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644<br>
&gt;           arch_flags = M_MIPS2;<br>
&gt;           break;<br>
&gt;  diff --git a/bfd/archures.c b/bfd/archures.c<br>
&gt; -index 433b95fa08..063b7943a1 100644<br>
&gt; +index e83c57a2f3..3016ea1bae 100644<br>
&gt;  --- a/bfd/archures.c<br>
&gt;  +++ b/bfd/archures.c<br>
&gt;  @@ -201,6 +201,7 @@ DESCRIPTION<br>
&gt; - .#define bfd_mach_mips_octeon3          6503<br>
&gt; - .#define bfd_mach_mips_xlr              887682   {* decimal &#39;XLR&#39;  *}<br>
&gt; - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal &#39;IA2&#39;  *}<br>
&gt; -+.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;  *}<br>
&gt; - .#define bfd_mach_mipsisa32             32<br>
&gt; - .#define bfd_mach_mipsisa32r2           33<br>
&gt; - .#define bfd_mach_mipsisa32r3           34<br>
&gt; + .#define bfd_mach_mips_octeon3                6503<br>
&gt; + .#define bfd_mach_mips_xlr            887682   {* decimal &#39;XLR&#39;.  *}<br>
&gt; + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal &#39;IA2&#39;.  *}<br>
&gt; ++.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;.  *}<br>
&gt; + .#define bfd_mach_mipsisa32           32<br>
&gt; + .#define bfd_mach_mipsisa32r2         33<br>
&gt; + .#define bfd_mach_mipsisa32r3         34<br>
&gt;  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h<br>
&gt; -index d126aed086..2b753b3a93 100644<br>
&gt; +index 42991e7848..27abc5d5a8 100644<br>
&gt;  --- a/bfd/bfd-in2.h<br>
&gt;  +++ b/bfd/bfd-in2.h<br>
&gt; -@@ -2060,6 +2060,7 @@ enum bfd_architecture<br>
&gt; +@@ -2062,6 +2062,7 @@ enum bfd_architecture<br>
&gt;   #define bfd_mach_mips_octeon3          6503<br>
&gt; - #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;  */<br>
&gt; - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;  */<br>
&gt; -+#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;  */<br>
&gt; + #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;.  */<br>
&gt; + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;.  */<br>
&gt; ++#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;.  */<br>
&gt;   #define bfd_mach_mipsisa32             32<br>
&gt;   #define bfd_mach_mipsisa32r2           33<br>
&gt;   #define bfd_mach_mipsisa32r3           34<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index 4511024f22..f0f9072f10 100644<br>
&gt; +index 8777f96bd2..7b80bda8c9 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1169,6 +1169,11 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1172,6 +1172,11 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_defvec=mips_elf32_le_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_be_v<wbr>ec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;       ;;<br>
&gt; @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644<br>
&gt;       targ_defvec=mips_elf32_be_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_v<wbr>ec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c<br>
&gt; -index 2493094bef..8375d1ae96 100644<br>
&gt; +index cb50c64371..2b9d1d6ecf 100644<br>
&gt;  --- a/bfd/cpu-mips.c<br>
&gt;  +++ b/bfd/cpu-mips.c<br>
&gt;  @@ -105,7 +105,8 @@ enum<br>
&gt; @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   #define NN(index) (&amp;arch_info_struct[(index) + 1])<br>
&gt;  @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] =<br>
&gt; -   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,       FALSE, NN(I_xlr)),<br>
&gt; +   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,     FALSE, NN(I_xlr)),<br>
&gt;     N (32, 32, bfd_mach_mips_interaptiv_mr2, &quot;mips:interaptiv-mr2&quot;, FALSE,<br>
&gt;        NN(I_interaptiv_mr2)),<br>
&gt;  -  N (64, 64, bfd_mach_mips_micromips,&quot;mips:<wbr>micromips&quot;,FALSE,0)<br>
&gt; @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   /* The default architecture is mips:3000, but with a machine number of<br>
&gt;  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c<br>
&gt; -index fddf68c816..354c85d00b 100644<br>
&gt; +index 285401367d..14ebb5f175 100644<br>
&gt;  --- a/bfd/elfxx-mips.c<br>
&gt;  +++ b/bfd/elfxx-mips.c<br>
&gt; -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt; +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt;       case E_MIPS_MACH_IAMR2:<br>
&gt;         return bfd_mach_mips_interaptiv_mr2;<br>
&gt;<br>
&gt; @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       default:<br>
&gt;         switch (flags &amp; EF_MIPS_ARCH)<br>
&gt;         {<br>
&gt; -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt; +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt;         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;<br>
&gt;         break;<br>
&gt;<br>
&gt; @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       case bfd_mach_mipsisa32:<br>
&gt;         val = E_MIPS_ARCH_32;<br>
&gt;         break;<br>
&gt; -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt; +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt;     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },<br>
&gt;     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },<br>
&gt;     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },<br>
&gt; @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644<br>
&gt;     /* MIPS64 extensions.  */<br>
&gt;     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },<br>
&gt;  diff --git a/binutils/readelf.c b/binutils/readelf.c<br>
&gt; -index 2b15f0f2cb..092744708e 100644<br>
&gt; +index ae1cda9a7b..fed0387a94 100644<br>
&gt;  --- a/binutils/readelf.c<br>
&gt;  +++ b/binutils/readelf.c<br>
&gt; -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)<br>
&gt; +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)<br>
&gt;             case E_MIPS_MACH_OCTEON3: strcat (buf, &quot;, octeon3&quot;); break;<br>
&gt;             case E_MIPS_MACH_XLR:  strcat (buf, &quot;, xlr&quot;); break;<br>
&gt;             case E_MIPS_MACH_IAMR2:  strcat (buf, &quot;, interaptiv-mr2&quot;); break;<br>
&gt; @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644<br>
&gt;             /* We simply ignore the field in this case to avoid confusion:<br>
&gt;                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU<br>
&gt;  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c<br>
&gt; -index 3804df2958..9576c986db 100644<br>
&gt; +index c135131b59..d8fbda8e31 100644<br>
&gt;  --- a/gas/config/tc-mips.c<br>
&gt;  +++ b/gas/config/tc-mips.c<br>
&gt;  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;<br>
&gt; @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;      )<br>
&gt;<br>
&gt;   /* Whether the processor uses hardware interlocks to protect reads<br>
&gt; -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt; +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt;     /* Broadcom XLP.<br>
&gt;        XLP is mostly like XLR, with the prominent exception that it is<br>
&gt;        MIPS64R2 rather than MIPS64.  */<br>
&gt; @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;     /* MIPS 64 Release 6 */<br>
&gt;     { &quot;i6400&quot;,        0, ASE_MSA,               ISA_MIPS64R6, CPU_MIPS64R6},<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 81dd4cbd97..95bdf3b19b 100755<br>
&gt; +index a40ac2144f..65a6995243 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -12989,6 +12989,9 @@ _ACEOF<br>
&gt; @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755<br>
&gt;             mips_cpu=r3900<br>
&gt;             ;;<br>
&gt;  diff --git a/include/elf/mips.h b/include/elf/mips.h<br>
&gt; -index a4bea43ff8..73d904e25f 100644<br>
&gt; +index 9de0b4e175..74fc4f7e55 100644<br>
&gt;  --- a/include/elf/mips.h<br>
&gt;  +++ b/include/elf/mips.h<br>
&gt;  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)<br>
&gt; @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644<br>
&gt;   #define E_MIPS_MACH_OCTEON3   0x008e0000<br>
&gt;   #define E_MIPS_MACH_5400      0x00910000<br>
&gt;  diff --git a/include/opcode/mips.h b/include/opcode/mips.h<br>
&gt; -index ceae9ec50a..276ee3c6c1 100644<br>
&gt; +index 5eea72f139..90f6d57e15 100644<br>
&gt;  --- a/include/opcode/mips.h<br>
&gt;  +++ b/include/opcode/mips.h<br>
&gt;  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {<br>
&gt; @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644<br>
&gt;         return FALSE;<br>
&gt;       }<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index fe7b9238b2..2adf108b17 100644<br>
&gt; +index 1d78465590..307e787b64 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt; +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt;   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)<br>
&gt;                         targ_emul=elf32btsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip&quot; ;;<br>
&gt; @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644<br>
&gt;                         targ_extra_emuls=&quot;<wbr>elf32lr5900&quot;<br>
&gt;                         targ_extra_libpath=$targ_extr<wbr>a_emuls ;;<br>
&gt;  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c<br>
&gt; -index 45195007c1..4a80a05d19 100644<br>
&gt; +index 984fcbb802..95b107d216 100644<br>
&gt;  --- a/opcodes/mips-dis.c<br>
&gt;  +++ b/opcodes/mips-dis.c<br>
&gt;  @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[] =<br>
&gt; @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644<br>
&gt;     /* This entry, mips16, is here only for ISA/processor selection; do<br>
&gt;        not print its name.  */<br>
&gt;  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c<br>
&gt; -index 19fca408c9..d02069c528 100644<br>
&gt; +index 180d613c93..65b7b8cc23 100644<br>
&gt;  --- a/opcodes/mips-opc.c<br>
&gt;  +++ b/opcodes/mips-opc.c<br>
&gt;  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)<br>
&gt; @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644<br>
&gt;   {&quot;swc0&quot;,              &quot;E,A(b)&quot;,       0,    (int) M_SWC0_AB,  INSN_MACRO,             0,              I1,             0,      IOCT|IOCTP|IOCT2|I37 },<br>
&gt;   {&quot;swc1&quot;,              &quot;T,o(b)&quot;,       0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0013-fix-the-<wbr>incorrect-assembling-for-ppc-<wbr>wait-mnemonic.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0013-fix-the-<wbr>incorrect-assembling-for-ppc-<wbr>wait-mnemonic.patch<br>
&gt; index 247376b7ed..c3e1b13841 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0013-fix-the-<wbr>incorrect-assembling-for-ppc-<wbr>wait-mnemonic.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0013-fix-the-<wbr>incorrect-assembling-for-ppc-<wbr>wait-mnemonic.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e46202becab625c6c08caf91e08ccb<wbr>bc1bf799c4 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27ec22ca3cd56cfdf060d2e1f414be<wbr>dce269b322 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Zhenhua Luo &lt;<a href="mailto:zhenhua.luo@nxp.com" target="_blank">zhenhua.luo@nxp.com</a>&gt;<br>
&gt;  Date: Sat, 11 Jun 2016 22:08:29 -0500<br>
&gt;  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait mnemonic<br>
&gt; @@ -11,10 +11,10 @@ Upstream-Status: Pending<br>
&gt;   1 file changed, 1 insertion(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c<br>
&gt; -index 426261ab21..0d35916cdd 100644<br>
&gt; +index bb17f26c2e..dbdd762b4e 100644<br>
&gt;  --- a/opcodes/ppc-opc.c<br>
&gt;  +++ b/opcodes/ppc-opc.c<br>
&gt; -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;   {&quot;ldepx&quot;,     X(31,29),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt;   {&quot;waitasec&quot;,  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,         {0}},<br>
&gt; @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;<br>
&gt;   {&quot;lwepx&quot;,     X(31,31),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt; -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;<br>
&gt;   {&quot;waitrsv&quot;,   X(31,62)|(1&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt;   {&quot;waitimpl&quot;,  X(31,62)|(2&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt; @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;   {&quot;dcbstep&quot;,   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,           {RA0, RB}},<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0014-Detect-64-<wbr>bit-MIPS-targets.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0014-Detect-64-<wbr>bit-MIPS-targets.patch<br>
&gt; index 42b1065f8d..cf3690f25d 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0014-Detect-64-<wbr>bit-MIPS-targets.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0014-Detect-64-<wbr>bit-MIPS-targets.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From bf20d5823662d1f2eb47de2cdfd173<wbr>627a205b17 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7dfbd6889d868a09d695dd27361048<wbr>48c1a9c9c3 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 31 Mar 2017 11:42:03 -0700<br>
&gt;  Subject: [PATCH 14/15] Detect 64-bit MIPS targets<br>
&gt; @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 14 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/gold/configure.tgt b/gold/configure.tgt<br>
&gt; -index 3d63027297..c1f92a1360 100644<br>
&gt; +index 8aef22a318..7030026ffa 100644<br>
&gt;  --- a/gold/configure.tgt<br>
&gt;  +++ b/gold/configure.tgt<br>
&gt;  @@ -153,6 +153,13 @@ aarch64*-*)<br>
&gt; @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644<br>
&gt;    targ_obj=mips<br>
&gt;    targ_machine=EM_MIPS<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/binutils/0015-sync-with-OE-<wbr>libtool-changes.patch b/meta/recipes-devtools/binuti<wbr>ls/binutils/0015-sync-with-OE-<wbr>libtool-changes.patch<br>
&gt; index 2c8900cb66..8c9fd237e7 100644<br>
&gt; --- a/meta/recipes-devtools/binuti<wbr>ls/binutils/0015-sync-with-OE-<wbr>libtool-changes.patch<br>
&gt; +++ b/meta/recipes-devtools/binuti<wbr>ls/binutils/0015-sync-with-OE-<wbr>libtool-changes.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9b456a0e4f284fd41ac36595144ed4<wbr>4dc82410ee Mon Sep 17 00:00:00 2001<br>
&gt; +From 298804f430939d6cc94b09732ee93e<wbr>64c5e6be18 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Ross Burton &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:33:27 -0800<br>
&gt;  Subject: [PATCH 15/15] sync with OE libtool changes<br>
&gt; @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644<br>
&gt;         elif test -n &quot;$runpath_var&quot;; then<br>
&gt;           case &quot;$finalize_perm_rpath &quot; in<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> b/meta/recipes-devtools/binuti<wbr>ls/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils<wbr>/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils<wbr>/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; --<br>
&gt; 2.16.1<br>
&gt;<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openem<wbr>bedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj Feb. 20, 2018, 3:59 p.m. UTC | #4
V2 should have fixed it can you confirm you picked v2

On Tue, Feb 20, 2018 at 2:38 AM Burton, Ross <ross.burton@intel.com> wrote:

> Ah yes, aarch64.

>

> Lots of errors like this when building glibc 2.26:

>

> | /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc):

> relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol

> `free' defined in .text section in

> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os

>

> |

> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld:

> BFD (GNU Binutils) 2.30.0.20180208 assertion fail

> ../../bfd/elfnn-aarch64.c:4386

>

> |

> /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.

> data.rel.ro+0x310): dangerous relocation: unsupported relocation

>

>

> https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio

>

> Apart from that the AB was entirely green.

>

> Ross

>

> On 20 February 2018 at 01:06, Burton, Ross <ross.burton@intel.com> wrote:

>

>> Can't remember if this failed anywhere that wasn't related to the glibc

>> upgrade, so I just fired this patch standalone on the autobuilder.

>>

>> Ross

>>

>> On 16 February 2018 at 03:03, Khem Raj <raj.khem@gmail.com> wrote:

>>

>>> ping

>>>

>>> On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj <raj.khem@gmail.com> wrote:

>>> > 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>

>>> > ---

>>> > Changes since v1:

>>> >

>>> > - Backport fixes for aarch64 relocs

>>> > - ppc plt fix, dwarf-4 line number support and linker script fix for

>>> removing PROVODE

>>> >

>>> >  meta/conf/distro/include/tcmode-default.inc        |  2 +-

>>> >  .../{binutils-2.29.1.inc => binutils-2.30.inc}     |  2 +-

>>> >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0

>>> >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0

>>> >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0

>>> >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---

>>> >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-

>>> >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---

>>> >  .../0004-Point-scripts-location-to-libdir.patch    |  8 +--

>>> >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--

>>> >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66

>>> ++++++++------------

>>> >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--

>>> >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-

>>> >  ...es-of-system-directories-when-cross-linki.patch | 24 ++++----

>>> >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-

>>> >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---

>>> >  .../0012-Add-support-for-Netlogic-XLP.patch        | 70

>>> +++++++++++-----------

>>> >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--

>>> >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-

>>> >  .../0015-sync-with-OE-libtool-changes.patch        |  4 +-

>>> >  .../{binutils_2.29.1.bb => binutils_2.30.bb}       |  0

>>> >  21 files changed, 127 insertions(+), 141 deletions(-)

>>> >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>

>>> binutils-2.30.inc} (97%)

>>> >  rename meta/recipes-devtools/binutils/{

>>> binutils-cross-canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb}

>>> (100%)

>>> >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>

>>> binutils-cross_2.30.bb} (100%)

>>> >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb

>>> => binutils-crosssdk_2.30.bb} (100%)

>>> >  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb =>

>>> binutils_2.30.bb} (100%)

>>> >

>>> > diff --git a/meta/conf/distro/include/tcmode-default.inc

>>> b/meta/conf/distro/include/tcmode-default.inc

>>> > index da45642440..037d331605 100644

>>> > --- a/meta/conf/distro/include/tcmode-default.inc

>>> > +++ b/meta/conf/distro/include/tcmode-default.inc

>>> > @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"

>>> >

>>> >  GCCVERSION ?= "7.%"

>>> >  SDKGCCVERSION ?= "${GCCVERSION}"

>>> > -BINUVERSION ?= "2.29%"

>>> > +BINUVERSION ?= "2.30%"

>>> >  GDBVERSION ?= "8.0%"

>>> >  LINUXLIBCVERSION ?= "4.14%"

>>> >  GLIBCVERSION ?= "2.27%"

>>> > diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc

>>> b/meta/recipes-devtools/binutils/binutils-2.30.inc

>>> > similarity index 97%

>>> > rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc

>>> > rename to 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

>>> <http://sourceware.org/git/binutils-gdb.git;branch=binutils-$%7BBINUPV%7D-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

>>> > similarity index 100%

>>> > rename from meta/recipes-devtools/binutils/

>>> binutils-cross-canadian_2.29.1.bb

>>> > rename to 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

>>> > similarity index 100%

>>> > rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb

>>> > rename to 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

>>> > similarity index 100%

>>> > rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb

>>> > rename to 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 sysroot is enabled

>>> > @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644

>>> >             if test -z "$hardcode_libdirs"; then

>>> >               hardcode_libdirs="$libdir"

>>> >  --

>>> > -2.14.0

>>> > +2.16.1

>>> >

>>> > diff --git

>>> a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

>>> b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

>>> > index ac87a2d1de..80fcbc1194 100644

>>> > ---

>>> a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

>>> > +++

>>> b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

>>> > @@ -1,4 +1,4 @@

>>> > -From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00 2001

>>> > +From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00 2001

>>> >  From: Khem Raj <raj.khem@gmail.com>

>>> >  Date: Mon, 2 Mar 2015 01:44:14 +0000

>>> >  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux

>>> > @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>>> >   2 files changed, 8 insertions(+), 8 deletions(-)

>>> >

>>> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

>>> > -index dc24aabad5..4511024f22 100644

>>> > +index f04a993f06..8777f96bd2 100644

>>> >  --- a/bfd/config.bfd

>>> >  +++ b/bfd/config.bfd

>>> > -@@ -1186,12 +1186,12 @@ case "${targ}" in

>>> > +@@ -1189,12 +1189,12 @@ case "${targ}" in

>>> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

>>> mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"

>>> >       ;;

>>> >     mips64*el-*-linux*)

>>> > @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644

>>> >     mips*el-*-linux*)

>>> >       targ_defvec=mips_elf32_trad_le_vec

>>> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

>>> > -index 47c719cd05..fe7b9238b2 100644

>>> > +index 6183a85b3d..1d78465590 100644

>>> >  --- a/ld/configure.tgt

>>> >  +++ b/ld/configure.tgt

>>> > -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)

>>> targ_emul=elf32elmipvxworks

>>> > +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)

>>> targ_emul=elf32elmipvxworks

>>> >   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks

>>> > -                       targ_extra_emuls="elf32elmipvxworks" ;;

>>> > +                       targ_extra_emuls="elf32elmipvxworks" ;;

>>> >   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;

>>> >  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32

>>> >  -                      targ_extra_emuls="elf32btsmipn32 elf32ltsmip

>>> elf32btsmip elf64ltsmip elf64btsmip"

>>> > @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644

>>> >   mips*el-*-linux-*)    targ_emul=elf32ltsmip

>>> >                         targ_extra_emuls="elf32btsmip elf32ltsmipn32

>>> elf64ltsmip elf32btsmipn32 elf64btsmip"

>>> >  --

>>> > -2.14.0

>>> > +2.16.1

>>> >

>>> > diff --git

>>> a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

>>> b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

>>> > index dc5e580739..1fefb680f8 100644

>>> > ---

>>> a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

>>> > +++

>>> b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

>>> > @@ -1,4 +1,4 @@

>>> > -From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00 2001

>>> > +From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00 2001

>>> >  From: Khem Raj <raj.khem@gmail.com>

>>> >  Date: Sun, 14 Feb 2016 17:06:19 +0000

>>> >  Subject: [PATCH 12/15] Add support for Netlogic XLP

>>> > @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>

>>> >   14 files changed, 61 insertions(+), 21 deletions(-)

>>> >

>>> >  diff --git a/bfd/aoutx.h b/bfd/aoutx.h

>>> > -index 3d38fda14b..0aec49bbb3 100644

>>> > +index eec9c4ad2a..3bf0a71e63 100644

>>> >  --- a/bfd/aoutx.h

>>> >  +++ b/bfd/aoutx.h

>>> >  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture

>>> arch,

>>> > @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644

>>> >           arch_flags = M_MIPS2;

>>> >           break;

>>> >  diff --git a/bfd/archures.c b/bfd/archures.c

>>> > -index 433b95fa08..063b7943a1 100644

>>> > +index e83c57a2f3..3016ea1bae 100644

>>> >  --- a/bfd/archures.c

>>> >  +++ b/bfd/archures.c

>>> >  @@ -201,6 +201,7 @@ DESCRIPTION

>>> > - .#define bfd_mach_mips_octeon3          6503

>>> > - .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}

>>> > - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal 'IA2'  *}

>>> > -+.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'  *}

>>> > - .#define bfd_mach_mipsisa32             32

>>> > - .#define bfd_mach_mipsisa32r2           33

>>> > - .#define bfd_mach_mipsisa32r3           34

>>> > + .#define bfd_mach_mips_octeon3                6503

>>> > + .#define bfd_mach_mips_xlr            887682   {* decimal 'XLR'.  *}

>>> > + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal 'IA2'.  *}

>>> > ++.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'.

>>> *}

>>> > + .#define bfd_mach_mipsisa32           32

>>> > + .#define bfd_mach_mipsisa32r2         33

>>> > + .#define bfd_mach_mipsisa32r3         34

>>> >  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h

>>> > -index d126aed086..2b753b3a93 100644

>>> > +index 42991e7848..27abc5d5a8 100644

>>> >  --- a/bfd/bfd-in2.h

>>> >  +++ b/bfd/bfd-in2.h

>>> > -@@ -2060,6 +2060,7 @@ enum bfd_architecture

>>> > +@@ -2062,6 +2062,7 @@ enum bfd_architecture

>>> >   #define bfd_mach_mips_octeon3          6503

>>> > - #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */

>>> > - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'  */

>>> > -+#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'  */

>>> > + #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'.  */

>>> > + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'.  */

>>> > ++#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'.  */

>>> >   #define bfd_mach_mipsisa32             32

>>> >   #define bfd_mach_mipsisa32r2           33

>>> >   #define bfd_mach_mipsisa32r3           34

>>> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

>>> > -index 4511024f22..f0f9072f10 100644

>>> > +index 8777f96bd2..7b80bda8c9 100644

>>> >  --- a/bfd/config.bfd

>>> >  +++ b/bfd/config.bfd

>>> > -@@ -1169,6 +1169,11 @@ case "${targ}" in

>>> > +@@ -1172,6 +1172,11 @@ case "${targ}" in

>>> >       targ_defvec=mips_elf32_le_vec

>>> >       targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec

>>> mips_elf64_le_vec"

>>> >       ;;

>>> > @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644

>>> >       targ_defvec=mips_elf32_be_vec

>>> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

>>> mips_elf64_le_vec"

>>> >  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c

>>> > -index 2493094bef..8375d1ae96 100644

>>> > +index cb50c64371..2b9d1d6ecf 100644

>>> >  --- a/bfd/cpu-mips.c

>>> >  +++ b/bfd/cpu-mips.c

>>> >  @@ -105,7 +105,8 @@ enum

>>> > @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644

>>> >

>>> >   #define NN(index) (&arch_info_struct[(index) + 1])

>>> >  @@ -158,7 +159,8 @@ static const bfd_arch_info_type

>>> arch_info_struct[] =

>>> > -   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",       FALSE, NN(I_xlr)),

>>> > +   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",     FALSE, NN(I_xlr)),

>>> >     N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2",

>>> FALSE,

>>> >        NN(I_interaptiv_mr2)),

>>> >  -  N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)

>>> > @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644

>>> >

>>> >   /* The default architecture is mips:3000, but with a machine number

>>> of

>>> >  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c

>>> > -index fddf68c816..354c85d00b 100644

>>> > +index 285401367d..14ebb5f175 100644

>>> >  --- a/bfd/elfxx-mips.c

>>> >  +++ b/bfd/elfxx-mips.c

>>> > -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)

>>> > +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)

>>> >       case E_MIPS_MACH_IAMR2:

>>> >         return bfd_mach_mips_interaptiv_mr2;

>>> >

>>> > @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644

>>> >       default:

>>> >         switch (flags & EF_MIPS_ARCH)

>>> >         {

>>> > -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)

>>> > +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)

>>> >         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;

>>> >         break;

>>> >

>>> > @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644

>>> >       case bfd_mach_mipsisa32:

>>> >         val = E_MIPS_ARCH_32;

>>> >         break;

>>> > -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension

>>> mips_mach_extensions[] =

>>> > +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension

>>> mips_mach_extensions[] =

>>> >     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },

>>> >     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },

>>> >     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },

>>> > @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644

>>> >     /* MIPS64 extensions.  */

>>> >     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },

>>> >  diff --git a/binutils/readelf.c b/binutils/readelf.c

>>> > -index 2b15f0f2cb..092744708e 100644

>>> > +index ae1cda9a7b..fed0387a94 100644

>>> >  --- a/binutils/readelf.c

>>> >  +++ b/binutils/readelf.c

>>> > -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned

>>> e_machine)

>>> > +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata,

>>> unsigned e_flags, unsigned e_machine)

>>> >             case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break;

>>> >             case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;

>>> >             case E_MIPS_MACH_IAMR2:  strcat (buf, ", interaptiv-mr2");

>>> break;

>>> > @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644

>>> >             /* We simply ignore the field in this case to avoid

>>> confusion:

>>> >                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU

>>> >  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c

>>> > -index 3804df2958..9576c986db 100644

>>> > +index c135131b59..d8fbda8e31 100644

>>> >  --- a/gas/config/tc-mips.c

>>> >  +++ b/gas/config/tc-mips.c

>>> >  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;

>>> > @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644

>>> >      )

>>> >

>>> >   /* Whether the processor uses hardware interlocks to protect reads

>>> > -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info

>>> mips_cpu_info_table[] =

>>> > +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info

>>> mips_cpu_info_table[] =

>>> >     /* Broadcom XLP.

>>> >        XLP is mostly like XLR, with the prominent exception that it is

>>> >        MIPS64R2 rather than MIPS64.  */

>>> > @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644

>>> >     /* MIPS 64 Release 6 */

>>> >     { "i6400",        0, ASE_MSA,               ISA_MIPS64R6,

>>> CPU_MIPS64R6},

>>> >  diff --git a/gas/configure b/gas/configure

>>> > -index 81dd4cbd97..95bdf3b19b 100755

>>> > +index a40ac2144f..65a6995243 100755

>>> >  --- a/gas/configure

>>> >  +++ b/gas/configure

>>> >  @@ -12989,6 +12989,9 @@ _ACEOF

>>> > @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755

>>> >             mips_cpu=r3900

>>> >             ;;

>>> >  diff --git a/include/elf/mips.h b/include/elf/mips.h

>>> > -index a4bea43ff8..73d904e25f 100644

>>> > +index 9de0b4e175..74fc4f7e55 100644

>>> >  --- a/include/elf/mips.h

>>> >  +++ b/include/elf/mips.h

>>> >  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)

>>> > @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644

>>> >   #define E_MIPS_MACH_OCTEON3   0x008e0000

>>> >   #define E_MIPS_MACH_5400      0x00910000

>>> >  diff --git a/include/opcode/mips.h b/include/opcode/mips.h

>>> > -index ceae9ec50a..276ee3c6c1 100644

>>> > +index 5eea72f139..90f6d57e15 100644

>>> >  --- a/include/opcode/mips.h

>>> >  +++ b/include/opcode/mips.h

>>> >  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {

>>> > @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644

>>> >         return FALSE;

>>> >       }

>>> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

>>> > -index fe7b9238b2..2adf108b17 100644

>>> > +index 1d78465590..307e787b64 100644

>>> >  --- a/ld/configure.tgt

>>> >  +++ b/ld/configure.tgt

>>> > -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

>>> mips*el-img-elf*)

>>> > +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

>>> mips*el-img-elf*)

>>> >   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)

>>> >                         targ_emul=elf32btsmip

>>> >                         targ_extra_emuls="elf32ltsmip elf32btsmipn32

>>> elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;

>>> > @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644

>>> >                         targ_extra_emuls="elf32lr5900"

>>> >                         targ_extra_libpath=$targ_extra_emuls ;;

>>> >  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c

>>> > -index 45195007c1..4a80a05d19 100644

>>> > +index 984fcbb802..95b107d216 100644

>>> >  --- a/opcodes/mips-dis.c

>>> >  +++ b/opcodes/mips-dis.c

>>> >  @@ -655,13 +655,11 @@ const struct mips_arch_choice

>>> mips_arch_choices[] =

>>> > @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644

>>> >     /* This entry, mips16, is here only for ISA/processor selection; do

>>> >        not print its name.  */

>>> >  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c

>>> > -index 19fca408c9..d02069c528 100644

>>> > +index 180d613c93..65b7b8cc23 100644

>>> >  --- a/opcodes/mips-opc.c

>>> >  +++ b/opcodes/mips-opc.c

>>> >  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)

>>> > @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644

>>> >   {"swc0",              "E,A(b)",       0,    (int) M_SWC0_AB,

>>> INSN_MACRO,             0,              I1,             0,

>>> IOCT|IOCTP|IOCT2|I37 },

>>> >   {"swc1",              "T,o(b)",       0xe4000000, 0xfc000000,

>>> RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },

>>> >  --

>>> > -2.14.0

>>> > +2.16.1

>>> >

>>> > diff --git

>>> a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>> b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>> > index 247376b7ed..c3e1b13841 100644

>>> > ---

>>> a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>> > +++

>>> b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>> > @@ -1,4 +1,4 @@

>>> > -From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00 2001

>>> > +From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00 2001

>>> >  From: Zhenhua Luo <zhenhua.luo@nxp.com>

>>> >  Date: Sat, 11 Jun 2016 22:08:29 -0500

>>> >  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait

>>> mnemonic

>>> > @@ -11,10 +11,10 @@ Upstream-Status: Pending

>>> >   1 file changed, 1 insertion(+), 2 deletions(-)

>>> >

>>> >  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c

>>> > -index 426261ab21..0d35916cdd 100644

>>> > +index bb17f26c2e..dbdd762b4e 100644

>>> >  --- a/opcodes/ppc-opc.c

>>> >  +++ b/opcodes/ppc-opc.c

>>> > -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] =

>>> {

>>> > +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] =

>>> {

>>> >   {"ldepx",     X(31,29),       X_MASK,   E500MC|PPCA2, 0,

>>>   {RT, RA0, RB}},

>>> >

>>> >   {"waitasec",  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,

>>>  {0}},

>>> > @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644

>>> >

>>> >   {"lwepx",     X(31,31),       X_MASK,   E500MC|PPCA2, 0,

>>>   {RT, RA0, RB}},

>>> >

>>> > -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] =

>>> {

>>> > +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] =

>>> {

>>> >

>>> >   {"waitrsv",   X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0,

>>>   {0}},

>>> >   {"waitimpl",  X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0,

>>>   {0}},

>>> > @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644

>>> >   {"dcbstep",   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,

>>>  {RA0, RB}},

>>> >

>>> >  --

>>> > -2.14.0

>>> > +2.16.1

>>> >

>>> > diff --git

>>> a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

>>> b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

>>> > index 42b1065f8d..cf3690f25d 100644

>>> > ---

>>> a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

>>> > +++

>>> b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

>>> > @@ -1,4 +1,4 @@

>>> > -From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00 2001

>>> > +From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00 2001

>>> >  From: Khem Raj <raj.khem@gmail.com>

>>> >  Date: Fri, 31 Mar 2017 11:42:03 -0700

>>> >  Subject: [PATCH 14/15] Detect 64-bit MIPS targets

>>> > @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>>> >   1 file changed, 14 insertions(+)

>>> >

>>> >  diff --git a/gold/configure.tgt b/gold/configure.tgt

>>> > -index 3d63027297..c1f92a1360 100644

>>> > +index 8aef22a318..7030026ffa 100644

>>> >  --- a/gold/configure.tgt

>>> >  +++ b/gold/configure.tgt

>>> >  @@ -153,6 +153,13 @@ aarch64*-*)

>>> > @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644

>>> >    targ_obj=mips

>>> >    targ_machine=EM_MIPS

>>> >  --

>>> > -2.14.0

>>> > +2.16.1

>>> >

>>> > diff --git

>>> a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

>>> b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

>>> > index 2c8900cb66..8c9fd237e7 100644

>>> > ---

>>> a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

>>> > +++

>>> b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

>>> > @@ -1,4 +1,4 @@

>>> > -From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00 2001

>>> > +From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00 2001

>>> >  From: Ross Burton <ross.burton@intel.com>

>>> >  Date: Mon, 6 Mar 2017 23:33:27 -0800

>>> >  Subject: [PATCH 15/15] sync with OE libtool changes

>>> > @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644

>>> >         elif test -n "$runpath_var"; then

>>> >           case "$finalize_perm_rpath " in

>>> >  --

>>> > -2.14.0

>>> > +2.16.1

>>> >

>>> > diff --git a/meta/recipes-devtools/binutils/binutils_2.29.1.bb

>>> b/meta/recipes-devtools/binutils/binutils_2.30.bb

>>> > similarity index 100%

>>> > rename from meta/recipes-devtools/binutils/binutils_2.29.1.bb

>>> > rename to meta/recipes-devtools/binutils/binutils_2.30.bb

>>> > --

>>> > 2.16.1

>>> >

>>> --

>>> _______________________________________________

>>> Openembedded-core mailing list

>>> Openembedded-core@lists.openembedded.org

>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>>>

>>

>>

>
<div><div dir="auto">V2 should have fixed it can you confirm you picked v2</div><br><div class="gmail_quote"><div>On Tue, Feb 20, 2018 at 2:38 AM Burton, Ross &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Ah yes, aarch64.<div><br></div><div>Lots of errors like this when building glibc 2.26:</div><div><br>| /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc): relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol `free&#39; defined in .text section in /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os<br><br>| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: BFD (GNU Binutils) 2.30.0.20180208 assertion fail ../../bfd/elfnn-aarch64.c:4386<br><br>| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.<a href="http://data.rel.ro" target="_blank">data.rel.ro</a>+0x310): dangerous relocation: unsupported relocation</div><div><br></div><div><a href="https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio" target="_blank">https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio</a><br></div><div><br></div><div>Apart from that the AB was entirely green.</div></div><div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2018 at 01:06, Burton, Ross <span>&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Can&#39;t remember if this failed anywhere that wasn&#39;t related to the glibc upgrade, so I just fired this patch standalone on the autobuilder.<span class="m_1815881552326279705HOEnZb"><font color="#888888"><div><br></div><div>Ross</div></font></span></div><div class="m_1815881552326279705HOEnZb"><div class="m_1815881552326279705h5"><div class="gmail_extra"><br><div class="gmail_quote">On 16 February 2018 at 03:03, Khem Raj <span>&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping<br>
<div class="m_1815881552326279705m_7477627778303079584HOEnZb"><div class="m_1815881552326279705m_7477627778303079584h5"><br>
On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt; Additionally cherry-pick<br>
&gt;<br>
&gt; 5ffeba4a09 Revert &quot;PowerPC PLT speculative execution barriers&quot;<br>
&gt; b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.<br>
&gt; a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.<br>
&gt; eec4607fc5 Add support for DWARF-4 line number tables.<br>
&gt;<br>
&gt; Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt; Changes since v1:<br>
&gt;<br>
&gt; - Backport fixes for aarch64 relocs<br>
&gt; - ppc plt fix, dwarf-4 line number support and linker script fix for removing PROVODE<br>
&gt;<br>
&gt;  meta/conf/distro/include/tcmode-default.inc        |  2 +-<br>
&gt;  .../{binutils-2.29.1.inc =&gt; binutils-2.30.inc}     |  2 +-<br>
&gt;  ...<a href="http://n_2.29.1.bb" rel="noreferrer" target="_blank">n_2.29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.bb</a>} |  0<br>
&gt;  ...<a href="http://tils-cross_2.29.1.bb" rel="noreferrer" target="_blank">tils-cross_2.29.1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} |  0<br>
&gt;  ...<a href="http://rosssdk_2.29.1.bb" rel="noreferrer" target="_blank">rosssdk_2.29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} |  0<br>
&gt;  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---<br>
&gt;  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-<br>
&gt;  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---<br>
&gt;  .../0004-Point-scripts-location-to-libdir.patch    |  8 +--<br>
&gt;  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--<br>
&gt;  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66 ++++++++------------<br>
&gt;  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--<br>
&gt;  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-<br>
&gt;  ...es-of-system-directories-when-cross-linki.patch | 24 ++++----<br>
&gt;  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-<br>
&gt;  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---<br>
&gt;  .../0012-Add-support-for-Netlogic-XLP.patch        | 70 +++++++++++-----------<br>
&gt;  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--<br>
&gt;  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-<br>
&gt;  .../0015-sync-with-OE-libtool-changes.patch        |  4 +-<br>
&gt;  .../{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>}       |  0<br>
&gt;  21 files changed, 127 insertions(+), 141 deletions(-)<br>
&gt;  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =&gt; binutils-2.30.inc} (97%)<br>
&gt;  rename meta/recipes-devtools/binutils/{<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/binutils/{<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/binutils/{<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/binutils/{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>} (100%)<br>
&gt;<br>
&gt; diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc<br>
&gt; index da45642440..037d331605 100644<br>
&gt; --- a/meta/conf/distro/include/tcmode-default.inc<br>
&gt; +++ b/meta/conf/distro/include/tcmode-default.inc<br>
&gt; @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= &quot;gettext&quot;<br>
&gt;<br>
&gt;  GCCVERSION ?= &quot;7.%&quot;<br>
&gt;  SDKGCCVERSION ?= &quot;${GCCVERSION}&quot;<br>
&gt; -BINUVERSION ?= &quot;2.29%&quot;<br>
&gt; +BINUVERSION ?= &quot;2.30%&quot;<br>
&gt;  GDBVERSION ?= &quot;8.0%&quot;<br>
&gt;  LINUXLIBCVERSION ?= &quot;4.14%&quot;<br>
&gt;  GLIBCVERSION ?= &quot;2.27%&quot;<br>
&gt; diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc b/meta/recipes-devtools/binutils/binutils-2.30.inc<br>
&gt; similarity index 97%<br>
&gt; rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc<br>
&gt; rename to meta/recipes-devtools/binutils/binutils-2.30.inc<br>
&gt; index 07a72e2b5a..9c883acc52 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils-2.29.1.inc<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils-2.30.inc<br>
&gt; @@ -18,7 +18,7 @@ BINUPV = &quot;${@binutils_branch_version(d)}&quot;<br>
&gt;<br>
&gt;  UPSTREAM_CHECK_GITTAGREGEX = &quot;binutils-(?P&lt;pver&gt;\d+_(\d_?)*)&quot;<br>
&gt;<br>
&gt; -SRCREV ?= &quot;90276f15379d380761fc499da2ba24cfb3c12a94&quot;<br>
&gt; +SRCREV ?= &quot;caa839fba66600a6c36d3639906ed9110b79c307&quot;<br>
&gt;  BINUTILS_GIT_URI ?= &quot;git://<a href="http://sourceware.org/git/binutils-gdb.git;branch=binutils-$%7BBINUPV%7D-branch;protocol=git" rel="noreferrer" target="_blank">sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git</a>&quot;<br>
&gt;  SRC_URI = &quot;\<br>
&gt;       ${BINUTILS_GIT_URI} \<br>
&gt; diff --git a/meta/recipes-devtools/binutils/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.29.1.bb</a> b/meta/recipes-devtools/binutils/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/binutils/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.1.bb</a> b/meta/recipes-devtools/binutils/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/binutils/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.29.1.bb</a> b/meta/recipes-devtools/binutils/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a><br>
&gt; 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<br>
&gt; index 0b515d83c7..2df836057d 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 58ac9f95a3d83c29efaf7a8906fb6aefea8c8e79 Mon Sep 17 00:00:00 2001<br>
&gt; +From 2e1b5e24a6759de7f73aa6060a574848d9131b5a Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:58:54 +0000<br>
&gt;  Subject: [PATCH 01/15] binutils-crosssdk: Generate relocatable SDKs<br>
&gt; @@ -18,7 +18,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 5 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index b6940d376d..a42c4d7a4b 100755<br>
&gt; +index 8732422b3a..1f257e99ca 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u=&quot;${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}&quot;<br>
&gt; @@ -37,16 +37,16 @@ index b6940d376d..a42c4d7a4b 100755<br>
&gt;   ( echo &quot;/* Script for ld -Ur: link w/out relocation, do create constructors */&quot;<br>
&gt;     . ${CUSTOMIZER_SCRIPT}<br>
&gt;     . ${srcdir}/scripttempl/${SCRIPT_NAME}.sc<br>
&gt; - ) | sed -e &#39;/^ *$/d;s/[       ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt; + ) | sed -e &#39;/^ *$/d;s/[        ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt;  +unset PARTIAL_LINKING<br>
&gt;<br>
&gt; - LD_FLAG=<br>
&gt;   DATA_ALIGNMENT=${DATA_ALIGNMENT_}<br>
&gt; + RELOCATING=&quot; &quot;<br>
&gt;  diff --git a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a> b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -index d9138bc059..e48faeca43 100644<br>
&gt; +index 9787ab5dac..0c8a93c2c8 100644<br>
&gt;  --- a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt;  +++ b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -@@ -138,8 +138,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt; +@@ -139,8 +139,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt;       DATA_SEGMENT_RELRO_END=&quot;. = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);&quot;<br>
&gt;     fi<br>
&gt;   fi<br>
&gt; @@ -58,5 +58,5 @@ index d9138bc059..e48faeca43 100644<br>
&gt;   if test -z &quot;$PLT&quot;; then<br>
&gt;     IPLT=&quot;.iplt         ${RELOCATING-0} : { *(.iplt) }&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index 370333d5d0..bac7fb2d1a 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8f929c616208351d0971d7dfd7574d48d3144603 Mon Sep 17 00:00:00 2001<br>
&gt; +From 58ddf38fa53abb48b69dd76e398c73451ad1a5eb Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:37:05 -0800<br>
&gt;  Subject: [PATCH 02/15] binutils-cross: Do not generate linker script<br>
&gt; @@ -23,7 +23,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 23 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index a42c4d7a4b..d727b4d07e 100755<br>
&gt; +index 1f257e99ca..1583b73a2b 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -189,29 +189,6 @@ append_to_lib_path()<br>
&gt; @@ -57,5 +57,5 @@ index a42c4d7a4b..d727b4d07e 100755<br>
&gt;     libs=${NATIVE_LIB_DIRS}<br>
&gt;     if [ &quot;x${NATIVE}&quot; = &quot;xyes&quot; ] ; then<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index b6c09ccf19..306afe7018 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e5a806aae02a10290c71deb72f6294c98068368d Mon Sep 17 00:00:00 2001<br>
&gt; +From 5089be88f670bcadf7db0e778894f900b2c05d7b Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:07:33 +0000<br>
&gt;  Subject: [PATCH 03/15] configure: widen the regexp for SH architectures<br>
&gt; @@ -14,12 +14,12 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 6 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/configure b/configure<br>
&gt; -index be9dd89d9b..d8af155ab5 100755<br>
&gt; +index 2d615a9996..c4ad45c06c 100755<br>
&gt;  --- a/configure<br>
&gt;  +++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; +@@ -3835,7 +3835,7 @@ case &quot;${target}&quot; in<br>
&gt; +   nvptx*-*-*)<br>
&gt; +     noconfigdirs=&quot;$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc&quot;<br>
&gt;       ;;<br>
&gt;  -  sh-*-*)<br>
&gt;  +  sh*-*-* | sh64-*-*)<br>
&gt; @@ -27,7 +27,7 @@ index be9dd89d9b..d8af155ab5 100755<br>
&gt;         sh*-*-elf)<br>
&gt;            ;;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index e71fe8b9e4..679e0dce77 100755<br>
&gt; +index 1e25102976..6b43bf2b18 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)<br>
&gt; @@ -43,5 +43,5 @@ index e71fe8b9e4..679e0dce77 100755<br>
&gt;     if echo __ELF__ | $CC -E - | $GREP __ELF__ &gt; /dev/null; then<br>
&gt;       lt_cv_deplibs_check_method=&#39;match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$&#39;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index 38eee30855..3e29c5815a 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 3634ec3547bc0f8a5d1b8ad15365e2f836cda642 Mon Sep 17 00:00:00 2001<br>
&gt; +From a0e893ea094c48fa803046ffa89e31907aee0597 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:09:58 +0000<br>
&gt;  Subject: [PATCH 04/15] Point scripts location to libdir<br>
&gt; @@ -12,7 +12,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 2 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/Makefile.am b/ld/Makefile.am<br>
&gt; -index 625347ff62..d5334d2681 100644<br>
&gt; +index 6243c12528..3c5d6c8202 100644<br>
&gt;  --- a/ld/Makefile.am<br>
&gt;  +++ b/ld/Makefile.am<br>
&gt;  @@ -57,7 +57,7 @@ endif<br>
&gt; @@ -25,7 +25,7 @@ index 625347ff62..d5334d2681 100644<br>
&gt;   EMUL = @EMUL@<br>
&gt;   EMULATION_OFILES = @EMULATION_OFILES@<br>
&gt;  diff --git a/ld/Makefile.in b/ld/Makefile.in<br>
&gt; -index ba251777b0..a2cf2282b5 100644<br>
&gt; +index 760c037f9d..6dea692869 100644<br>
&gt;  --- a/ld/Makefile.in<br>
&gt;  +++ b/ld/Makefile.in<br>
&gt;  @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)<br>
&gt; @@ -38,5 +38,5 @@ index ba251777b0..a2cf2282b5 100644<br>
&gt;   BFDDIR = $(BASEDIR)/bfd<br>
&gt;   INCDIR = $(BASEDIR)/include<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index 59150a2e4d..2f49969371 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9d37c8f68c07da63186cb993f1221f6c11eca422 Mon Sep 17 00:00:00 2001<br>
&gt; +From 518abb195d0eb47d8eef581d7fd0a5fd9fa73f7d Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:27:17 +0000<br>
&gt;  Subject: [PATCH 05/15] Only generate an RPATH entry if LD_RUN_PATH is not<br>
&gt; @@ -15,10 +15,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 4 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em<br>
&gt; -index 9ac1840316..9dc4c149bc 100644<br>
&gt; +index c0925fc9b9..7d7670a89f 100644<br>
&gt;  --- a/ld/emultempl/elf32.em<br>
&gt;  +++ b/ld/emultempl/elf32.em<br>
&gt; -@@ -1463,6 +1463,8 @@ fragment &lt;&lt;EOF<br>
&gt; +@@ -1470,6 +1470,8 @@ fragment &lt;&lt;EOF<br>
&gt;               &amp;&amp; command_line.rpath == NULL)<br>
&gt;             {<br>
&gt;               path = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -27,7 +27,7 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;               if (path<br>
&gt;                   &amp;&amp; gld${EMULATION_NAME}_search_needed (path, &amp;n, force))<br>
&gt;                 break;<br>
&gt; -@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_allocation (void)<br>
&gt; +@@ -1750,6 +1752,8 @@ gld${EMULATION_NAME}_before_allocation (void)<br>
&gt;     rpath = command_line.rpath;<br>
&gt;     if (rpath == NULL)<br>
&gt;       rpath = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -37,5 +37,5 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;     for (abfd = link_info.input_bfds; abfd; abfd = abfd-&gt;link.next)<br>
&gt;       if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index e87efe653b..333e2ee176 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 71c734bb3754319029dcfc898cedbade42274dcb Mon Sep 17 00:00:00 2001<br>
&gt; +From fad053cc59baa6277182b0fc90415a214060ba99 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:04:07 +0000<br>
&gt;  Subject: [PATCH 06/15] Use libtool 2.4<br>
&gt; @@ -12,7 +12,6 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   bfd/configure        | 1318 +++++++++++++++++------<br>
&gt;   bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>     |    2 +-<br>
&gt;   binutils/configure   | 1316 +++++++++++++++++------<br>
&gt; - configure            |    2 +-<br>
&gt;   gas/configure        | 1314 +++++++++++++++++------<br>
&gt;   gprof/configure      | 1321 +++++++++++++++++------<br>
&gt;   ld/configure         | 1691 +++++++++++++++++++++--------<br>
&gt; @@ -24,10 +23,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   opcodes/configure    | 1318 +++++++++++++++++------<br>
&gt;   opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> |    2 +-<br>
&gt;   zlib/configure       | 1316 +++++++++++++++++------<br>
&gt; - 15 files changed, 9927 insertions(+), 3694 deletions(-)<br>
&gt; + 14 files changed, 9926 insertions(+), 3693 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/configure b/bfd/configure<br>
&gt; -index 48276594ed..3ece8943f3 100755<br>
&gt; +index 6c2b24ebe3..5fdd723b7f 100755<br>
&gt;  --- a/bfd/configure<br>
&gt;  +++ b/bfd/configure<br>
&gt;  @@ -672,6 +672,9 @@ OTOOL<br>
&gt; @@ -1931,7 +1930,7 @@ index 48276594ed..3ece8943f3 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 8fd03a7ea8..8816c3286c 100644<br>
&gt; +index 2342f3faea..a6451fccda 100644<br>
&gt;  --- a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -254,7 +254,7 @@ changequote(,)dnl<br>
&gt; @@ -1944,7 +1943,7 @@ index 8fd03a7ea8..8816c3286c 100644<br>
&gt;<br>
&gt;   # More hacks to build DLLs on Windows.<br>
&gt;  diff --git a/binutils/configure b/binutils/configure<br>
&gt; -index 22e1b1736e..321b63535b 100755<br>
&gt; +index 5d9c9105a7..a65b2b4518 100755<br>
&gt;  --- a/binutils/configure<br>
&gt;  +++ b/binutils/configure<br>
&gt;  @@ -659,8 +659,11 @@ OTOOL<br>
&gt; @@ -3841,21 +3840,8 @@ index 22e1b1736e..321b63535b 100755<br>
&gt;       (rm -f &quot;$ofile&quot; &amp;&amp; cp &quot;$cfgfile&quot; &quot;$ofile&quot; &amp;&amp; rm -f &quot;$cfgfile&quot;)<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt; -diff --git a/configure b/configure<br>
&gt; -index d8af155ab5..005ed827ab 100755<br>
&gt; ---- a/configure<br>
&gt; -+++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; -     ;;<br>
&gt; --  sh*-*-* | sh64-*-*)<br>
&gt; -+  sh-*-* | sh64-*-*)<br>
&gt; -     case &quot;${target}&quot; in<br>
&gt; -       sh*-*-elf)<br>
&gt; -          ;;<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 93afb20c8f..81dd4cbd97 100755<br>
&gt; +index fbac8f44d5..a40ac2144f 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -650,8 +650,11 @@ OTOOL<br>
&gt; @@ -5156,7 +5142,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   int main ()<br>
&gt;   {<br>
&gt;     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);<br>
&gt; -@@ -15436,13 +16089,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; +@@ -15437,13 +16090,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_unset=&#39;`$ECHO &quot;$lt_unset&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_SP2NL=&#39;`$ECHO &quot;$lt_SP2NL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_NL2SP=&#39;`$ECHO &quot;$lt_NL2SP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5177,7 +5163,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP=&#39;`$ECHO &quot;$STRIP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   RANLIB=&#39;`$ECHO &quot;$RANLIB&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   old_postinstall_cmds=&#39;`$ECHO &quot;$old_postinstall_cmds&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15457,14 +16117,17 @@ lt_cv_sys_global_symbol_pipe=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_pipe&quot; | $SED &quot;$de<br>
&gt; +@@ -15458,14 +16118,17 @@ lt_cv_sys_global_symbol_pipe=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_pipe&quot; | $SED &quot;$de<br>
&gt;   lt_cv_sys_global_symbol_to_cdecl=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_cdecl&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_name_address=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_c_name_address&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5196,7 +5182,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL=&#39;`$ECHO &quot;$DSYMUTIL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   NMEDIT=&#39;`$ECHO &quot;$NMEDIT&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   LIPO=&#39;`$ECHO &quot;$LIPO&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15497,12 +16160,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt; +@@ -15498,12 +16161,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt;   hardcode_automatic=&#39;`$ECHO &quot;$hardcode_automatic&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   inherit_rpath=&#39;`$ECHO &quot;$inherit_rpath&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   link_all_deplibs=&#39;`$ECHO &quot;$link_all_deplibs&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5210,7 +5196,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   file_list_spec=&#39;`$ECHO &quot;$file_list_spec&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   variables_saved_for_relink=&#39;`$ECHO &quot;$variables_saved_for_relink&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   need_lib_prefix=&#39;`$ECHO &quot;$need_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15557,8 +16220,13 @@ reload_flag \<br>
&gt; +@@ -15558,8 +16221,13 @@ reload_flag \<br>
&gt;   OBJDUMP \<br>
&gt;   deplibs_check_method \<br>
&gt;   file_magic_cmd \<br>
&gt; @@ -5224,7 +5210,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP \<br>
&gt;   RANLIB \<br>
&gt;   CC \<br>
&gt; -@@ -15568,12 +16236,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt; +@@ -15569,12 +16237,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt;   lt_cv_sys_global_symbol_to_cdecl \<br>
&gt;   lt_cv_sys_global_symbol_to_c_name_address \<br>
&gt;   lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \<br>
&gt; @@ -5240,7 +5226,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL \<br>
&gt;   NMEDIT \<br>
&gt;   LIPO \<br>
&gt; -@@ -15589,7 +16259,6 @@ no_undefined_flag \<br>
&gt; +@@ -15590,7 +16260,6 @@ no_undefined_flag \<br>
&gt;   hardcode_libdir_flag_spec \<br>
&gt;   hardcode_libdir_flag_spec_ld \<br>
&gt;   hardcode_libdir_separator \<br>
&gt; @@ -5248,7 +5234,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   exclude_expsyms \<br>
&gt;   include_expsyms \<br>
&gt;   file_list_spec \<br>
&gt; -@@ -15625,6 +16294,7 @@ module_cmds \<br>
&gt; +@@ -15626,6 +16295,7 @@ module_cmds \<br>
&gt;   module_expsym_cmds \<br>
&gt;   export_symbols_cmds \<br>
&gt;   prelink_cmds \<br>
&gt; @@ -5256,7 +5242,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   postinstall_cmds \<br>
&gt;   postuninstall_cmds \<br>
&gt;   finish_cmds \<br>
&gt; -@@ -16389,7 +17059,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt; +@@ -16390,7 +17060,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt;   # NOTE: Changes made to this file will be lost: look at ltmain.sh.<br>
&gt;   #<br>
&gt;   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,<br>
&gt; @@ -5266,7 +5252,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   #   Written by Gordon Matzigkeit, 1996<br>
&gt;   #<br>
&gt;   #   This file is part of GNU Libtool.<br>
&gt; -@@ -16492,19 +17163,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt; +@@ -16493,19 +17164,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt;   # turn newlines into spaces.<br>
&gt;   NL2SP=$lt_lt_NL2SP<br>
&gt;<br>
&gt; @@ -5310,7 +5296,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # A symbol stripping program.<br>
&gt;   STRIP=$lt_STRIP<br>
&gt;<br>
&gt; -@@ -16534,6 +17228,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address<br>
&gt; +@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address<br>
&gt;   # Transform the output of nm in a C name address pair when lib prefix is needed.<br>
&gt;   global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix<br>
&gt;<br>
&gt; @@ -5323,7 +5309,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # The name of the directory that contains temporary libtool files.<br>
&gt;   objdir=$objdir<br>
&gt;<br>
&gt; -@@ -16543,6 +17243,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt; +@@ -16544,6 +17244,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt;   # Must we lock files when doing compilation?<br>
&gt;   need_locks=$lt_need_locks<br>
&gt;<br>
&gt; @@ -5333,7 +5319,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.<br>
&gt;   DSYMUTIL=$lt_DSYMUTIL<br>
&gt;<br>
&gt; -@@ -16657,12 +17360,12 @@ with_gcc=$GCC<br>
&gt; +@@ -16658,12 +17361,12 @@ with_gcc=$GCC<br>
&gt;   # Compiler flag to turn off builtin functions.<br>
&gt;   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag<br>
&gt;<br>
&gt; @@ -5349,7 +5335,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Compiler flag to prevent dynamic linking.<br>
&gt;   link_static_flag=$lt_lt_prog_compiler_static<br>
&gt;<br>
&gt; -@@ -16749,9 +17452,6 @@ inherit_rpath=$inherit_rpath<br>
&gt; +@@ -16750,9 +17453,6 @@ inherit_rpath=$inherit_rpath<br>
&gt;   # Whether libtool must link a program against all its dependency libraries.<br>
&gt;   link_all_deplibs=$link_all_deplibs<br>
&gt;<br>
&gt; @@ -5359,7 +5345,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Set to &quot;yes&quot; if exported symbols are required.<br>
&gt;   always_export_symbols=$always_export_symbols<br>
&gt;<br>
&gt; -@@ -16767,6 +17467,9 @@ include_expsyms=$lt_include_expsyms<br>
&gt; +@@ -16768,6 +17468,9 @@ include_expsyms=$lt_include_expsyms<br>
&gt;   # Commands necessary for linking programs (against libraries) with templates.<br>
&gt;   prelink_cmds=$lt_prelink_cmds<br>
&gt;<br>
&gt; @@ -5369,7 +5355,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Specify filename containing input files.<br>
&gt;   file_list_spec=$lt_file_list_spec<br>
&gt;<br>
&gt; -@@ -16799,210 +17502,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt; +@@ -16800,210 +17503,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt;     # if finds mixed CR/LF and LF-only lines.  Since sed operates in<br>
&gt;     # text mode, it properly converts lines to CR/LF.  This bash problem<br>
&gt;     # is reportedly fixed, but why not run on old versions too?<br>
&gt; @@ -5744,7 +5730,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index 679e0dce77..ac4c016a63 100755<br>
&gt; +index 6b43bf2b18..245ee48bc3 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -631,8 +631,11 @@ OTOOL<br>
&gt; @@ -7654,7 +7640,7 @@ index 679e0dce77..ac4c016a63 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index d7f66f8cdc..4e71511bd1 100755<br>
&gt; +index 0cc6e8a50f..db8b998722 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -655,8 +655,11 @@ OTOOL<br>
&gt; @@ -17336,7 +17322,7 @@ index bf92b5e079..c573da90c5 100644<br>
&gt;   # These exist entirely to fool aclocal when bootstrapping libtool.<br>
&gt;   #<br>
&gt;  diff --git a/opcodes/configure b/opcodes/configure<br>
&gt; -index 17530f54b9..79b39611c2 100755<br>
&gt; +index 4f29887098..2127d39288 100755<br>
&gt;  --- a/opcodes/configure<br>
&gt;  +++ b/opcodes/configure<br>
&gt;  @@ -650,6 +650,9 @@ OTOOL<br>
&gt; @@ -19240,7 +19226,7 @@ index 17530f54b9..79b39611c2 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index a9fbfd61f1..c43780f64d 100644<br>
&gt; +index b07f3f3629..5a32d9b1fc 100644<br>
&gt;  --- a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -167,7 +167,7 @@ changequote(,)dnl<br>
&gt; @@ -21153,5 +21139,5 @@ index dc2d9ed383..ed9a492f5c 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index 88019606f7..4a5127380f 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 2b87aad1741bc481dd0982f100ad5ea7f937bb61 Mon Sep 17 00:00:00 2001<br>
&gt; +From 697903256e09533778baa8af66402c44d70219d9 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:37:10 +0000<br>
&gt;  Subject: [PATCH 07/15] Add the armv5e architecture to binutils<br>
&gt; @@ -19,10 +19,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 1 insertion(+)<br>
&gt;<br>
&gt;  diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c<br>
&gt; -index a885efe4fc..735eaa7447 100644<br>
&gt; +index ec50420518..a25d1721af 100644<br>
&gt;  --- a/gas/config/tc-arm.c<br>
&gt;  +++ b/gas/config/tc-arm.c<br>
&gt; -@@ -25990,6 +25990,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt; +@@ -26195,6 +26195,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt;     ARM_ARCH_OPT (&quot;armv4t&quot;,     ARM_ARCH_V4T,    FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv4txm&quot;,   ARM_ARCH_V4TxM,  FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5&quot;,      ARM_ARCH_V5,     FPU_ARCH_VFP),<br>
&gt; @@ -31,5 +31,5 @@ index a885efe4fc..735eaa7447 100644<br>
&gt;     ARM_ARCH_OPT (&quot;armv5txm&quot;,   ARM_ARCH_V5TxM,  FPU_ARCH_VFP),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5te&quot;,    ARM_ARCH_V5TE,   FPU_ARCH_VFP),<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index 30a22b504f..939be67b58 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 331443a87a31ec504e5652fc099d9129a9a4deb8 Mon Sep 17 00:00:00 2001<br>
&gt; +From 622d66634eb2e509d4126f5bdcab26de367241a1 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:39:01 +0000<br>
&gt;  Subject: [PATCH 08/15] don&#39;t let the distro compiler point to the wrong<br>
&gt; @@ -17,7 +17,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 2 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in<br>
&gt; -index 25cfa29ad5..ce67a710e3 100644<br>
&gt; +index ed1b334c36..d4ffd8b57b 100644<br>
&gt;  --- a/libiberty/Makefile.in<br>
&gt;  +++ b/libiberty/Makefile.in<br>
&gt;  @@ -364,7 +364,8 @@ install-strip: install<br>
&gt; @@ -31,5 +31,5 @@ index 25cfa29ad5..ce67a710e3 100644<br>
&gt;         if test -n &quot;${target_header_dir}&quot;; then \<br>
&gt;                 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index e0e257880d..e75104722b 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 0a4afdcf0700efd45963568e2d0049127cdf4434 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27e38ee92c24fca86b1c3f6ef156a1892dd06bfd Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 15 Jan 2016 06:31:09 +0000<br>
&gt;  Subject: [PATCH 09/15] warn for uses of system directories when cross linking<br>
&gt; @@ -77,7 +77,7 @@ index a846743da6..df3cd5fb60 100644<br>
&gt;   #undef EXTRA_SHLIB_EXTENSION<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index 4e71511bd1..71c6ad1fd1 100755<br>
&gt; +index db8b998722..489ead5c13 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -789,6 +789,7 @@ with_lib_path<br>
&gt; @@ -118,7 +118,7 @@ index 4e71511bd1..71c6ad1fd1 100755<br>
&gt;   if test &quot;${enable_gold+set}&quot; = set; then :<br>
&gt;     enableval=$enable_gold; case &quot;${enableval}&quot; in<br>
&gt;  diff --git a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 00080f85fd..3aa98e37fb 100644<br>
&gt; +index bada1b50b0..d074a3820b 100644<br>
&gt;  --- a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot)<br>
&gt; @@ -139,10 +139,10 @@ index 00080f85fd..3aa98e37fb 100644<br>
&gt;   dnl &quot;install_as_default&quot; is set to false if gold is the default linker.<br>
&gt;   dnl &quot;installed_linker&quot; is the installed BFD linker name.<br>
&gt;  diff --git a/ld/ld.h b/ld/ld.h<br>
&gt; -index c6fa1247f0..01c373498f 100644<br>
&gt; +index ba914b921e..9df17dab6c 100644<br>
&gt;  --- a/ld/ld.h<br>
&gt;  +++ b/ld/ld.h<br>
&gt; -@@ -174,6 +174,14 @@ typedef struct<br>
&gt; +@@ -180,6 +180,14 @@ typedef struct<br>
&gt;        in the linker script.  */<br>
&gt;     bfd_boolean force_group_allocation;<br>
&gt;<br>
&gt; @@ -158,10 +158,10 @@ index c6fa1247f0..01c373498f 100644<br>
&gt;     enum endian_enum endian;<br>
&gt;<br>
&gt;  diff --git a/ld/ld.texinfo b/ld/ld.texinfo<br>
&gt; -index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt; +index c89915f1aa..df430837e2 100644<br>
&gt;  --- a/ld/ld.texinfo<br>
&gt;  +++ b/ld/ld.texinfo<br>
&gt; -@@ -2480,6 +2480,18 @@ string identifying the original linked file does not change.<br>
&gt; +@@ -2498,6 +2498,18 @@ string identifying the original linked file does not change.<br>
&gt;<br>
&gt;   Passing @code{none} for @var{style} disables the setting from any<br>
&gt;   @code{--build-id} options earlier on the command line.<br>
&gt; @@ -181,7 +181,7 @@ index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt;<br>
&gt;   @c man end<br>
&gt;  diff --git a/ld/ldfile.c b/ld/ldfile.c<br>
&gt; -index 3b37a0a3e2..5c85b01849 100644<br>
&gt; +index 6532a57d96..f943f0b2e5 100644<br>
&gt;  --- a/ld/ldfile.c<br>
&gt;  +++ b/ld/ldfile.c<br>
&gt;  @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline)<br>
&gt; @@ -209,7 +209,7 @@ index 3b37a0a3e2..5c85b01849 100644<br>
&gt;<br>
&gt;   /* Try to open a BFD for a lang_input_statement.  */<br>
&gt;  diff --git a/ld/ldlex.h b/ld/ldlex.h<br>
&gt; -index 5aa7f6bc3e..cb655e0399 100644<br>
&gt; +index 140ed1d9da..9965cbc04f 100644<br>
&gt;  --- a/ld/ldlex.h<br>
&gt;  +++ b/ld/ldlex.h<br>
&gt;  @@ -147,6 +147,8 @@ enum option_values<br>
&gt; @@ -222,7 +222,7 @@ index 5aa7f6bc3e..cb655e0399 100644<br>
&gt;<br>
&gt;   /* The initial parser states.  */<br>
&gt;  diff --git a/ld/ldmain.c b/ld/ldmain.c<br>
&gt; -index 2b09f20413..89e2a3a805 100644<br>
&gt; +index c473ed24c3..adae0b4610 100644<br>
&gt;  --- a/ld/ldmain.c<br>
&gt;  +++ b/ld/ldmain.c<br>
&gt;  @@ -261,6 +261,8 @@ main (int argc, char **argv)<br>
&gt; @@ -235,7 +235,7 @@ index 2b09f20413..89e2a3a805 100644<br>
&gt;     /* We initialize DEMANGLING based on the environment variable<br>
&gt;        COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the<br>
&gt;  diff --git a/ld/lexsup.c b/ld/lexsup.c<br>
&gt; -index effa277b16..e4929607e9 100644<br>
&gt; +index f2191602d4..bccb3bdeef 100644<br>
&gt;  --- a/ld/lexsup.c<br>
&gt;  +++ b/ld/lexsup.c<br>
&gt;  @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] =<br>
&gt; @@ -269,5 +269,5 @@ index effa277b16..e4929607e9 100644<br>
&gt;       }<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; 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<br>
&gt; index 496242efa4..33dfff9bd7 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 88fac08f1c472c612f381cbb9408756f2f58b4ff Mon Sep 17 00:00:00 2001<br>
&gt; +From e205ae05c41a8cc8d47708f0a3b6f740e2bf2526 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:42:38 +0000<br>
&gt;  Subject: [PATCH 10/15] Fix rpath in libtool when sysroot is enabled<br>
&gt; @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644<br>
&gt;             if test -z &quot;$hardcode_libdirs&quot;; then<br>
&gt;               hardcode_libdirs=&quot;$libdir&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch<br>
&gt; index ac87a2d1de..80fcbc1194 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:44:14 +0000<br>
&gt;  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux<br>
&gt; @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 8 insertions(+), 8 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index dc24aabad5..4511024f22 100644<br>
&gt; +index f04a993f06..8777f96bd2 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1186,12 +1186,12 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1189,12 +1189,12 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec&quot;<br>
&gt;       ;;<br>
&gt;     mips64*el-*-linux*)<br>
&gt; @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644<br>
&gt;     mips*el-*-linux*)<br>
&gt;       targ_defvec=mips_elf32_trad_le_vec<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index 47c719cd05..fe7b9238b2 100644<br>
&gt; +index 6183a85b3d..1d78465590 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt; +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt;   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks<br>
&gt; -                       targ_extra_emuls=&quot;elf32elmipvxworks&quot; ;;<br>
&gt; +                       targ_extra_emuls=&quot;elf32elmipvxworks&quot; ;;<br>
&gt;   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;<br>
&gt;  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32<br>
&gt;  -                      targ_extra_emuls=&quot;elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip&quot;<br>
&gt; @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644<br>
&gt;   mips*el-*-linux-*)    targ_emul=elf32ltsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch<br>
&gt; index dc5e580739..1fefb680f8 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00 2001<br>
&gt; +From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:06:19 +0000<br>
&gt;  Subject: [PATCH 12/15] Add support for Netlogic XLP<br>
&gt; @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle &lt;<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>&gt;<br>
&gt;   14 files changed, 61 insertions(+), 21 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/aoutx.h b/bfd/aoutx.h<br>
&gt; -index 3d38fda14b..0aec49bbb3 100644<br>
&gt; +index eec9c4ad2a..3bf0a71e63 100644<br>
&gt;  --- a/bfd/aoutx.h<br>
&gt;  +++ b/bfd/aoutx.h<br>
&gt;  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,<br>
&gt; @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644<br>
&gt;           arch_flags = M_MIPS2;<br>
&gt;           break;<br>
&gt;  diff --git a/bfd/archures.c b/bfd/archures.c<br>
&gt; -index 433b95fa08..063b7943a1 100644<br>
&gt; +index e83c57a2f3..3016ea1bae 100644<br>
&gt;  --- a/bfd/archures.c<br>
&gt;  +++ b/bfd/archures.c<br>
&gt;  @@ -201,6 +201,7 @@ DESCRIPTION<br>
&gt; - .#define bfd_mach_mips_octeon3          6503<br>
&gt; - .#define bfd_mach_mips_xlr              887682   {* decimal &#39;XLR&#39;  *}<br>
&gt; - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal &#39;IA2&#39;  *}<br>
&gt; -+.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;  *}<br>
&gt; - .#define bfd_mach_mipsisa32             32<br>
&gt; - .#define bfd_mach_mipsisa32r2           33<br>
&gt; - .#define bfd_mach_mipsisa32r3           34<br>
&gt; + .#define bfd_mach_mips_octeon3                6503<br>
&gt; + .#define bfd_mach_mips_xlr            887682   {* decimal &#39;XLR&#39;.  *}<br>
&gt; + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal &#39;IA2&#39;.  *}<br>
&gt; ++.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;.  *}<br>
&gt; + .#define bfd_mach_mipsisa32           32<br>
&gt; + .#define bfd_mach_mipsisa32r2         33<br>
&gt; + .#define bfd_mach_mipsisa32r3         34<br>
&gt;  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h<br>
&gt; -index d126aed086..2b753b3a93 100644<br>
&gt; +index 42991e7848..27abc5d5a8 100644<br>
&gt;  --- a/bfd/bfd-in2.h<br>
&gt;  +++ b/bfd/bfd-in2.h<br>
&gt; -@@ -2060,6 +2060,7 @@ enum bfd_architecture<br>
&gt; +@@ -2062,6 +2062,7 @@ enum bfd_architecture<br>
&gt;   #define bfd_mach_mips_octeon3          6503<br>
&gt; - #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;  */<br>
&gt; - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;  */<br>
&gt; -+#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;  */<br>
&gt; + #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;.  */<br>
&gt; + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;.  */<br>
&gt; ++#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;.  */<br>
&gt;   #define bfd_mach_mipsisa32             32<br>
&gt;   #define bfd_mach_mipsisa32r2           33<br>
&gt;   #define bfd_mach_mipsisa32r3           34<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index 4511024f22..f0f9072f10 100644<br>
&gt; +index 8777f96bd2..7b80bda8c9 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1169,6 +1169,11 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1172,6 +1172,11 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_defvec=mips_elf32_le_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;       ;;<br>
&gt; @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644<br>
&gt;       targ_defvec=mips_elf32_be_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c<br>
&gt; -index 2493094bef..8375d1ae96 100644<br>
&gt; +index cb50c64371..2b9d1d6ecf 100644<br>
&gt;  --- a/bfd/cpu-mips.c<br>
&gt;  +++ b/bfd/cpu-mips.c<br>
&gt;  @@ -105,7 +105,8 @@ enum<br>
&gt; @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   #define NN(index) (&amp;arch_info_struct[(index) + 1])<br>
&gt;  @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] =<br>
&gt; -   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,       FALSE, NN(I_xlr)),<br>
&gt; +   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,     FALSE, NN(I_xlr)),<br>
&gt;     N (32, 32, bfd_mach_mips_interaptiv_mr2, &quot;mips:interaptiv-mr2&quot;, FALSE,<br>
&gt;        NN(I_interaptiv_mr2)),<br>
&gt;  -  N (64, 64, bfd_mach_mips_micromips,&quot;mips:micromips&quot;,FALSE,0)<br>
&gt; @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   /* The default architecture is mips:3000, but with a machine number of<br>
&gt;  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c<br>
&gt; -index fddf68c816..354c85d00b 100644<br>
&gt; +index 285401367d..14ebb5f175 100644<br>
&gt;  --- a/bfd/elfxx-mips.c<br>
&gt;  +++ b/bfd/elfxx-mips.c<br>
&gt; -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt; +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt;       case E_MIPS_MACH_IAMR2:<br>
&gt;         return bfd_mach_mips_interaptiv_mr2;<br>
&gt;<br>
&gt; @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       default:<br>
&gt;         switch (flags &amp; EF_MIPS_ARCH)<br>
&gt;         {<br>
&gt; -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt; +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt;         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;<br>
&gt;         break;<br>
&gt;<br>
&gt; @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       case bfd_mach_mipsisa32:<br>
&gt;         val = E_MIPS_ARCH_32;<br>
&gt;         break;<br>
&gt; -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt; +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt;     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },<br>
&gt;     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },<br>
&gt;     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },<br>
&gt; @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644<br>
&gt;     /* MIPS64 extensions.  */<br>
&gt;     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },<br>
&gt;  diff --git a/binutils/readelf.c b/binutils/readelf.c<br>
&gt; -index 2b15f0f2cb..092744708e 100644<br>
&gt; +index ae1cda9a7b..fed0387a94 100644<br>
&gt;  --- a/binutils/readelf.c<br>
&gt;  +++ b/binutils/readelf.c<br>
&gt; -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)<br>
&gt; +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)<br>
&gt;             case E_MIPS_MACH_OCTEON3: strcat (buf, &quot;, octeon3&quot;); break;<br>
&gt;             case E_MIPS_MACH_XLR:  strcat (buf, &quot;, xlr&quot;); break;<br>
&gt;             case E_MIPS_MACH_IAMR2:  strcat (buf, &quot;, interaptiv-mr2&quot;); break;<br>
&gt; @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644<br>
&gt;             /* We simply ignore the field in this case to avoid confusion:<br>
&gt;                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU<br>
&gt;  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c<br>
&gt; -index 3804df2958..9576c986db 100644<br>
&gt; +index c135131b59..d8fbda8e31 100644<br>
&gt;  --- a/gas/config/tc-mips.c<br>
&gt;  +++ b/gas/config/tc-mips.c<br>
&gt;  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;<br>
&gt; @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;      )<br>
&gt;<br>
&gt;   /* Whether the processor uses hardware interlocks to protect reads<br>
&gt; -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt; +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt;     /* Broadcom XLP.<br>
&gt;        XLP is mostly like XLR, with the prominent exception that it is<br>
&gt;        MIPS64R2 rather than MIPS64.  */<br>
&gt; @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;     /* MIPS 64 Release 6 */<br>
&gt;     { &quot;i6400&quot;,        0, ASE_MSA,               ISA_MIPS64R6, CPU_MIPS64R6},<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 81dd4cbd97..95bdf3b19b 100755<br>
&gt; +index a40ac2144f..65a6995243 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -12989,6 +12989,9 @@ _ACEOF<br>
&gt; @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755<br>
&gt;             mips_cpu=r3900<br>
&gt;             ;;<br>
&gt;  diff --git a/include/elf/mips.h b/include/elf/mips.h<br>
&gt; -index a4bea43ff8..73d904e25f 100644<br>
&gt; +index 9de0b4e175..74fc4f7e55 100644<br>
&gt;  --- a/include/elf/mips.h<br>
&gt;  +++ b/include/elf/mips.h<br>
&gt;  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)<br>
&gt; @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644<br>
&gt;   #define E_MIPS_MACH_OCTEON3   0x008e0000<br>
&gt;   #define E_MIPS_MACH_5400      0x00910000<br>
&gt;  diff --git a/include/opcode/mips.h b/include/opcode/mips.h<br>
&gt; -index ceae9ec50a..276ee3c6c1 100644<br>
&gt; +index 5eea72f139..90f6d57e15 100644<br>
&gt;  --- a/include/opcode/mips.h<br>
&gt;  +++ b/include/opcode/mips.h<br>
&gt;  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {<br>
&gt; @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644<br>
&gt;         return FALSE;<br>
&gt;       }<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index fe7b9238b2..2adf108b17 100644<br>
&gt; +index 1d78465590..307e787b64 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt; +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt;   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)<br>
&gt;                         targ_emul=elf32btsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip&quot; ;;<br>
&gt; @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644<br>
&gt;                         targ_extra_emuls=&quot;elf32lr5900&quot;<br>
&gt;                         targ_extra_libpath=$targ_extra_emuls ;;<br>
&gt;  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c<br>
&gt; -index 45195007c1..4a80a05d19 100644<br>
&gt; +index 984fcbb802..95b107d216 100644<br>
&gt;  --- a/opcodes/mips-dis.c<br>
&gt;  +++ b/opcodes/mips-dis.c<br>
&gt;  @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[] =<br>
&gt; @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644<br>
&gt;     /* This entry, mips16, is here only for ISA/processor selection; do<br>
&gt;        not print its name.  */<br>
&gt;  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c<br>
&gt; -index 19fca408c9..d02069c528 100644<br>
&gt; +index 180d613c93..65b7b8cc23 100644<br>
&gt;  --- a/opcodes/mips-opc.c<br>
&gt;  +++ b/opcodes/mips-opc.c<br>
&gt;  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)<br>
&gt; @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644<br>
&gt;   {&quot;swc0&quot;,              &quot;E,A(b)&quot;,       0,    (int) M_SWC0_AB,  INSN_MACRO,             0,              I1,             0,      IOCT|IOCTP|IOCT2|I37 },<br>
&gt;   {&quot;swc1&quot;,              &quot;T,o(b)&quot;,       0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch<br>
&gt; index 247376b7ed..c3e1b13841 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Zhenhua Luo &lt;<a href="mailto:zhenhua.luo@nxp.com" target="_blank">zhenhua.luo@nxp.com</a>&gt;<br>
&gt;  Date: Sat, 11 Jun 2016 22:08:29 -0500<br>
&gt;  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait mnemonic<br>
&gt; @@ -11,10 +11,10 @@ Upstream-Status: Pending<br>
&gt;   1 file changed, 1 insertion(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c<br>
&gt; -index 426261ab21..0d35916cdd 100644<br>
&gt; +index bb17f26c2e..dbdd762b4e 100644<br>
&gt;  --- a/opcodes/ppc-opc.c<br>
&gt;  +++ b/opcodes/ppc-opc.c<br>
&gt; -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;   {&quot;ldepx&quot;,     X(31,29),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt;   {&quot;waitasec&quot;,  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,         {0}},<br>
&gt; @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;<br>
&gt;   {&quot;lwepx&quot;,     X(31,31),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt; -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;<br>
&gt;   {&quot;waitrsv&quot;,   X(31,62)|(1&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt;   {&quot;waitimpl&quot;,  X(31,62)|(2&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt; @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;   {&quot;dcbstep&quot;,   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,           {RA0, RB}},<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch<br>
&gt; index 42b1065f8d..cf3690f25d 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 31 Mar 2017 11:42:03 -0700<br>
&gt;  Subject: [PATCH 14/15] Detect 64-bit MIPS targets<br>
&gt; @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 14 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/gold/configure.tgt b/gold/configure.tgt<br>
&gt; -index 3d63027297..c1f92a1360 100644<br>
&gt; +index 8aef22a318..7030026ffa 100644<br>
&gt;  --- a/gold/configure.tgt<br>
&gt;  +++ b/gold/configure.tgt<br>
&gt;  @@ -153,6 +153,13 @@ aarch64*-*)<br>
&gt; @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644<br>
&gt;    targ_obj=mips<br>
&gt;    targ_machine=EM_MIPS<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch<br>
&gt; index 2c8900cb66..8c9fd237e7 100644<br>
&gt; --- a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch<br>
&gt; +++ b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00 2001<br>
&gt; +From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Ross Burton &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:33:27 -0800<br>
&gt;  Subject: [PATCH 15/15] sync with OE libtool changes<br>
&gt; @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644<br>
&gt;         elif test -n &quot;$runpath_var&quot;; then<br>
&gt;           case &quot;$finalize_perm_rpath &quot; in<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/binutils/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> b/meta/recipes-devtools/binutils/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/binutils/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/binutils/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; --<br>
&gt; 2.16.1<br>
&gt;<br>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Ross Burton Feb. 20, 2018, 4:17 p.m. UTC | #5
See poky-contrib:ross/binutils:

    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 sy
    a985e9b9de Import patch from mainline to remove PROVODE qualifiers
around definitions of __CTOR_LIST__ and __DTOR_L
    eec4607fc5 Add support for DWARF-4 line number tables.

Ross

On 20 February 2018 at 15:59, Khem Raj <raj.khem@gmail.com> wrote:

> V2 should have fixed it can you confirm you picked v2

>

> On Tue, Feb 20, 2018 at 2:38 AM Burton, Ross <ross.burton@intel.com>

> wrote:

>

>> Ah yes, aarch64.

>>

>> Lots of errors like this when building glibc 2.26:

>>

>> | /usr/src/debug/glibc/2.26-r0/git/elf/dl-lookup.c:287:(.text+0x82fc):

>> relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol

>> `free' defined in .text section in /home/pokybuild/yocto-

>> autobuilder/yocto-worker/nightly-arm64/build/build/tmp/

>> work/aarch64-poky-linux/glibc/2.26-r0/build-aarch64-poky-

>> linux/elf/librtld.os

>>

>> | /home/pokybuild/yocto-autobuilder/yocto-worker/

>> nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/

>> 2.26-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux.

>> gcc-cross-initial-aarch64/../../libexec/aarch64-poky-linux.

>> gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/7.3.0/ld: BFD (GNU

>> Binutils) 2.30.0.20180208 assertion fail ../../bfd/elfnn-aarch64.c:4386

>>

>> | /home/pokybuild/yocto-autobuilder/yocto-worker/

>> nightly-arm64/build/build/tmp/work/aarch64-poky-linux/glibc/

>> 2.26-r0/build-aarch64-poky-linux/elf/librtld.os:(.data.rel.ro+0x310):

>> dangerous relocation: unsupported relocation

>>

>> https://autobuilder.yocto.io/builders/nightly-arm64/builds/

>> 758/steps/BuildImages/logs/stdio

>>

>> Apart from that the AB was entirely green.

>>

>> Ross

>>

>> On 20 February 2018 at 01:06, Burton, Ross <ross.burton@intel.com> wrote:

>>

>>> Can't remember if this failed anywhere that wasn't related to the glibc

>>> upgrade, so I just fired this patch standalone on the autobuilder.

>>>

>>> Ross

>>>

>>> On 16 February 2018 at 03:03, Khem Raj <raj.khem@gmail.com> wrote:

>>>

>>>> ping

>>>>

>>>> On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj <raj.khem@gmail.com> wrote:

>>>> > 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>

>>>> > ---

>>>> > Changes since v1:

>>>> >

>>>> > - Backport fixes for aarch64 relocs

>>>> > - ppc plt fix, dwarf-4 line number support and linker script fix for

>>>> removing PROVODE

>>>> >

>>>> >  meta/conf/distro/include/tcmode-default.inc        |  2 +-

>>>> >  .../{binutils-2.29.1.inc => binutils-2.30.inc}     |  2 +-

>>>> >  ...n_2.29.1.bb => binutils-cross-canadian_2.30.bb} |  0

>>>> >  ...tils-cross_2.29.1.bb => binutils-cross_2.30.bb} |  0

>>>> >  ...rosssdk_2.29.1.bb => binutils-crosssdk_2.30.bb} |  0

>>>> >  ...nutils-crosssdk-Generate-relocatable-SDKs.patch | 14 ++---

>>>> >  ...oss-Do-not-generate-linker-script-directo.patch |  6 +-

>>>> >  ...ure-widen-the-regexp-for-SH-architectures.patch | 14 ++---

>>>> >  .../0004-Point-scripts-location-to-libdir.patch    |  8 +--

>>>> >  ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch | 10 ++--

>>>> >  .../binutils/binutils/0006-Use-libtool-2.4.patch   | 66

>>>> ++++++++------------

>>>> >  ...7-Add-the-armv5e-architecture-to-binutils.patch |  8 +--

>>>> >  ...he-distro-compiler-point-to-the-wrong-ins.patch |  6 +-

>>>> >  ...es-of-system-directories-when-cross-linki.patch | 24 ++++----

>>>> >  ...-rpath-in-libtool-when-sysroot-is-enabled.patch |  4 +-

>>>> >  ...Change-default-emulation-for-mips64-linux.patch | 14 ++---

>>>> >  .../0012-Add-support-for-Netlogic-XLP.patch        | 70

>>>> +++++++++++-----------

>>>> >  ...ncorrect-assembling-for-ppc-wait-mnemonic.patch | 10 ++--

>>>> >  .../binutils/0014-Detect-64-bit-MIPS-targets.patch |  6 +-

>>>> >  .../0015-sync-with-OE-libtool-changes.patch        |  4 +-

>>>> >  .../{binutils_2.29.1.bb => binutils_2.30.bb}       |  0

>>>> >  21 files changed, 127 insertions(+), 141 deletions(-)

>>>> >  rename meta/recipes-devtools/binutils/{binutils-2.29.1.inc =>

>>>> binutils-2.30.inc} (97%)

>>>> >  rename meta/recipes-devtools/binutils/{binutils-cross-

>>>> canadian_2.29.1.bb => binutils-cross-canadian_2.30.bb} (100%)

>>>> >  rename meta/recipes-devtools/binutils/{binutils-cross_2.29.1.bb =>

>>>> binutils-cross_2.30.bb} (100%)

>>>> >  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.29.1.bb

>>>> => binutils-crosssdk_2.30.bb} (100%)

>>>> >  rename meta/recipes-devtools/binutils/{binutils_2.29.1.bb =>

>>>> binutils_2.30.bb} (100%)

>>>> >

>>>> > diff --git a/meta/conf/distro/include/tcmode-default.inc

>>>> b/meta/conf/distro/include/tcmode-default.inc

>>>> > index da45642440..037d331605 100644

>>>> > --- a/meta/conf/distro/include/tcmode-default.inc

>>>> > +++ b/meta/conf/distro/include/tcmode-default.inc

>>>> > @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"

>>>> >

>>>> >  GCCVERSION ?= "7.%"

>>>> >  SDKGCCVERSION ?= "${GCCVERSION}"

>>>> > -BINUVERSION ?= "2.29%"

>>>> > +BINUVERSION ?= "2.30%"

>>>> >  GDBVERSION ?= "8.0%"

>>>> >  LINUXLIBCVERSION ?= "4.14%"

>>>> >  GLIBCVERSION ?= "2.27%"

>>>> > diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc

>>>> b/meta/recipes-devtools/binutils/binutils-2.30.inc

>>>> > similarity index 97%

>>>> > rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc

>>>> > rename to 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

>>>> <http://sourceware.org/git/binutils-gdb.git;branch=binutils-$%7BBINUPV%7D-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

>>>> > similarity index 100%

>>>> > rename from meta/recipes-devtools/binutils/binutils-cross-

>>>> canadian_2.29.1.bb

>>>> > rename to 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

>>>> > similarity index 100%

>>>> > rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb

>>>> > rename to 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

>>>> > similarity index 100%

>>>> > rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.

>>>> 29.1.bb

>>>> > rename to 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 sysroot is enabled

>>>> > @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644

>>>> >             if test -z "$hardcode_libdirs"; then

>>>> >               hardcode_libdirs="$libdir"

>>>> >  --

>>>> > -2.14.0

>>>> > +2.16.1

>>>> >

>>>> > diff --git a/meta/recipes-devtools/binutils/binutils/0011-Change-

>>>> default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/

>>>> binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch

>>>> > index ac87a2d1de..80fcbc1194 100644

>>>> > --- a/meta/recipes-devtools/binutils/binutils/0011-Change-

>>>> default-emulation-for-mips64-linux.patch

>>>> > +++ b/meta/recipes-devtools/binutils/binutils/0011-Change-

>>>> default-emulation-for-mips64-linux.patch

>>>> > @@ -1,4 +1,4 @@

>>>> > -From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00

>>>> 2001

>>>> > +From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00

>>>> 2001

>>>> >  From: Khem Raj <raj.khem@gmail.com>

>>>> >  Date: Mon, 2 Mar 2015 01:44:14 +0000

>>>> >  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux

>>>> > @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>>>> >   2 files changed, 8 insertions(+), 8 deletions(-)

>>>> >

>>>> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

>>>> > -index dc24aabad5..4511024f22 100644

>>>> > +index f04a993f06..8777f96bd2 100644

>>>> >  --- a/bfd/config.bfd

>>>> >  +++ b/bfd/config.bfd

>>>> > -@@ -1186,12 +1186,12 @@ case "${targ}" in

>>>> > +@@ -1189,12 +1189,12 @@ case "${targ}" in

>>>> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

>>>> mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"

>>>> >       ;;

>>>> >     mips64*el-*-linux*)

>>>> > @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644

>>>> >     mips*el-*-linux*)

>>>> >       targ_defvec=mips_elf32_trad_le_vec

>>>> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

>>>> > -index 47c719cd05..fe7b9238b2 100644

>>>> > +index 6183a85b3d..1d78465590 100644

>>>> >  --- a/ld/configure.tgt

>>>> >  +++ b/ld/configure.tgt

>>>> > -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)

>>>> targ_emul=elf32elmipvxworks

>>>> > +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)

>>>> targ_emul=elf32elmipvxworks

>>>> >   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks

>>>> > -                       targ_extra_emuls="elf32elmipvxworks" ;;

>>>> > +                       targ_extra_emuls="elf32elmipvxworks" ;;

>>>> >   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;

>>>> >  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32

>>>> >  -                      targ_extra_emuls="elf32btsmipn32 elf32ltsmip

>>>> elf32btsmip elf64ltsmip elf64btsmip"

>>>> > @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644

>>>> >   mips*el-*-linux-*)    targ_emul=elf32ltsmip

>>>> >                         targ_extra_emuls="elf32btsmip elf32ltsmipn32

>>>> elf64ltsmip elf32btsmipn32 elf64btsmip"

>>>> >  --

>>>> > -2.14.0

>>>> > +2.16.1

>>>> >

>>>> > diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch

>>>> b/meta/recipes-devtools/binutils/binutils/0012-Add-

>>>> support-for-Netlogic-XLP.patch

>>>> > index dc5e580739..1fefb680f8 100644

>>>> > --- a/meta/recipes-devtools/binutils/binutils/0012-Add-

>>>> support-for-Netlogic-XLP.patch

>>>> > +++ b/meta/recipes-devtools/binutils/binutils/0012-Add-

>>>> support-for-Netlogic-XLP.patch

>>>> > @@ -1,4 +1,4 @@

>>>> > -From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00

>>>> 2001

>>>> > +From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00

>>>> 2001

>>>> >  From: Khem Raj <raj.khem@gmail.com>

>>>> >  Date: Sun, 14 Feb 2016 17:06:19 +0000

>>>> >  Subject: [PATCH 12/15] Add support for Netlogic XLP

>>>> > @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com

>>>> >

>>>> >   14 files changed, 61 insertions(+), 21 deletions(-)

>>>> >

>>>> >  diff --git a/bfd/aoutx.h b/bfd/aoutx.h

>>>> > -index 3d38fda14b..0aec49bbb3 100644

>>>> > +index eec9c4ad2a..3bf0a71e63 100644

>>>> >  --- a/bfd/aoutx.h

>>>> >  +++ b/bfd/aoutx.h

>>>> >  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture

>>>> arch,

>>>> > @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644

>>>> >           arch_flags = M_MIPS2;

>>>> >           break;

>>>> >  diff --git a/bfd/archures.c b/bfd/archures.c

>>>> > -index 433b95fa08..063b7943a1 100644

>>>> > +index e83c57a2f3..3016ea1bae 100644

>>>> >  --- a/bfd/archures.c

>>>> >  +++ b/bfd/archures.c

>>>> >  @@ -201,6 +201,7 @@ DESCRIPTION

>>>> > - .#define bfd_mach_mips_octeon3          6503

>>>> > - .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'

>>>> *}

>>>> > - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal 'IA2'

>>>> *}

>>>> > -+.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'

>>>> *}

>>>> > - .#define bfd_mach_mipsisa32             32

>>>> > - .#define bfd_mach_mipsisa32r2           33

>>>> > - .#define bfd_mach_mipsisa32r3           34

>>>> > + .#define bfd_mach_mips_octeon3                6503

>>>> > + .#define bfd_mach_mips_xlr            887682   {* decimal 'XLR'.  *}

>>>> > + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal 'IA2'.  *}

>>>> > ++.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'.

>>>> *}

>>>> > + .#define bfd_mach_mipsisa32           32

>>>> > + .#define bfd_mach_mipsisa32r2         33

>>>> > + .#define bfd_mach_mipsisa32r3         34

>>>> >  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h

>>>> > -index d126aed086..2b753b3a93 100644

>>>> > +index 42991e7848..27abc5d5a8 100644

>>>> >  --- a/bfd/bfd-in2.h

>>>> >  +++ b/bfd/bfd-in2.h

>>>> > -@@ -2060,6 +2060,7 @@ enum bfd_architecture

>>>> > +@@ -2062,6 +2062,7 @@ enum bfd_architecture

>>>> >   #define bfd_mach_mips_octeon3          6503

>>>> > - #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */

>>>> > - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'  */

>>>> > -+#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'  */

>>>> > + #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'.

>>>> */

>>>> > + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'.

>>>> */

>>>> > ++#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'.

>>>> */

>>>> >   #define bfd_mach_mipsisa32             32

>>>> >   #define bfd_mach_mipsisa32r2           33

>>>> >   #define bfd_mach_mipsisa32r3           34

>>>> >  diff --git a/bfd/config.bfd b/bfd/config.bfd

>>>> > -index 4511024f22..f0f9072f10 100644

>>>> > +index 8777f96bd2..7b80bda8c9 100644

>>>> >  --- a/bfd/config.bfd

>>>> >  +++ b/bfd/config.bfd

>>>> > -@@ -1169,6 +1169,11 @@ case "${targ}" in

>>>> > +@@ -1172,6 +1172,11 @@ case "${targ}" in

>>>> >       targ_defvec=mips_elf32_le_vec

>>>> >       targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec

>>>> mips_elf64_le_vec"

>>>> >       ;;

>>>> > @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644

>>>> >       targ_defvec=mips_elf32_be_vec

>>>> >       targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec

>>>> mips_elf64_le_vec"

>>>> >  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c

>>>> > -index 2493094bef..8375d1ae96 100644

>>>> > +index cb50c64371..2b9d1d6ecf 100644

>>>> >  --- a/bfd/cpu-mips.c

>>>> >  +++ b/bfd/cpu-mips.c

>>>> >  @@ -105,7 +105,8 @@ enum

>>>> > @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644

>>>> >

>>>> >   #define NN(index) (&arch_info_struct[(index) + 1])

>>>> >  @@ -158,7 +159,8 @@ static const bfd_arch_info_type

>>>> arch_info_struct[] =

>>>> > -   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",       FALSE, NN(I_xlr)),

>>>> > +   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",     FALSE, NN(I_xlr)),

>>>> >     N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2",

>>>> FALSE,

>>>> >        NN(I_interaptiv_mr2)),

>>>> >  -  N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)

>>>> > @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644

>>>> >

>>>> >   /* The default architecture is mips:3000, but with a machine number

>>>> of

>>>> >  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c

>>>> > -index fddf68c816..354c85d00b 100644

>>>> > +index 285401367d..14ebb5f175 100644

>>>> >  --- a/bfd/elfxx-mips.c

>>>> >  +++ b/bfd/elfxx-mips.c

>>>> > -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)

>>>> > +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)

>>>> >       case E_MIPS_MACH_IAMR2:

>>>> >         return bfd_mach_mips_interaptiv_mr2;

>>>> >

>>>> > @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644

>>>> >       default:

>>>> >         switch (flags & EF_MIPS_ARCH)

>>>> >         {

>>>> > -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)

>>>> > +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)

>>>> >         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;

>>>> >         break;

>>>> >

>>>> > @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644

>>>> >       case bfd_mach_mipsisa32:

>>>> >         val = E_MIPS_ARCH_32;

>>>> >         break;

>>>> > -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension

>>>> mips_mach_extensions[] =

>>>> > +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension

>>>> mips_mach_extensions[] =

>>>> >     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },

>>>> >     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },

>>>> >     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },

>>>> > @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644

>>>> >     /* MIPS64 extensions.  */

>>>> >     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },

>>>> >  diff --git a/binutils/readelf.c b/binutils/readelf.c

>>>> > -index 2b15f0f2cb..092744708e 100644

>>>> > +index ae1cda9a7b..fed0387a94 100644

>>>> >  --- a/binutils/readelf.c

>>>> >  +++ b/binutils/readelf.c

>>>> > -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned

>>>> e_machine)

>>>> > +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata,

>>>> unsigned e_flags, unsigned e_machine)

>>>> >             case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3");

>>>> break;

>>>> >             case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;

>>>> >             case E_MIPS_MACH_IAMR2:  strcat (buf, ",

>>>> interaptiv-mr2"); break;

>>>> > @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644

>>>> >             /* We simply ignore the field in this case to avoid

>>>> confusion:

>>>> >                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU

>>>> >  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c

>>>> > -index 3804df2958..9576c986db 100644

>>>> > +index c135131b59..d8fbda8e31 100644

>>>> >  --- a/gas/config/tc-mips.c

>>>> >  +++ b/gas/config/tc-mips.c

>>>> >  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;

>>>> > @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644

>>>> >      )

>>>> >

>>>> >   /* Whether the processor uses hardware interlocks to protect reads

>>>> > -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info

>>>> mips_cpu_info_table[] =

>>>> > +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info

>>>> mips_cpu_info_table[] =

>>>> >     /* Broadcom XLP.

>>>> >        XLP is mostly like XLR, with the prominent exception that it is

>>>> >        MIPS64R2 rather than MIPS64.  */

>>>> > @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644

>>>> >     /* MIPS 64 Release 6 */

>>>> >     { "i6400",        0, ASE_MSA,               ISA_MIPS64R6,

>>>> CPU_MIPS64R6},

>>>> >  diff --git a/gas/configure b/gas/configure

>>>> > -index 81dd4cbd97..95bdf3b19b 100755

>>>> > +index a40ac2144f..65a6995243 100755

>>>> >  --- a/gas/configure

>>>> >  +++ b/gas/configure

>>>> >  @@ -12989,6 +12989,9 @@ _ACEOF

>>>> > @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755

>>>> >             mips_cpu=r3900

>>>> >             ;;

>>>> >  diff --git a/include/elf/mips.h b/include/elf/mips.h

>>>> > -index a4bea43ff8..73d904e25f 100644

>>>> > +index 9de0b4e175..74fc4f7e55 100644

>>>> >  --- a/include/elf/mips.h

>>>> >  +++ b/include/elf/mips.h

>>>> >  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)

>>>> > @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644

>>>> >   #define E_MIPS_MACH_OCTEON3   0x008e0000

>>>> >   #define E_MIPS_MACH_5400      0x00910000

>>>> >  diff --git a/include/opcode/mips.h b/include/opcode/mips.h

>>>> > -index ceae9ec50a..276ee3c6c1 100644

>>>> > +index 5eea72f139..90f6d57e15 100644

>>>> >  --- a/include/opcode/mips.h

>>>> >  +++ b/include/opcode/mips.h

>>>> >  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {

>>>> > @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644

>>>> >         return FALSE;

>>>> >       }

>>>> >  diff --git a/ld/configure.tgt b/ld/configure.tgt

>>>> > -index fe7b9238b2..2adf108b17 100644

>>>> > +index 1d78465590..307e787b64 100644

>>>> >  --- a/ld/configure.tgt

>>>> >  +++ b/ld/configure.tgt

>>>> > -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

>>>> mips*el-img-elf*)

>>>> > +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* |

>>>> mips*el-img-elf*)

>>>> >   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)

>>>> >                         targ_emul=elf32btsmip

>>>> >                         targ_extra_emuls="elf32ltsmip elf32btsmipn32

>>>> elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;

>>>> > @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644

>>>> >                         targ_extra_emuls="elf32lr5900"

>>>> >                         targ_extra_libpath=$targ_extra_emuls ;;

>>>> >  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c

>>>> > -index 45195007c1..4a80a05d19 100644

>>>> > +index 984fcbb802..95b107d216 100644

>>>> >  --- a/opcodes/mips-dis.c

>>>> >  +++ b/opcodes/mips-dis.c

>>>> >  @@ -655,13 +655,11 @@ const struct mips_arch_choice

>>>> mips_arch_choices[] =

>>>> > @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644

>>>> >     /* This entry, mips16, is here only for ISA/processor selection;

>>>> do

>>>> >        not print its name.  */

>>>> >  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c

>>>> > -index 19fca408c9..d02069c528 100644

>>>> > +index 180d613c93..65b7b8cc23 100644

>>>> >  --- a/opcodes/mips-opc.c

>>>> >  +++ b/opcodes/mips-opc.c

>>>> >  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)

>>>> > @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644

>>>> >   {"swc0",              "E,A(b)",       0,    (int) M_SWC0_AB,

>>>> INSN_MACRO,             0,              I1,             0,

>>>> IOCT|IOCTP|IOCT2|I37 },

>>>> >   {"swc1",              "T,o(b)",       0xe4000000, 0xfc000000,

>>>> RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },

>>>> >  --

>>>> > -2.14.0

>>>> > +2.16.1

>>>> >

>>>> > diff --git a/meta/recipes-devtools/binutils/binutils/0013-fix-

>>>> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>>> b/meta/recipes-devtools/binutils/binutils/0013-fix-

>>>> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>>> > index 247376b7ed..c3e1b13841 100644

>>>> > --- a/meta/recipes-devtools/binutils/binutils/0013-fix-

>>>> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>>> > +++ b/meta/recipes-devtools/binutils/binutils/0013-fix-

>>>> the-incorrect-assembling-for-ppc-wait-mnemonic.patch

>>>> > @@ -1,4 +1,4 @@

>>>> > -From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00

>>>> 2001

>>>> > +From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00

>>>> 2001

>>>> >  From: Zhenhua Luo <zhenhua.luo@nxp.com>

>>>> >  Date: Sat, 11 Jun 2016 22:08:29 -0500

>>>> >  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait

>>>> mnemonic

>>>> > @@ -11,10 +11,10 @@ Upstream-Status: Pending

>>>> >   1 file changed, 1 insertion(+), 2 deletions(-)

>>>> >

>>>> >  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c

>>>> > -index 426261ab21..0d35916cdd 100644

>>>> > +index bb17f26c2e..dbdd762b4e 100644

>>>> >  --- a/opcodes/ppc-opc.c

>>>> >  +++ b/opcodes/ppc-opc.c

>>>> > -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[]

>>>> = {

>>>> > +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[]

>>>> = {

>>>> >   {"ldepx",     X(31,29),       X_MASK,   E500MC|PPCA2, 0,

>>>>   {RT, RA0, RB}},

>>>> >

>>>> >   {"waitasec",  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,

>>>>    {0}},

>>>> > @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644

>>>> >

>>>> >   {"lwepx",     X(31,31),       X_MASK,   E500MC|PPCA2, 0,

>>>>   {RT, RA0, RB}},

>>>> >

>>>> > -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[]

>>>> = {

>>>> > +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[]

>>>> = {

>>>> >

>>>> >   {"waitrsv",   X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0,

>>>>   {0}},

>>>> >   {"waitimpl",  X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0,

>>>>   {0}},

>>>> > @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644

>>>> >   {"dcbstep",   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,

>>>>    {RA0, RB}},

>>>> >

>>>> >  --

>>>> > -2.14.0

>>>> > +2.16.1

>>>> >

>>>> > diff --git a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch

>>>> b/meta/recipes-devtools/binutils/binutils/0014-Detect-

>>>> 64-bit-MIPS-targets.patch

>>>> > index 42b1065f8d..cf3690f25d 100644

>>>> > --- a/meta/recipes-devtools/binutils/binutils/0014-Detect-

>>>> 64-bit-MIPS-targets.patch

>>>> > +++ b/meta/recipes-devtools/binutils/binutils/0014-Detect-

>>>> 64-bit-MIPS-targets.patch

>>>> > @@ -1,4 +1,4 @@

>>>> > -From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00

>>>> 2001

>>>> > +From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00

>>>> 2001

>>>> >  From: Khem Raj <raj.khem@gmail.com>

>>>> >  Date: Fri, 31 Mar 2017 11:42:03 -0700

>>>> >  Subject: [PATCH 14/15] Detect 64-bit MIPS targets

>>>> > @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>

>>>> >   1 file changed, 14 insertions(+)

>>>> >

>>>> >  diff --git a/gold/configure.tgt b/gold/configure.tgt

>>>> > -index 3d63027297..c1f92a1360 100644

>>>> > +index 8aef22a318..7030026ffa 100644

>>>> >  --- a/gold/configure.tgt

>>>> >  +++ b/gold/configure.tgt

>>>> >  @@ -153,6 +153,13 @@ aarch64*-*)

>>>> > @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644

>>>> >    targ_obj=mips

>>>> >    targ_machine=EM_MIPS

>>>> >  --

>>>> > -2.14.0

>>>> > +2.16.1

>>>> >

>>>> > diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch

>>>> b/meta/recipes-devtools/binutils/binutils/0015-sync-

>>>> with-OE-libtool-changes.patch

>>>> > index 2c8900cb66..8c9fd237e7 100644

>>>> > --- a/meta/recipes-devtools/binutils/binutils/0015-sync-

>>>> with-OE-libtool-changes.patch

>>>> > +++ b/meta/recipes-devtools/binutils/binutils/0015-sync-

>>>> with-OE-libtool-changes.patch

>>>> > @@ -1,4 +1,4 @@

>>>> > -From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00

>>>> 2001

>>>> > +From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00

>>>> 2001

>>>> >  From: Ross Burton <ross.burton@intel.com>

>>>> >  Date: Mon, 6 Mar 2017 23:33:27 -0800

>>>> >  Subject: [PATCH 15/15] sync with OE libtool changes

>>>> > @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644

>>>> >         elif test -n "$runpath_var"; then

>>>> >           case "$finalize_perm_rpath " in

>>>> >  --

>>>> > -2.14.0

>>>> > +2.16.1

>>>> >

>>>> > diff --git a/meta/recipes-devtools/binutils/binutils_2.29.1.bb

>>>> b/meta/recipes-devtools/binutils/binutils_2.30.bb

>>>> > similarity index 100%

>>>> > rename from meta/recipes-devtools/binutils/binutils_2.29.1.bb

>>>> > rename to meta/recipes-devtools/binutils/binutils_2.30.bb

>>>> > --

>>>> > 2.16.1

>>>> >

>>>> --

>>>> _______________________________________________

>>>> Openembedded-core mailing list

>>>> Openembedded-core@lists.openembedded.org

>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>>>>

>>>

>>>

>>
<div dir="ltr">See poky-contrib:ross/binutils:<div><br></div><div><div>    binutils: Upgrade to 2.30 release</div><div><br></div><div>    Additionally cherry-pick</div><div><br></div><div>    5ffeba4a09 Revert &quot;PowerPC PLT speculative execution barriers&quot;</div><div>    b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine sy</div><div>    a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_L</div><div>    eec4607fc5 Add support for DWARF-4 line number tables.</div></div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2018 at 15:59, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">V2 should have fixed it can you confirm you picked v2</div><div><div class="h5"><br><div class="gmail_quote"><div>On Tue, Feb 20, 2018 at 2:38 AM Burton, Ross &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Ah yes, aarch64.<div><br></div><div>Lots of errors like this when building glibc 2.26:</div><div><br>| /usr/src/debug/glibc/2.26-r0/<wbr>git/elf/dl-lookup.c:287:(.<wbr>text+0x82fc): relocation truncated to fit: R_AARCH64_LD64_GOT_LO12_NC against symbol `free&#39; defined in .text section in /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm64/build/build/tmp/<wbr>work/aarch64-poky-linux/glibc/<wbr>2.26-r0/build-aarch64-poky-<wbr>linux/elf/librtld.os<br><br>| /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm64/build/build/tmp/<wbr>work/aarch64-poky-linux/glibc/<wbr>2.26-r0/recipe-sysroot-native/<wbr>usr/bin/aarch64-poky-linux.<wbr>gcc-cross-initial-aarch64/../.<wbr>./libexec/aarch64-poky-linux.<wbr>gcc-cross-initial-aarch64/gcc/<wbr>aarch64-poky-linux/7.3.0/ld: BFD (GNU Binutils) 2.30.0.20180208 assertion fail ../../bfd/elfnn-aarch64.c:4386<br><br>| /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm64/build/build/tmp/<wbr>work/aarch64-poky-linux/glibc/<wbr>2.26-r0/build-aarch64-poky-<wbr>linux/elf/librtld.os:(.<a href="http://data.rel.ro" target="_blank">data.<wbr>rel.ro</a>+0x310): dangerous relocation: unsupported relocation</div><div><br></div><div><a href="https://autobuilder.yocto.io/builders/nightly-arm64/builds/758/steps/BuildImages/logs/stdio" target="_blank">https://autobuilder.yocto.io/<wbr>builders/nightly-arm64/builds/<wbr>758/steps/BuildImages/logs/<wbr>stdio</a><br></div><div><br></div><div>Apart from that the AB was entirely green.</div></div><div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2018 at 01:06, Burton, Ross <span>&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Can&#39;t remember if this failed anywhere that wasn&#39;t related to the glibc upgrade, so I just fired this patch standalone on the autobuilder.<span class="m_-3688128430518963821m_1815881552326279705HOEnZb"><font color="#888888"><div><br></div><div>Ross</div></font></span></div><div class="m_-3688128430518963821m_1815881552326279705HOEnZb"><div class="m_-3688128430518963821m_1815881552326279705h5"><div class="gmail_extra"><br><div class="gmail_quote">On 16 February 2018 at 03:03, Khem Raj <span>&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ping<br>
<div class="m_-3688128430518963821m_1815881552326279705m_7477627778303079584HOEnZb"><div class="m_-3688128430518963821m_1815881552326279705m_7477627778303079584h5"><br>
On Thu, Feb 8, 2018 at 9:35 AM, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt; Additionally cherry-pick<br>
&gt;<br>
&gt; 5ffeba4a09 Revert &quot;PowerPC PLT speculative execution barriers&quot;<br>
&gt; b01452b1d4 [PR22764][LD][AARCH64]Allow R_AARCH64_ABS16 and R_AARCH64_ABS32 against absolution symbol or undefine symbol in shared object.<br>
&gt; a985e9b9de Import patch from mainline to remove PROVODE qualifiers around definitions of __CTOR_LIST__ and __DTOR_LIST__ in PE linker scripts.<br>
&gt; eec4607fc5 Add support for DWARF-4 line number tables.<br>
&gt;<br>
&gt; Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt; ---<br>
&gt; Changes since v1:<br>
&gt;<br>
&gt; - Backport fixes for aarch64 relocs<br>
&gt; - ppc plt fix, dwarf-4 line number support and linker script fix for removing PROVODE<br>
&gt;<br>
&gt;  meta/conf/distro/include/<wbr>tcmode-default.inc        |  2 +-<br>
&gt;  .../{binutils-2.29.1.inc =&gt; binutils-2.30.inc}     |  2 +-<br>
&gt;  ...<a href="http://n_2.29.1.bb" rel="noreferrer" target="_blank">n_2.29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.<wbr>bb</a>} |  0<br>
&gt;  ...<a href="http://tils-cross_2.29.1.bb" rel="noreferrer" target="_blank">tils-cross_2.29.1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} |  0<br>
&gt;  ...<a href="http://rosssdk_2.29.1.bb" rel="noreferrer" target="_blank">rosssdk_2.29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} |  0<br>
&gt;  ...nutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch | 14 ++---<br>
&gt;  ...oss-Do-not-generate-linker-<wbr>script-directo.patch |  6 +-<br>
&gt;  ...ure-widen-the-regexp-for-<wbr>SH-architectures.patch | 14 ++---<br>
&gt;  .../0004-Point-scripts-<wbr>location-to-libdir.patch    |  8 +--<br>
&gt;  ...te-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch | 10 ++--<br>
&gt;  .../binutils/binutils/0006-<wbr>Use-libtool-2.4.patch   | 66 ++++++++------------<br>
&gt;  ...7-Add-the-armv5e-<wbr>architecture-to-binutils.patch |  8 +--<br>
&gt;  ...he-distro-compiler-point-<wbr>to-the-wrong-ins.patch |  6 +-<br>
&gt;  ...es-of-system-directories-<wbr>when-cross-linki.patch | 24 ++++----<br>
&gt;  ...-rpath-in-libtool-when-<wbr>sysroot-is-enabled.patch |  4 +-<br>
&gt;  ...Change-default-emulation-<wbr>for-mips64-linux.patch | 14 ++---<br>
&gt;  .../0012-Add-support-for-<wbr>Netlogic-XLP.patch        | 70 +++++++++++-----------<br>
&gt;  ...ncorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch | 10 ++--<br>
&gt;  .../binutils/0014-Detect-64-<wbr>bit-MIPS-targets.patch |  6 +-<br>
&gt;  .../0015-sync-with-OE-libtool-<wbr>changes.patch        |  4 +-<br>
&gt;  .../{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>}       |  0<br>
&gt;  21 files changed, 127 insertions(+), 141 deletions(-)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{binutils-2.29.1.inc =&gt; binutils-2.30.inc} (97%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.29.1.bb</a> =&gt; <a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-canadian_2.30.<wbr>bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.<wbr>1.bb</a> =&gt; <a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>29.1.bb</a> =&gt; <a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.30.bb</a>} (100%)<br>
&gt;  rename meta/recipes-devtools/<wbr>binutils/{<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> =&gt; <a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a>} (100%)<br>
&gt;<br>
&gt; diff --git a/meta/conf/distro/include/<wbr>tcmode-default.inc b/meta/conf/distro/include/<wbr>tcmode-default.inc<br>
&gt; index da45642440..037d331605 100644<br>
&gt; --- a/meta/conf/distro/include/<wbr>tcmode-default.inc<br>
&gt; +++ b/meta/conf/distro/include/<wbr>tcmode-default.inc<br>
&gt; @@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/<wbr>gettext ??= &quot;gettext&quot;<br>
&gt;<br>
&gt;  GCCVERSION ?= &quot;7.%&quot;<br>
&gt;  SDKGCCVERSION ?= &quot;${GCCVERSION}&quot;<br>
&gt; -BINUVERSION ?= &quot;2.29%&quot;<br>
&gt; +BINUVERSION ?= &quot;2.30%&quot;<br>
&gt;  GDBVERSION ?= &quot;8.0%&quot;<br>
&gt;  LINUXLIBCVERSION ?= &quot;4.14%&quot;<br>
&gt;  GLIBCVERSION ?= &quot;2.27%&quot;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils-2.29.1.inc b/meta/recipes-devtools/<wbr>binutils/binutils-2.30.inc<br>
&gt; similarity index 97%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/binutils-2.29.1.inc<br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/binutils-2.30.inc<br>
&gt; index 07a72e2b5a..9c883acc52 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils-2.29.1.inc<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils-2.30.inc<br>
&gt; @@ -18,7 +18,7 @@ BINUPV = &quot;${@binutils_branch_version(d)<wbr>}&quot;<br>
&gt;<br>
&gt;  UPSTREAM_CHECK_GITTAGREGEX = &quot;binutils-(?P&lt;pver&gt;\d+_(\d_?)*<wbr>)&quot;<br>
&gt;<br>
&gt; -SRCREV ?= &quot;<wbr>90276f15379d380761fc499da2ba24<wbr>cfb3c12a94&quot;<br>
&gt; +SRCREV ?= &quot;<wbr>caa839fba66600a6c36d3639906ed9<wbr>110b79c307&quot;<br>
&gt;  BINUTILS_GIT_URI ?= &quot;git://<a href="http://sourceware.org/git/binutils-gdb.git;branch=binutils-$%7BBINUPV%7D-branch;protocol=git" rel="noreferrer" target="_blank">sourceware.org/git/<wbr>binutils-gdb.git;branch=<wbr>binutils-${BINUPV}-branch;<wbr>protocol=git</a>&quot;<br>
&gt;  SRC_URI = &quot;\<br>
&gt;       ${BINUTILS_GIT_URI} \<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.29.1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross-canadian_2.30.bb" rel="noreferrer" target="_blank">binutils-cross-<wbr>canadian_2.30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.<wbr>1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.<wbr>bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.29.1.bb" rel="noreferrer" target="_blank">binutils-cross_2.29.<wbr>1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-cross_2.30.bb" rel="noreferrer" target="_blank">binutils-cross_2.30.<wbr>bb</a><br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>29.1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.29.1.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils-crosssdk_2.30.bb" rel="noreferrer" target="_blank">binutils-crosssdk_2.<wbr>30.bb</a><br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch<br>
&gt; index 0b515d83c7..2df836057d 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0001-<wbr>binutils-crosssdk-Generate-<wbr>relocatable-SDKs.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 58ac9f95a3d83c29efaf7a8906fb6a<wbr>efea8c8e79 Mon Sep 17 00:00:00 2001<br>
&gt; +From 2e1b5e24a6759de7f73aa6060a5748<wbr>48d9131b5a Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:58:54 +0000<br>
&gt;  Subject: [PATCH 01/15] binutils-crosssdk: Generate relocatable SDKs<br>
&gt; @@ -18,7 +18,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 5 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index b6940d376d..a42c4d7a4b 100755<br>
&gt; +index 8732422b3a..1f257e99ca 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u=&quot;${DATA_<wbr>ALIGNMENT_u-${DATA_ALIGNMENT_<wbr>r}}&quot;<br>
&gt; @@ -37,16 +37,16 @@ index b6940d376d..a42c4d7a4b 100755<br>
&gt;   ( echo &quot;/* Script for ld -Ur: link w/out relocation, do create constructors */&quot;<br>
&gt;     . ${CUSTOMIZER_SCRIPT}<br>
&gt;     . ${srcdir}/scripttempl/${<wbr>SCRIPT_NAME}.sc<br>
&gt; - ) | sed -e &#39;/^ *$/d;s/[       ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt; + ) | sed -e &#39;/^ *$/d;s/[        ]*$//&#39; &gt; ldscripts/${EMULATION_NAME}.xu<br>
&gt;  +unset PARTIAL_LINKING<br>
&gt;<br>
&gt; - LD_FLAG=<br>
&gt;   DATA_ALIGNMENT=${DATA_<wbr>ALIGNMENT_}<br>
&gt; + RELOCATING=&quot; &quot;<br>
&gt;  diff --git a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a> b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -index d9138bc059..e48faeca43 100644<br>
&gt; +index 9787ab5dac..0c8a93c2c8 100644<br>
&gt;  --- a/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt;  +++ b/ld/scripttempl/<a href="http://elf.sc" rel="noreferrer" target="_blank">elf.sc</a><br>
&gt; -@@ -138,8 +138,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt; +@@ -139,8 +139,8 @@ if test -z &quot;$DATA_SEGMENT_ALIGN&quot;; then<br>
&gt;       DATA_SEGMENT_RELRO_END=&quot;. = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);&quot;<br>
&gt;     fi<br>
&gt;   fi<br>
&gt; @@ -58,5 +58,5 @@ index d9138bc059..e48faeca43 100644<br>
&gt;   if test -z &quot;$PLT&quot;; then<br>
&gt;     IPLT=&quot;.iplt         ${RELOCATING-0} : { *(.iplt) }&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch<br>
&gt; index 370333d5d0..bac7fb2d1a 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0002-<wbr>binutils-cross-Do-not-<wbr>generate-linker-script-<wbr>directo.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8f929c616208351d0971d7dfd7574d<wbr>48d3144603 Mon Sep 17 00:00:00 2001<br>
&gt; +From 58ddf38fa53abb48b69dd76e398c73<wbr>451ad1a5eb Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:37:05 -0800<br>
&gt;  Subject: [PATCH 02/15] binutils-cross: Do not generate linker script<br>
&gt; @@ -23,7 +23,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 23 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/genscripts.sh b/ld/genscripts.sh<br>
&gt; -index a42c4d7a4b..d727b4d07e 100755<br>
&gt; +index 1f257e99ca..1583b73a2b 100755<br>
&gt;  --- a/ld/genscripts.sh<br>
&gt;  +++ b/ld/genscripts.sh<br>
&gt;  @@ -189,29 +189,6 @@ append_to_lib_path()<br>
&gt; @@ -57,5 +57,5 @@ index a42c4d7a4b..d727b4d07e 100755<br>
&gt;     libs=${NATIVE_LIB_DIRS}<br>
&gt;     if [ &quot;x${NATIVE}&quot; = &quot;xyes&quot; ] ; then<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch<br>
&gt; index b6c09ccf19..306afe7018 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0003-<wbr>configure-widen-the-regexp-<wbr>for-SH-architectures.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e5a806aae02a10290c71deb72f6294<wbr>c98068368d Mon Sep 17 00:00:00 2001<br>
&gt; +From 5089be88f670bcadf7db0e778894f9<wbr>00b2c05d7b Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:07:33 +0000<br>
&gt;  Subject: [PATCH 03/15] configure: widen the regexp for SH architectures<br>
&gt; @@ -14,12 +14,12 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 6 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/configure b/configure<br>
&gt; -index be9dd89d9b..d8af155ab5 100755<br>
&gt; +index 2d615a9996..c4ad45c06c 100755<br>
&gt;  --- a/configure<br>
&gt;  +++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; +@@ -3835,7 +3835,7 @@ case &quot;${target}&quot; in<br>
&gt; +   nvptx*-*-*)<br>
&gt; +     noconfigdirs=&quot;$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc&quot;<br>
&gt;       ;;<br>
&gt;  -  sh-*-*)<br>
&gt;  +  sh*-*-* | sh64-*-*)<br>
&gt; @@ -27,7 +27,7 @@ index be9dd89d9b..d8af155ab5 100755<br>
&gt;         sh*-*-elf)<br>
&gt;            ;;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index e71fe8b9e4..679e0dce77 100755<br>
&gt; +index 1e25102976..6b43bf2b18 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)<br>
&gt; @@ -43,5 +43,5 @@ index e71fe8b9e4..679e0dce77 100755<br>
&gt;     if echo __ELF__ | $CC -E - | $GREP __ELF__ &gt; /dev/null; then<br>
&gt;       lt_cv_deplibs_check_method=&#39;<wbr>match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+<wbr>|_pic\.a)$&#39;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch b/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch<br>
&gt; index 38eee30855..3e29c5815a 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0004-Point-<wbr>scripts-location-to-libdir.<wbr>patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 3634ec3547bc0f8a5d1b8ad15365e2<wbr>f836cda642 Mon Sep 17 00:00:00 2001<br>
&gt; +From a0e893ea094c48fa803046ffa89e31<wbr>907aee0597 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:09:58 +0000<br>
&gt;  Subject: [PATCH 04/15] Point scripts location to libdir<br>
&gt; @@ -12,7 +12,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 2 insertions(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/ld/Makefile.am b/ld/Makefile.am<br>
&gt; -index 625347ff62..d5334d2681 100644<br>
&gt; +index 6243c12528..3c5d6c8202 100644<br>
&gt;  --- a/ld/Makefile.am<br>
&gt;  +++ b/ld/Makefile.am<br>
&gt;  @@ -57,7 +57,7 @@ endif<br>
&gt; @@ -25,7 +25,7 @@ index 625347ff62..d5334d2681 100644<br>
&gt;   EMUL = @EMUL@<br>
&gt;   EMULATION_OFILES = @EMULATION_OFILES@<br>
&gt;  diff --git a/ld/Makefile.in b/ld/Makefile.in<br>
&gt; -index ba251777b0..a2cf2282b5 100644<br>
&gt; +index 760c037f9d..6dea692869 100644<br>
&gt;  --- a/ld/Makefile.in<br>
&gt;  +++ b/ld/Makefile.in<br>
&gt;  @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)<br>
&gt; @@ -38,5 +38,5 @@ index ba251777b0..a2cf2282b5 100644<br>
&gt;   BFDDIR = $(BASEDIR)/bfd<br>
&gt;   INCDIR = $(BASEDIR)/include<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch<br>
&gt; index 59150a2e4d..2f49969371 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0005-Only-<wbr>generate-an-RPATH-entry-if-LD_<wbr>RUN_PATH-is-not-e.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9d37c8f68c07da63186cb993f1221f<wbr>6c11eca422 Mon Sep 17 00:00:00 2001<br>
&gt; +From 518abb195d0eb47d8eef581d7fd0a5<wbr>fd9fa73f7d Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:27:17 +0000<br>
&gt;  Subject: [PATCH 05/15] Only generate an RPATH entry if LD_RUN_PATH is not<br>
&gt; @@ -15,10 +15,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 4 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em<br>
&gt; -index 9ac1840316..9dc4c149bc 100644<br>
&gt; +index c0925fc9b9..7d7670a89f 100644<br>
&gt;  --- a/ld/emultempl/elf32.em<br>
&gt;  +++ b/ld/emultempl/elf32.em<br>
&gt; -@@ -1463,6 +1463,8 @@ fragment &lt;&lt;EOF<br>
&gt; +@@ -1470,6 +1470,8 @@ fragment &lt;&lt;EOF<br>
&gt;               &amp;&amp; command_line.rpath == NULL)<br>
&gt;             {<br>
&gt;               path = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -27,7 +27,7 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;               if (path<br>
&gt;                   &amp;&amp; gld${EMULATION_NAME}_search_<wbr>needed (path, &amp;n, force))<br>
&gt;                 break;<br>
&gt; -@@ -1740,6 +1742,8 @@ gld${EMULATION_NAME}_before_<wbr>allocation (void)<br>
&gt; +@@ -1750,6 +1752,8 @@ gld${EMULATION_NAME}_before_<wbr>allocation (void)<br>
&gt;     rpath = command_line.rpath;<br>
&gt;     if (rpath == NULL)<br>
&gt;       rpath = (const char *) getenv (&quot;LD_RUN_PATH&quot;);<br>
&gt; @@ -37,5 +37,5 @@ index 9ac1840316..9dc4c149bc 100644<br>
&gt;     for (abfd = link_info.input_bfds; abfd; abfd = abfd-&gt;link.next)<br>
&gt;       if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch<br>
&gt; index e87efe653b..333e2ee176 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0006-Use-<wbr>libtool-2.4.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 71c734bb3754319029dcfc898cedba<wbr>de42274dcb Mon Sep 17 00:00:00 2001<br>
&gt; +From fad053cc59baa6277182b0fc90415a<wbr>214060ba99 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:04:07 +0000<br>
&gt;  Subject: [PATCH 06/15] Use libtool 2.4<br>
&gt; @@ -12,7 +12,6 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   bfd/configure        | 1318 +++++++++++++++++------<br>
&gt;   bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>     |    2 +-<br>
&gt;   binutils/configure   | 1316 +++++++++++++++++------<br>
&gt; - configure            |    2 +-<br>
&gt;   gas/configure        | 1314 +++++++++++++++++------<br>
&gt;   gprof/configure      | 1321 +++++++++++++++++------<br>
&gt;   ld/configure         | 1691 +++++++++++++++++++++--------<br>
&gt; @@ -24,10 +23,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   opcodes/configure    | 1318 +++++++++++++++++------<br>
&gt;   opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> |    2 +-<br>
&gt;   zlib/configure       | 1316 +++++++++++++++++------<br>
&gt; - 15 files changed, 9927 insertions(+), 3694 deletions(-)<br>
&gt; + 14 files changed, 9926 insertions(+), 3693 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/configure b/bfd/configure<br>
&gt; -index 48276594ed..3ece8943f3 100755<br>
&gt; +index 6c2b24ebe3..5fdd723b7f 100755<br>
&gt;  --- a/bfd/configure<br>
&gt;  +++ b/bfd/configure<br>
&gt;  @@ -672,6 +672,9 @@ OTOOL<br>
&gt; @@ -1931,7 +1930,7 @@ index 48276594ed..3ece8943f3 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 8fd03a7ea8..8816c3286c 100644<br>
&gt; +index 2342f3faea..a6451fccda 100644<br>
&gt;  --- a/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/bfd/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -254,7 +254,7 @@ changequote(,)dnl<br>
&gt; @@ -1944,7 +1943,7 @@ index 8fd03a7ea8..8816c3286c 100644<br>
&gt;<br>
&gt;   # More hacks to build DLLs on Windows.<br>
&gt;  diff --git a/binutils/configure b/binutils/configure<br>
&gt; -index 22e1b1736e..321b63535b 100755<br>
&gt; +index 5d9c9105a7..a65b2b4518 100755<br>
&gt;  --- a/binutils/configure<br>
&gt;  +++ b/binutils/configure<br>
&gt;  @@ -659,8 +659,11 @@ OTOOL<br>
&gt; @@ -3841,21 +3840,8 @@ index 22e1b1736e..321b63535b 100755<br>
&gt;       (rm -f &quot;$ofile&quot; &amp;&amp; cp &quot;$cfgfile&quot; &quot;$ofile&quot; &amp;&amp; rm -f &quot;$cfgfile&quot;)<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt; -diff --git a/configure b/configure<br>
&gt; -index d8af155ab5..005ed827ab 100755<br>
&gt; ---- a/configure<br>
&gt; -+++ b/configure<br>
&gt; -@@ -3844,7 +3844,7 @@ case &quot;${target}&quot; in<br>
&gt; -   or1k*-*-*)<br>
&gt; -     noconfigdirs=&quot;$noconfigdirs gdb&quot;<br>
&gt; -     ;;<br>
&gt; --  sh*-*-* | sh64-*-*)<br>
&gt; -+  sh-*-* | sh64-*-*)<br>
&gt; -     case &quot;${target}&quot; in<br>
&gt; -       sh*-*-elf)<br>
&gt; -          ;;<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 93afb20c8f..81dd4cbd97 100755<br>
&gt; +index fbac8f44d5..a40ac2144f 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -650,8 +650,11 @@ OTOOL<br>
&gt; @@ -5156,7 +5142,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   int main ()<br>
&gt;   {<br>
&gt;     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);<br>
&gt; -@@ -15436,13 +16089,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; +@@ -15437,13 +16090,20 @@ exeext=&#39;`$ECHO &quot;$exeext&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_unset=&#39;`$ECHO &quot;$lt_unset&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_SP2NL=&#39;`$ECHO &quot;$lt_SP2NL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_NL2SP=&#39;`$ECHO &quot;$lt_NL2SP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5177,7 +5163,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP=&#39;`$ECHO &quot;$STRIP&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   RANLIB=&#39;`$ECHO &quot;$RANLIB&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   old_postinstall_cmds=&#39;`$ECHO &quot;$old_postinstall_cmds&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15457,14 +16117,17 @@ lt_cv_sys_global_symbol_pipe=&#39;<wbr>`$ECHO &quot;$lt_cv_sys_global_symbol_<wbr>pipe&quot; | $SED &quot;$de<br>
&gt; +@@ -15458,14 +16118,17 @@ lt_cv_sys_global_symbol_pipe=&#39;<wbr>`$ECHO &quot;$lt_cv_sys_global_symbol_<wbr>pipe&quot; | $SED &quot;$de<br>
&gt;   lt_cv_sys_global_symbol_to_<wbr>cdecl=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_<wbr>cdecl&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address=&#39;`$ECHO &quot;$lt_cv_sys_global_symbol_to_<wbr>c_name_address&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address_lib_prefix=&#39;`$<wbr>ECHO &quot;$lt_cv_sys_global_symbol_to_<wbr>c_name_address_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5196,7 +5182,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL=&#39;`$ECHO &quot;$DSYMUTIL&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   NMEDIT=&#39;`$ECHO &quot;$NMEDIT&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   LIPO=&#39;`$ECHO &quot;$LIPO&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15497,12 +16160,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt; +@@ -15498,12 +16161,12 @@ hardcode_shlibpath_var=&#39;`$ECHO &quot;$hardcode_shlibpath_var&quot; | $SED &quot;$delay_single_q<br>
&gt;   hardcode_automatic=&#39;`$ECHO &quot;$hardcode_automatic&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   inherit_rpath=&#39;`$ECHO &quot;$inherit_rpath&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   link_all_deplibs=&#39;`$ECHO &quot;$link_all_deplibs&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; @@ -5210,7 +5196,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   file_list_spec=&#39;`$ECHO &quot;$file_list_spec&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   variables_saved_for_relink=&#39;`<wbr>$ECHO &quot;$variables_saved_for_relink&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt;   need_lib_prefix=&#39;`$ECHO &quot;$need_lib_prefix&quot; | $SED &quot;$delay_single_quote_subst&quot;`&#39;<br>
&gt; -@@ -15557,8 +16220,13 @@ reload_flag \<br>
&gt; +@@ -15558,8 +16221,13 @@ reload_flag \<br>
&gt;   OBJDUMP \<br>
&gt;   deplibs_check_method \<br>
&gt;   file_magic_cmd \<br>
&gt; @@ -5224,7 +5210,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   STRIP \<br>
&gt;   RANLIB \<br>
&gt;   CC \<br>
&gt; -@@ -15568,12 +16236,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt; +@@ -15569,12 +16237,14 @@ lt_cv_sys_global_symbol_pipe \<br>
&gt;   lt_cv_sys_global_symbol_to_<wbr>cdecl \<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address \<br>
&gt;   lt_cv_sys_global_symbol_to_c_<wbr>name_address_lib_prefix \<br>
&gt; @@ -5240,7 +5226,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   DSYMUTIL \<br>
&gt;   NMEDIT \<br>
&gt;   LIPO \<br>
&gt; -@@ -15589,7 +16259,6 @@ no_undefined_flag \<br>
&gt; +@@ -15590,7 +16260,6 @@ no_undefined_flag \<br>
&gt;   hardcode_libdir_flag_spec \<br>
&gt;   hardcode_libdir_flag_spec_ld \<br>
&gt;   hardcode_libdir_separator \<br>
&gt; @@ -5248,7 +5234,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   exclude_expsyms \<br>
&gt;   include_expsyms \<br>
&gt;   file_list_spec \<br>
&gt; -@@ -15625,6 +16294,7 @@ module_cmds \<br>
&gt; +@@ -15626,6 +16295,7 @@ module_cmds \<br>
&gt;   module_expsym_cmds \<br>
&gt;   export_symbols_cmds \<br>
&gt;   prelink_cmds \<br>
&gt; @@ -5256,7 +5242,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   postinstall_cmds \<br>
&gt;   postuninstall_cmds \<br>
&gt;   finish_cmds \<br>
&gt; -@@ -16389,7 +17059,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt; +@@ -16390,7 +17060,8 @@ $as_echo X&quot;$file&quot; |<br>
&gt;   # NOTE: Changes made to this file will be lost: look at ltmain.sh.<br>
&gt;   #<br>
&gt;   #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,<br>
&gt; @@ -5266,7 +5252,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   #   Written by Gordon Matzigkeit, 1996<br>
&gt;   #<br>
&gt;   #   This file is part of GNU Libtool.<br>
&gt; -@@ -16492,19 +17163,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt; +@@ -16493,19 +17164,42 @@ SP2NL=$lt_lt_SP2NL<br>
&gt;   # turn newlines into spaces.<br>
&gt;   NL2SP=$lt_lt_NL2SP<br>
&gt;<br>
&gt; @@ -5310,7 +5296,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # A symbol stripping program.<br>
&gt;   STRIP=$lt_STRIP<br>
&gt;<br>
&gt; -@@ -16534,6 +17228,12 @@ global_symbol_to_c_name_<wbr>address=$lt_lt_cv_sys_global_<wbr>symbol_to_c_name_address<br>
&gt; +@@ -16535,6 +17229,12 @@ global_symbol_to_c_name_<wbr>address=$lt_lt_cv_sys_global_<wbr>symbol_to_c_name_address<br>
&gt;   # Transform the output of nm in a C name address pair when lib prefix is needed.<br>
&gt;   global_symbol_to_c_name_<wbr>address_lib_prefix=$lt_lt_cv_<wbr>sys_global_symbol_to_c_name_<wbr>address_lib_prefix<br>
&gt;<br>
&gt; @@ -5323,7 +5309,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # The name of the directory that contains temporary libtool files.<br>
&gt;   objdir=$objdir<br>
&gt;<br>
&gt; -@@ -16543,6 +17243,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt; +@@ -16544,6 +17244,9 @@ MAGIC_CMD=$MAGIC_CMD<br>
&gt;   # Must we lock files when doing compilation?<br>
&gt;   need_locks=$lt_need_locks<br>
&gt;<br>
&gt; @@ -5333,7 +5319,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Tool to manipulate archived DWARF debug symbol files on Mac OS X.<br>
&gt;   DSYMUTIL=$lt_DSYMUTIL<br>
&gt;<br>
&gt; -@@ -16657,12 +17360,12 @@ with_gcc=$GCC<br>
&gt; +@@ -16658,12 +17361,12 @@ with_gcc=$GCC<br>
&gt;   # Compiler flag to turn off builtin functions.<br>
&gt;   no_builtin_flag=$lt_lt_prog_<wbr>compiler_no_builtin_flag<br>
&gt;<br>
&gt; @@ -5349,7 +5335,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Compiler flag to prevent dynamic linking.<br>
&gt;   link_static_flag=$lt_lt_prog_<wbr>compiler_static<br>
&gt;<br>
&gt; -@@ -16749,9 +17452,6 @@ inherit_rpath=$inherit_rpath<br>
&gt; +@@ -16750,9 +17453,6 @@ inherit_rpath=$inherit_rpath<br>
&gt;   # Whether libtool must link a program against all its dependency libraries.<br>
&gt;   link_all_deplibs=$link_all_<wbr>deplibs<br>
&gt;<br>
&gt; @@ -5359,7 +5345,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Set to &quot;yes&quot; if exported symbols are required.<br>
&gt;   always_export_symbols=$<wbr>always_export_symbols<br>
&gt;<br>
&gt; -@@ -16767,6 +17467,9 @@ include_expsyms=$lt_include_<wbr>expsyms<br>
&gt; +@@ -16768,6 +17468,9 @@ include_expsyms=$lt_include_<wbr>expsyms<br>
&gt;   # Commands necessary for linking programs (against libraries) with templates.<br>
&gt;   prelink_cmds=$lt_prelink_cmds<br>
&gt;<br>
&gt; @@ -5369,7 +5355,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;   # Specify filename containing input files.<br>
&gt;   file_list_spec=$lt_file_list_<wbr>spec<br>
&gt;<br>
&gt; -@@ -16799,210 +17502,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt; +@@ -16800,210 +17503,169 @@ ltmain=&quot;$ac_aux_dir/ltmain.sh&quot;<br>
&gt;     # if finds mixed CR/LF and LF-only lines.  Since sed operates in<br>
&gt;     # text mode, it properly converts lines to CR/LF.  This bash problem<br>
&gt;     # is reportedly fixed, but why not run on old versions too?<br>
&gt; @@ -5744,7 +5730,7 @@ index 93afb20c8f..81dd4cbd97 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/gprof/configure b/gprof/configure<br>
&gt; -index 679e0dce77..ac4c016a63 100755<br>
&gt; +index 6b43bf2b18..245ee48bc3 100755<br>
&gt;  --- a/gprof/configure<br>
&gt;  +++ b/gprof/configure<br>
&gt;  @@ -631,8 +631,11 @@ OTOOL<br>
&gt; @@ -7654,7 +7640,7 @@ index 679e0dce77..ac4c016a63 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index d7f66f8cdc..4e71511bd1 100755<br>
&gt; +index 0cc6e8a50f..db8b998722 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -655,8 +655,11 @@ OTOOL<br>
&gt; @@ -17336,7 +17322,7 @@ index bf92b5e079..c573da90c5 100644<br>
&gt;   # These exist entirely to fool aclocal when bootstrapping libtool.<br>
&gt;   #<br>
&gt;  diff --git a/opcodes/configure b/opcodes/configure<br>
&gt; -index 17530f54b9..79b39611c2 100755<br>
&gt; +index 4f29887098..2127d39288 100755<br>
&gt;  --- a/opcodes/configure<br>
&gt;  +++ b/opcodes/configure<br>
&gt;  @@ -650,6 +650,9 @@ OTOOL<br>
&gt; @@ -19240,7 +19226,7 @@ index 17530f54b9..79b39611c2 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  diff --git a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index a9fbfd61f1..c43780f64d 100644<br>
&gt; +index b07f3f3629..5a32d9b1fc 100644<br>
&gt;  --- a/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/opcodes/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -167,7 +167,7 @@ changequote(,)dnl<br>
&gt; @@ -21153,5 +21139,5 @@ index dc2d9ed383..ed9a492f5c 100755<br>
&gt;     chmod +x &quot;$ofile&quot;<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch<br>
&gt; index 88019606f7..4a5127380f 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0007-Add-<wbr>the-armv5e-architecture-to-<wbr>binutils.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 2b87aad1741bc481dd0982f100ad5e<wbr>a7f937bb61 Mon Sep 17 00:00:00 2001<br>
&gt; +From 697903256e09533778baa8af66402c<wbr>44d70219d9 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:37:10 +0000<br>
&gt;  Subject: [PATCH 07/15] Add the armv5e architecture to binutils<br>
&gt; @@ -19,10 +19,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 1 insertion(+)<br>
&gt;<br>
&gt;  diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c<br>
&gt; -index a885efe4fc..735eaa7447 100644<br>
&gt; +index ec50420518..a25d1721af 100644<br>
&gt;  --- a/gas/config/tc-arm.c<br>
&gt;  +++ b/gas/config/tc-arm.c<br>
&gt; -@@ -25990,6 +25990,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt; +@@ -26195,6 +26195,7 @@ static const struct arm_arch_option_table arm_archs[] =<br>
&gt;     ARM_ARCH_OPT (&quot;armv4t&quot;,     ARM_ARCH_V4T,    FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv4txm&quot;,   ARM_ARCH_V4TxM,  FPU_ARCH_FPA),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5&quot;,      ARM_ARCH_V5,     FPU_ARCH_VFP),<br>
&gt; @@ -31,5 +31,5 @@ index a885efe4fc..735eaa7447 100644<br>
&gt;     ARM_ARCH_OPT (&quot;armv5txm&quot;,   ARM_ARCH_V5TxM,  FPU_ARCH_VFP),<br>
&gt;     ARM_ARCH_OPT (&quot;armv5te&quot;,    ARM_ARCH_V5TE,   FPU_ARCH_VFP),<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch<br>
&gt; index 30a22b504f..939be67b58 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0008-don-t-<wbr>let-the-distro-compiler-point-<wbr>to-the-wrong-ins.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 331443a87a31ec504e5652fc099d91<wbr>29a9a4deb8 Mon Sep 17 00:00:00 2001<br>
&gt; +From 622d66634eb2e509d4126f5bdcab26<wbr>de367241a1 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:39:01 +0000<br>
&gt;  Subject: [PATCH 08/15] don&#39;t let the distro compiler point to the wrong<br>
&gt; @@ -17,7 +17,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 2 insertions(+), 1 deletion(-)<br>
&gt;<br>
&gt;  diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in<br>
&gt; -index 25cfa29ad5..ce67a710e3 100644<br>
&gt; +index ed1b334c36..d4ffd8b57b 100644<br>
&gt;  --- a/libiberty/Makefile.in<br>
&gt;  +++ b/libiberty/Makefile.in<br>
&gt;  @@ -364,7 +364,8 @@ install-strip: install<br>
&gt; @@ -31,5 +31,5 @@ index 25cfa29ad5..ce67a710e3 100644<br>
&gt;         if test -n &quot;${target_header_dir}&quot;; then \<br>
&gt;                 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(<wbr>MULTIOSDIR); \<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch b/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch<br>
&gt; index e0e257880d..e75104722b 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0009-warn-<wbr>for-uses-of-system-<wbr>directories-when-cross-linki.<wbr>patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 0a4afdcf0700efd45963568e2d0049<wbr>127cdf4434 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27e38ee92c24fca86b1c3f6ef156a1<wbr>892dd06bfd Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 15 Jan 2016 06:31:09 +0000<br>
&gt;  Subject: [PATCH 09/15] warn for uses of system directories when cross linking<br>
&gt; @@ -77,7 +77,7 @@ index a846743da6..df3cd5fb60 100644<br>
&gt;   #undef EXTRA_SHLIB_EXTENSION<br>
&gt;<br>
&gt;  diff --git a/ld/configure b/ld/configure<br>
&gt; -index 4e71511bd1..71c6ad1fd1 100755<br>
&gt; +index db8b998722..489ead5c13 100755<br>
&gt;  --- a/ld/configure<br>
&gt;  +++ b/ld/configure<br>
&gt;  @@ -789,6 +789,7 @@ with_lib_path<br>
&gt; @@ -118,7 +118,7 @@ index 4e71511bd1..71c6ad1fd1 100755<br>
&gt;   if test &quot;${enable_gold+set}&quot; = set; then :<br>
&gt;     enableval=$enable_gold; case &quot;${enableval}&quot; in<br>
&gt;  diff --git a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt; -index 00080f85fd..3aa98e37fb 100644<br>
&gt; +index bada1b50b0..d074a3820b 100644<br>
&gt;  --- a/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  +++ b/ld/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
&gt;  @@ -95,6 +95,16 @@ AC_SUBST(use_sysroot)<br>
&gt; @@ -139,10 +139,10 @@ index 00080f85fd..3aa98e37fb 100644<br>
&gt;   dnl &quot;install_as_default&quot; is set to false if gold is the default linker.<br>
&gt;   dnl &quot;installed_linker&quot; is the installed BFD linker name.<br>
&gt;  diff --git a/ld/ld.h b/ld/ld.h<br>
&gt; -index c6fa1247f0..01c373498f 100644<br>
&gt; +index ba914b921e..9df17dab6c 100644<br>
&gt;  --- a/ld/ld.h<br>
&gt;  +++ b/ld/ld.h<br>
&gt; -@@ -174,6 +174,14 @@ typedef struct<br>
&gt; +@@ -180,6 +180,14 @@ typedef struct<br>
&gt;        in the linker script.  */<br>
&gt;     bfd_boolean force_group_allocation;<br>
&gt;<br>
&gt; @@ -158,10 +158,10 @@ index c6fa1247f0..01c373498f 100644<br>
&gt;     enum endian_enum endian;<br>
&gt;<br>
&gt;  diff --git a/ld/ld.texinfo b/ld/ld.texinfo<br>
&gt; -index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt; +index c89915f1aa..df430837e2 100644<br>
&gt;  --- a/ld/ld.texinfo<br>
&gt;  +++ b/ld/ld.texinfo<br>
&gt; -@@ -2480,6 +2480,18 @@ string identifying the original linked file does not change.<br>
&gt; +@@ -2498,6 +2498,18 @@ string identifying the original linked file does not change.<br>
&gt;<br>
&gt;   Passing @code{none} for @var{style} disables the setting from any<br>
&gt;   @code{--build-id} options earlier on the command line.<br>
&gt; @@ -181,7 +181,7 @@ index ebe7e7b7bd..33aa2c62fa 100644<br>
&gt;<br>
&gt;   @c man end<br>
&gt;  diff --git a/ld/ldfile.c b/ld/ldfile.c<br>
&gt; -index 3b37a0a3e2..5c85b01849 100644<br>
&gt; +index 6532a57d96..f943f0b2e5 100644<br>
&gt;  --- a/ld/ldfile.c<br>
&gt;  +++ b/ld/ldfile.c<br>
&gt;  @@ -116,6 +116,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline)<br>
&gt; @@ -209,7 +209,7 @@ index 3b37a0a3e2..5c85b01849 100644<br>
&gt;<br>
&gt;   /* Try to open a BFD for a lang_input_statement.  */<br>
&gt;  diff --git a/ld/ldlex.h b/ld/ldlex.h<br>
&gt; -index 5aa7f6bc3e..cb655e0399 100644<br>
&gt; +index 140ed1d9da..9965cbc04f 100644<br>
&gt;  --- a/ld/ldlex.h<br>
&gt;  +++ b/ld/ldlex.h<br>
&gt;  @@ -147,6 +147,8 @@ enum option_values<br>
&gt; @@ -222,7 +222,7 @@ index 5aa7f6bc3e..cb655e0399 100644<br>
&gt;<br>
&gt;   /* The initial parser states.  */<br>
&gt;  diff --git a/ld/ldmain.c b/ld/ldmain.c<br>
&gt; -index 2b09f20413..89e2a3a805 100644<br>
&gt; +index c473ed24c3..adae0b4610 100644<br>
&gt;  --- a/ld/ldmain.c<br>
&gt;  +++ b/ld/ldmain.c<br>
&gt;  @@ -261,6 +261,8 @@ main (int argc, char **argv)<br>
&gt; @@ -235,7 +235,7 @@ index 2b09f20413..89e2a3a805 100644<br>
&gt;     /* We initialize DEMANGLING based on the environment variable<br>
&gt;        COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the<br>
&gt;  diff --git a/ld/lexsup.c b/ld/lexsup.c<br>
&gt; -index effa277b16..e4929607e9 100644<br>
&gt; +index f2191602d4..bccb3bdeef 100644<br>
&gt;  --- a/ld/lexsup.c<br>
&gt;  +++ b/ld/lexsup.c<br>
&gt;  @@ -538,6 +538,14 @@ static const struct ld_option ld_options[] =<br>
&gt; @@ -269,5 +269,5 @@ index effa277b16..e4929607e9 100644<br>
&gt;       }<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch<br>
&gt; index 496242efa4..33dfff9bd7 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0010-Fix-<wbr>rpath-in-libtool-when-sysroot-<wbr>is-enabled.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 88fac08f1c472c612f381cbb940875<wbr>6f2f58b4ff Mon Sep 17 00:00:00 2001<br>
&gt; +From e205ae05c41a8cc8d47708f0a3b6f7<wbr>40e2bf2526 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:42:38 +0000<br>
&gt;  Subject: [PATCH 10/15] Fix rpath in libtool when sysroot is enabled<br>
&gt; @@ -48,5 +48,5 @@ index 70e856e065..11ee684ccc 100644<br>
&gt;             if test -z &quot;$hardcode_libdirs&quot;; then<br>
&gt;               hardcode_libdirs=&quot;$libdir&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch<br>
&gt; index ac87a2d1de..80fcbc1194 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0011-Change-<wbr>default-emulation-for-mips64-<wbr>linux.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 497660bdbeb6788786553a5d733105<wbr>f7f898dc62 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7978c1299021033c35c29c94e09972<wbr>35f7ede248 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Mon, 2 Mar 2015 01:44:14 +0000<br>
&gt;  Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux<br>
&gt; @@ -14,10 +14,10 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   2 files changed, 8 insertions(+), 8 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index dc24aabad5..4511024f22 100644<br>
&gt; +index f04a993f06..8777f96bd2 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1186,12 +1186,12 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1189,12 +1189,12 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_<wbr>vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec&quot;<br>
&gt;       ;;<br>
&gt;     mips64*el-*-linux*)<br>
&gt; @@ -35,12 +35,12 @@ index dc24aabad5..4511024f22 100644<br>
&gt;     mips*el-*-linux*)<br>
&gt;       targ_defvec=mips_elf32_trad_<wbr>le_vec<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index 47c719cd05..fe7b9238b2 100644<br>
&gt; +index 6183a85b3d..1d78465590 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -530,11 +530,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt; +@@ -535,11 +535,11 @@ mips*el-*-vxworks*)      targ_emul=elf32elmipvxworks<br>
&gt;   mips*-*-vxworks*)     targ_emul=elf32ebmipvxworks<br>
&gt; -                       targ_extra_emuls=&quot;<wbr>elf32elmipvxworks&quot; ;;<br>
&gt; +                       targ_extra_emuls=&quot;<wbr>elf32elmipvxworks&quot; ;;<br>
&gt;   mips*-*-windiss)      targ_emul=elf32mipswindiss ;;<br>
&gt;  -mips64*el-*-linux-*)  targ_emul=elf32ltsmipn32<br>
&gt;  -                      targ_extra_emuls=&quot;<wbr>elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip&quot;<br>
&gt; @@ -55,5 +55,5 @@ index 47c719cd05..fe7b9238b2 100644<br>
&gt;   mips*el-*-linux-*)    targ_emul=elf32ltsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip&quot;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch<br>
&gt; index dc5e580739..1fefb680f8 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0012-Add-<wbr>support-for-Netlogic-XLP.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 8c60a55d3678589d93739bd27fec21<wbr>6911d80968 Mon Sep 17 00:00:00 2001<br>
&gt; +From 3b40bf584615f794b85fd50d4d0a5c<wbr>0a1d2ee7bf Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Sun, 14 Feb 2016 17:06:19 +0000<br>
&gt;  Subject: [PATCH 12/15] Add support for Netlogic XLP<br>
&gt; @@ -34,7 +34,7 @@ Signed-off-by: Mark Hatle &lt;<a href="mailto:mark.hatle@windriver.com" target="_blank">mark.hatle@windriver.com</a>&gt;<br>
&gt;   14 files changed, 61 insertions(+), 21 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/bfd/aoutx.h b/bfd/aoutx.h<br>
&gt; -index 3d38fda14b..0aec49bbb3 100644<br>
&gt; +index eec9c4ad2a..3bf0a71e63 100644<br>
&gt;  --- a/bfd/aoutx.h<br>
&gt;  +++ b/bfd/aoutx.h<br>
&gt;  @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,<br>
&gt; @@ -46,34 +46,34 @@ index 3d38fda14b..0aec49bbb3 100644<br>
&gt;           arch_flags = M_MIPS2;<br>
&gt;           break;<br>
&gt;  diff --git a/bfd/archures.c b/bfd/archures.c<br>
&gt; -index 433b95fa08..063b7943a1 100644<br>
&gt; +index e83c57a2f3..3016ea1bae 100644<br>
&gt;  --- a/bfd/archures.c<br>
&gt;  +++ b/bfd/archures.c<br>
&gt;  @@ -201,6 +201,7 @@ DESCRIPTION<br>
&gt; - .#define bfd_mach_mips_octeon3          6503<br>
&gt; - .#define bfd_mach_mips_xlr              887682   {* decimal &#39;XLR&#39;  *}<br>
&gt; - .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal &#39;IA2&#39;  *}<br>
&gt; -+.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;  *}<br>
&gt; - .#define bfd_mach_mipsisa32             32<br>
&gt; - .#define bfd_mach_mipsisa32r2           33<br>
&gt; - .#define bfd_mach_mipsisa32r3           34<br>
&gt; + .#define bfd_mach_mips_octeon3                6503<br>
&gt; + .#define bfd_mach_mips_xlr            887682   {* decimal &#39;XLR&#39;.  *}<br>
&gt; + .#define bfd_mach_mips_interaptiv_mr2 736550   {* decimal &#39;IA2&#39;.  *}<br>
&gt; ++.#define bfd_mach_mips_xlp              887680   {* decimal &#39;XLP&#39;.  *}<br>
&gt; + .#define bfd_mach_mipsisa32           32<br>
&gt; + .#define bfd_mach_mipsisa32r2         33<br>
&gt; + .#define bfd_mach_mipsisa32r3         34<br>
&gt;  diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h<br>
&gt; -index d126aed086..2b753b3a93 100644<br>
&gt; +index 42991e7848..27abc5d5a8 100644<br>
&gt;  --- a/bfd/bfd-in2.h<br>
&gt;  +++ b/bfd/bfd-in2.h<br>
&gt; -@@ -2060,6 +2060,7 @@ enum bfd_architecture<br>
&gt; +@@ -2062,6 +2062,7 @@ enum bfd_architecture<br>
&gt;   #define bfd_mach_mips_octeon3          6503<br>
&gt; - #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;  */<br>
&gt; - #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;  */<br>
&gt; -+#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;  */<br>
&gt; + #define bfd_mach_mips_xlr              887682   /* decimal &#39;XLR&#39;.  */<br>
&gt; + #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal &#39;IA2&#39;.  */<br>
&gt; ++#define bfd_mach_mips_xlp              887680   /* decimal &#39;XLP&#39;.  */<br>
&gt;   #define bfd_mach_mipsisa32             32<br>
&gt;   #define bfd_mach_mipsisa32r2           33<br>
&gt;   #define bfd_mach_mipsisa32r3           34<br>
&gt;  diff --git a/bfd/config.bfd b/bfd/config.bfd<br>
&gt; -index 4511024f22..f0f9072f10 100644<br>
&gt; +index 8777f96bd2..7b80bda8c9 100644<br>
&gt;  --- a/bfd/config.bfd<br>
&gt;  +++ b/bfd/config.bfd<br>
&gt; -@@ -1169,6 +1169,11 @@ case &quot;${targ}&quot; in<br>
&gt; +@@ -1172,6 +1172,11 @@ case &quot;${targ}&quot; in<br>
&gt;       targ_defvec=mips_elf32_le_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_be_<wbr>vec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;       ;;<br>
&gt; @@ -86,7 +86,7 @@ index 4511024f22..f0f9072f10 100644<br>
&gt;       targ_defvec=mips_elf32_be_vec<br>
&gt;       targ_selvecs=&quot;mips_elf32_le_<wbr>vec mips_elf64_be_vec mips_elf64_le_vec&quot;<br>
&gt;  diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c<br>
&gt; -index 2493094bef..8375d1ae96 100644<br>
&gt; +index cb50c64371..2b9d1d6ecf 100644<br>
&gt;  --- a/bfd/cpu-mips.c<br>
&gt;  +++ b/bfd/cpu-mips.c<br>
&gt;  @@ -105,7 +105,8 @@ enum<br>
&gt; @@ -100,7 +100,7 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   #define NN(index) (&amp;arch_info_struct[(index) + 1])<br>
&gt;  @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] =<br>
&gt; -   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,       FALSE, NN(I_xlr)),<br>
&gt; +   N (64, 64, bfd_mach_mips_xlr, &quot;mips:xlr&quot;,     FALSE, NN(I_xlr)),<br>
&gt;     N (32, 32, bfd_mach_mips_interaptiv_mr2, &quot;mips:interaptiv-mr2&quot;, FALSE,<br>
&gt;        NN(I_interaptiv_mr2)),<br>
&gt;  -  N (64, 64, bfd_mach_mips_micromips,&quot;mips:<wbr>micromips&quot;,FALSE,0)<br>
&gt; @@ -110,10 +110,10 @@ index 2493094bef..8375d1ae96 100644<br>
&gt;<br>
&gt;   /* The default architecture is mips:3000, but with a machine number of<br>
&gt;  diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c<br>
&gt; -index fddf68c816..354c85d00b 100644<br>
&gt; +index 285401367d..14ebb5f175 100644<br>
&gt;  --- a/bfd/elfxx-mips.c<br>
&gt;  +++ b/bfd/elfxx-mips.c<br>
&gt; -@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt; +@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)<br>
&gt;       case E_MIPS_MACH_IAMR2:<br>
&gt;         return bfd_mach_mips_interaptiv_mr2;<br>
&gt;<br>
&gt; @@ -123,7 +123,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       default:<br>
&gt;         switch (flags &amp; EF_MIPS_ARCH)<br>
&gt;         {<br>
&gt; -@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt; +@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)<br>
&gt;         val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;<br>
&gt;         break;<br>
&gt;<br>
&gt; @@ -134,7 +134,7 @@ index fddf68c816..354c85d00b 100644<br>
&gt;       case bfd_mach_mipsisa32:<br>
&gt;         val = E_MIPS_ARCH_32;<br>
&gt;         break;<br>
&gt; -@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt; +@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =<br>
&gt;     { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },<br>
&gt;     { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },<br>
&gt;     { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },<br>
&gt; @@ -143,10 +143,10 @@ index fddf68c816..354c85d00b 100644<br>
&gt;     /* MIPS64 extensions.  */<br>
&gt;     { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },<br>
&gt;  diff --git a/binutils/readelf.c b/binutils/readelf.c<br>
&gt; -index 2b15f0f2cb..092744708e 100644<br>
&gt; +index ae1cda9a7b..fed0387a94 100644<br>
&gt;  --- a/binutils/readelf.c<br>
&gt;  +++ b/binutils/readelf.c<br>
&gt; -@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)<br>
&gt; +@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)<br>
&gt;             case E_MIPS_MACH_OCTEON3: strcat (buf, &quot;, octeon3&quot;); break;<br>
&gt;             case E_MIPS_MACH_XLR:  strcat (buf, &quot;, xlr&quot;); break;<br>
&gt;             case E_MIPS_MACH_IAMR2:  strcat (buf, &quot;, interaptiv-mr2&quot;); break;<br>
&gt; @@ -155,7 +155,7 @@ index 2b15f0f2cb..092744708e 100644<br>
&gt;             /* We simply ignore the field in this case to avoid confusion:<br>
&gt;                MIPS ELF does not specify EF_MIPS_MACH, it is a GNU<br>
&gt;  diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c<br>
&gt; -index 3804df2958..9576c986db 100644<br>
&gt; +index c135131b59..d8fbda8e31 100644<br>
&gt;  --- a/gas/config/tc-mips.c<br>
&gt;  +++ b/gas/config/tc-mips.c<br>
&gt;  @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;<br>
&gt; @@ -174,7 +174,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;      )<br>
&gt;<br>
&gt;   /* Whether the processor uses hardware interlocks to protect reads<br>
&gt; -@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt; +@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =<br>
&gt;     /* Broadcom XLP.<br>
&gt;        XLP is mostly like XLR, with the prominent exception that it is<br>
&gt;        MIPS64R2 rather than MIPS64.  */<br>
&gt; @@ -184,7 +184,7 @@ index 3804df2958..9576c986db 100644<br>
&gt;     /* MIPS 64 Release 6 */<br>
&gt;     { &quot;i6400&quot;,        0, ASE_MSA,               ISA_MIPS64R6, CPU_MIPS64R6},<br>
&gt;  diff --git a/gas/configure b/gas/configure<br>
&gt; -index 81dd4cbd97..95bdf3b19b 100755<br>
&gt; +index a40ac2144f..65a6995243 100755<br>
&gt;  --- a/gas/configure<br>
&gt;  +++ b/gas/configure<br>
&gt;  @@ -12989,6 +12989,9 @@ _ACEOF<br>
&gt; @@ -198,7 +198,7 @@ index 81dd4cbd97..95bdf3b19b 100755<br>
&gt;             mips_cpu=r3900<br>
&gt;             ;;<br>
&gt;  diff --git a/include/elf/mips.h b/include/elf/mips.h<br>
&gt; -index a4bea43ff8..73d904e25f 100644<br>
&gt; +index 9de0b4e175..74fc4f7e55 100644<br>
&gt;  --- a/include/elf/mips.h<br>
&gt;  +++ b/include/elf/mips.h<br>
&gt;  @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)<br>
&gt; @@ -210,7 +210,7 @@ index a4bea43ff8..73d904e25f 100644<br>
&gt;   #define E_MIPS_MACH_OCTEON3   0x008e0000<br>
&gt;   #define E_MIPS_MACH_5400      0x00910000<br>
&gt;  diff --git a/include/opcode/mips.h b/include/opcode/mips.h<br>
&gt; -index ceae9ec50a..276ee3c6c1 100644<br>
&gt; +index 5eea72f139..90f6d57e15 100644<br>
&gt;  --- a/include/opcode/mips.h<br>
&gt;  +++ b/include/opcode/mips.h<br>
&gt;  @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {<br>
&gt; @@ -241,10 +241,10 @@ index ceae9ec50a..276ee3c6c1 100644<br>
&gt;         return FALSE;<br>
&gt;       }<br>
&gt;  diff --git a/ld/configure.tgt b/ld/configure.tgt<br>
&gt; -index fe7b9238b2..2adf108b17 100644<br>
&gt; +index 1d78465590..307e787b64 100644<br>
&gt;  --- a/ld/configure.tgt<br>
&gt;  +++ b/ld/configure.tgt<br>
&gt; -@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt; +@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)<br>
&gt;   mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)<br>
&gt;                         targ_emul=elf32btsmip<br>
&gt;                         targ_extra_emuls=&quot;elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip&quot; ;;<br>
&gt; @@ -254,7 +254,7 @@ index fe7b9238b2..2adf108b17 100644<br>
&gt;                         targ_extra_emuls=&quot;<wbr>elf32lr5900&quot;<br>
&gt;                         targ_extra_libpath=$targ_<wbr>extra_emuls ;;<br>
&gt;  diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c<br>
&gt; -index 45195007c1..4a80a05d19 100644<br>
&gt; +index 984fcbb802..95b107d216 100644<br>
&gt;  --- a/opcodes/mips-dis.c<br>
&gt;  +++ b/opcodes/mips-dis.c<br>
&gt;  @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[] =<br>
&gt; @@ -277,7 +277,7 @@ index 45195007c1..4a80a05d19 100644<br>
&gt;     /* This entry, mips16, is here only for ISA/processor selection; do<br>
&gt;        not print its name.  */<br>
&gt;  diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c<br>
&gt; -index 19fca408c9..d02069c528 100644<br>
&gt; +index 180d613c93..65b7b8cc23 100644<br>
&gt;  --- a/opcodes/mips-opc.c<br>
&gt;  +++ b/opcodes/mips-opc.c<br>
&gt;  @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)<br>
&gt; @@ -389,5 +389,5 @@ index 19fca408c9..d02069c528 100644<br>
&gt;   {&quot;swc0&quot;,              &quot;E,A(b)&quot;,       0,    (int) M_SWC0_AB,  INSN_MACRO,             0,              I1,             0,      IOCT|IOCTP|IOCT2|I37 },<br>
&gt;   {&quot;swc1&quot;,              &quot;T,o(b)&quot;,       0xe4000000, 0xfc000000, RD_1|RD_3|SM|FP_S,      0,              I1,             0,      0 },<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch<br>
&gt; index 247376b7ed..c3e1b13841 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0013-fix-<wbr>the-incorrect-assembling-for-<wbr>ppc-wait-mnemonic.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From e46202becab625c6c08caf91e08ccb<wbr>bc1bf799c4 Mon Sep 17 00:00:00 2001<br>
&gt; +From 27ec22ca3cd56cfdf060d2e1f414be<wbr>dce269b322 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Zhenhua Luo &lt;<a href="mailto:zhenhua.luo@nxp.com" target="_blank">zhenhua.luo@nxp.com</a>&gt;<br>
&gt;  Date: Sat, 11 Jun 2016 22:08:29 -0500<br>
&gt;  Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait mnemonic<br>
&gt; @@ -11,10 +11,10 @@ Upstream-Status: Pending<br>
&gt;   1 file changed, 1 insertion(+), 2 deletions(-)<br>
&gt;<br>
&gt;  diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c<br>
&gt; -index 426261ab21..0d35916cdd 100644<br>
&gt; +index bb17f26c2e..dbdd762b4e 100644<br>
&gt;  --- a/opcodes/ppc-opc.c<br>
&gt;  +++ b/opcodes/ppc-opc.c<br>
&gt; -@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;   {&quot;ldepx&quot;,     X(31,29),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt;   {&quot;waitasec&quot;,  X(31,30),      XRTRARB_MASK, POWER8,    POWER9,         {0}},<br>
&gt; @@ -22,7 +22,7 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;<br>
&gt;   {&quot;lwepx&quot;,     X(31,31),       X_MASK,   E500MC|PPCA2, 0,              {RT, RA0, RB}},<br>
&gt;<br>
&gt; -@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt; +@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {<br>
&gt;<br>
&gt;   {&quot;waitrsv&quot;,   X(31,62)|(1&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt;   {&quot;waitimpl&quot;,  X(31,62)|(2&lt;&lt;21), 0xffffffff, E500MC|PPCA2, 0,          {0}},<br>
&gt; @@ -32,5 +32,5 @@ index 426261ab21..0d35916cdd 100644<br>
&gt;   {&quot;dcbstep&quot;,   XRT(31,63,0),   XRT_MASK,    E500MC|PPCA2, 0,           {RA0, RB}},<br>
&gt;<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch<br>
&gt; index 42b1065f8d..cf3690f25d 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0014-Detect-<wbr>64-bit-MIPS-targets.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From bf20d5823662d1f2eb47de2cdfd173<wbr>627a205b17 Mon Sep 17 00:00:00 2001<br>
&gt; +From 7dfbd6889d868a09d695dd27361048<wbr>48c1a9c9c3 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;  Date: Fri, 31 Mar 2017 11:42:03 -0700<br>
&gt;  Subject: [PATCH 14/15] Detect 64-bit MIPS targets<br>
&gt; @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;<br>
&gt;   1 file changed, 14 insertions(+)<br>
&gt;<br>
&gt;  diff --git a/gold/configure.tgt b/gold/configure.tgt<br>
&gt; -index 3d63027297..c1f92a1360 100644<br>
&gt; +index 8aef22a318..7030026ffa 100644<br>
&gt;  --- a/gold/configure.tgt<br>
&gt;  +++ b/gold/configure.tgt<br>
&gt;  @@ -153,6 +153,13 @@ aarch64*-*)<br>
&gt; @@ -46,5 +46,5 @@ index 3d63027297..c1f92a1360 100644<br>
&gt;    targ_obj=mips<br>
&gt;    targ_machine=EM_MIPS<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch b/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch<br>
&gt; index 2c8900cb66..8c9fd237e7 100644<br>
&gt; --- a/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch<br>
&gt; +++ b/meta/recipes-devtools/<wbr>binutils/binutils/0015-sync-<wbr>with-OE-libtool-changes.patch<br>
&gt; @@ -1,4 +1,4 @@<br>
&gt; -From 9b456a0e4f284fd41ac36595144ed4<wbr>4dc82410ee Mon Sep 17 00:00:00 2001<br>
&gt; +From 298804f430939d6cc94b09732ee93e<wbr>64c5e6be18 Mon Sep 17 00:00:00 2001<br>
&gt;  From: Ross Burton &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;<br>
&gt;  Date: Mon, 6 Mar 2017 23:33:27 -0800<br>
&gt;  Subject: [PATCH 15/15] sync with OE libtool changes<br>
&gt; @@ -85,5 +85,5 @@ index 11ee684ccc..3b19ac1532 100644<br>
&gt;         elif test -n &quot;$runpath_var&quot;; then<br>
&gt;           case &quot;$finalize_perm_rpath &quot; in<br>
&gt;  --<br>
&gt; -2.14.0<br>
&gt; +2.16.1<br>
&gt;<br>
&gt; diff --git a/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a> b/meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; similarity index 100%<br>
&gt; rename from meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.29.1.bb" rel="noreferrer" target="_blank">binutils_2.29.1.bb</a><br>
&gt; rename to meta/recipes-devtools/<wbr>binutils/<a href="http://binutils_2.30.bb" rel="noreferrer" target="_blank">binutils_2.30.bb</a><br>
&gt; --<br>
&gt; 2.16.1<br>
&gt;<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div></div></div></div>
</blockquote></div><br></div>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index da45642440..037d331605 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -24,7 +24,7 @@  PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 
 GCCVERSION ?= "7.%"
 SDKGCCVERSION ?= "${GCCVERSION}"
-BINUVERSION ?= "2.29%"
+BINUVERSION ?= "2.30%"
 GDBVERSION ?= "8.0%"
 LINUXLIBCVERSION ?= "4.14%"
 GLIBCVERSION ?= "2.27%"
diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc b/meta/recipes-devtools/binutils/binutils-2.30.inc
similarity index 97%
rename from meta/recipes-devtools/binutils/binutils-2.29.1.inc
rename to 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
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils-cross-canadian_2.29.1.bb
rename to 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
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb
rename to 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
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.29.1.bb
rename to 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 sysroot is enabled
@@ -48,5 +48,5 @@  index 70e856e065..11ee684ccc 100644
  	    if test -z "$hardcode_libdirs"; then
  	      hardcode_libdirs="$libdir"
 -- 
-2.14.0
+2.16.1
 
diff --git a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch
index ac87a2d1de..80fcbc1194 100644
--- a/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch
+++ b/meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch
@@ -1,4 +1,4 @@ 
-From 497660bdbeb6788786553a5d733105f7f898dc62 Mon Sep 17 00:00:00 2001
+From 7978c1299021033c35c29c94e0997235f7ede248 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 2 Mar 2015 01:44:14 +0000
 Subject: [PATCH 11/15] Change default emulation for mips64*-*-linux
@@ -14,10 +14,10 @@  Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2 files changed, 8 insertions(+), 8 deletions(-)
 
 diff --git a/bfd/config.bfd b/bfd/config.bfd
-index dc24aabad5..4511024f22 100644
+index f04a993f06..8777f96bd2 100644
 --- a/bfd/config.bfd
 +++ b/bfd/config.bfd
-@@ -1186,12 +1186,12 @@ case "${targ}" in
+@@ -1189,12 +1189,12 @@ case "${targ}" in
      targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"
      ;;
    mips64*el-*-linux*)
@@ -35,12 +35,12 @@  index dc24aabad5..4511024f22 100644
    mips*el-*-linux*)
      targ_defvec=mips_elf32_trad_le_vec
 diff --git a/ld/configure.tgt b/ld/configure.tgt
-index 47c719cd05..fe7b9238b2 100644
+index 6183a85b3d..1d78465590 100644
 --- a/ld/configure.tgt
 +++ b/ld/configure.tgt
-@@ -530,11 +530,11 @@ mips*el-*-vxworks*)	targ_emul=elf32elmipvxworks
+@@ -535,11 +535,11 @@ mips*el-*-vxworks*)	targ_emul=elf32elmipvxworks
  mips*-*-vxworks*)	targ_emul=elf32ebmipvxworks
- 		        targ_extra_emuls="elf32elmipvxworks" ;;
+ 			targ_extra_emuls="elf32elmipvxworks" ;;
  mips*-*-windiss)	targ_emul=elf32mipswindiss ;;
 -mips64*el-*-linux-*)	targ_emul=elf32ltsmipn32
 -			targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"
@@ -55,5 +55,5 @@  index 47c719cd05..fe7b9238b2 100644
  mips*el-*-linux-*)	targ_emul=elf32ltsmip
  			targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip"
 -- 
-2.14.0
+2.16.1
 
diff --git a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch
index dc5e580739..1fefb680f8 100644
--- a/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch
+++ b/meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch
@@ -1,4 +1,4 @@ 
-From 8c60a55d3678589d93739bd27fec216911d80968 Mon Sep 17 00:00:00 2001
+From 3b40bf584615f794b85fd50d4d0a5c0a1d2ee7bf Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sun, 14 Feb 2016 17:06:19 +0000
 Subject: [PATCH 12/15] Add support for Netlogic XLP
@@ -34,7 +34,7 @@  Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
  14 files changed, 61 insertions(+), 21 deletions(-)
 
 diff --git a/bfd/aoutx.h b/bfd/aoutx.h
-index 3d38fda14b..0aec49bbb3 100644
+index eec9c4ad2a..3bf0a71e63 100644
 --- a/bfd/aoutx.h
 +++ b/bfd/aoutx.h
 @@ -814,6 +814,7 @@ NAME (aout, machine_type) (enum bfd_architecture arch,
@@ -46,34 +46,34 @@  index 3d38fda14b..0aec49bbb3 100644
  	  arch_flags = M_MIPS2;
  	  break;
 diff --git a/bfd/archures.c b/bfd/archures.c
-index 433b95fa08..063b7943a1 100644
+index e83c57a2f3..3016ea1bae 100644
 --- a/bfd/archures.c
 +++ b/bfd/archures.c
 @@ -201,6 +201,7 @@ DESCRIPTION
- .#define bfd_mach_mips_octeon3          6503
- .#define bfd_mach_mips_xlr              887682   {* decimal 'XLR'  *}
- .#define bfd_mach_mips_interaptiv_mr2   736550   {* decimal 'IA2'  *}
-+.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'  *}
- .#define bfd_mach_mipsisa32             32
- .#define bfd_mach_mipsisa32r2           33
- .#define bfd_mach_mipsisa32r3           34
+ .#define bfd_mach_mips_octeon3		6503
+ .#define bfd_mach_mips_xlr		887682	 {* decimal 'XLR'.  *}
+ .#define bfd_mach_mips_interaptiv_mr2	736550	 {* decimal 'IA2'.  *}
++.#define bfd_mach_mips_xlp              887680   {* decimal 'XLP'.  *}
+ .#define bfd_mach_mipsisa32		32
+ .#define bfd_mach_mipsisa32r2		33
+ .#define bfd_mach_mipsisa32r3		34
 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
-index d126aed086..2b753b3a93 100644
+index 42991e7848..27abc5d5a8 100644
 --- a/bfd/bfd-in2.h
 +++ b/bfd/bfd-in2.h
-@@ -2060,6 +2060,7 @@ enum bfd_architecture
+@@ -2062,6 +2062,7 @@ enum bfd_architecture
  #define bfd_mach_mips_octeon3          6503
- #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'  */
- #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'  */
-+#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'  */
+ #define bfd_mach_mips_xlr              887682   /* decimal 'XLR'.  */
+ #define bfd_mach_mips_interaptiv_mr2   736550   /* decimal 'IA2'.  */
++#define bfd_mach_mips_xlp              887680   /* decimal 'XLP'.  */
  #define bfd_mach_mipsisa32             32
  #define bfd_mach_mipsisa32r2           33
  #define bfd_mach_mipsisa32r3           34
 diff --git a/bfd/config.bfd b/bfd/config.bfd
-index 4511024f22..f0f9072f10 100644
+index 8777f96bd2..7b80bda8c9 100644
 --- a/bfd/config.bfd
 +++ b/bfd/config.bfd
-@@ -1169,6 +1169,11 @@ case "${targ}" in
+@@ -1172,6 +1172,11 @@ case "${targ}" in
      targ_defvec=mips_elf32_le_vec
      targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec"
      ;;
@@ -86,7 +86,7 @@  index 4511024f22..f0f9072f10 100644
      targ_defvec=mips_elf32_be_vec
      targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"
 diff --git a/bfd/cpu-mips.c b/bfd/cpu-mips.c
-index 2493094bef..8375d1ae96 100644
+index cb50c64371..2b9d1d6ecf 100644
 --- a/bfd/cpu-mips.c
 +++ b/bfd/cpu-mips.c
 @@ -105,7 +105,8 @@ enum
@@ -100,7 +100,7 @@  index 2493094bef..8375d1ae96 100644
  
  #define NN(index) (&arch_info_struct[(index) + 1])
 @@ -158,7 +159,8 @@ static const bfd_arch_info_type arch_info_struct[] =
-   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",       FALSE, NN(I_xlr)),
+   N (64, 64, bfd_mach_mips_xlr, "mips:xlr",	  FALSE, NN(I_xlr)),
    N (32, 32, bfd_mach_mips_interaptiv_mr2, "mips:interaptiv-mr2", FALSE,
       NN(I_interaptiv_mr2)),
 -  N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0)
@@ -110,10 +110,10 @@  index 2493094bef..8375d1ae96 100644
  
  /* The default architecture is mips:3000, but with a machine number of
 diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
-index fddf68c816..354c85d00b 100644
+index 285401367d..14ebb5f175 100644
 --- a/bfd/elfxx-mips.c
 +++ b/bfd/elfxx-mips.c
-@@ -6796,6 +6796,9 @@ _bfd_elf_mips_mach (flagword flags)
+@@ -6806,6 +6806,9 @@ _bfd_elf_mips_mach (flagword flags)
      case E_MIPS_MACH_IAMR2:
        return bfd_mach_mips_interaptiv_mr2;
  
@@ -123,7 +123,7 @@  index fddf68c816..354c85d00b 100644
      default:
        switch (flags & EF_MIPS_ARCH)
  	{
-@@ -11956,6 +11959,10 @@ mips_set_isa_flags (bfd *abfd)
+@@ -11963,6 +11966,10 @@ mips_set_isa_flags (bfd *abfd)
        val = E_MIPS_ARCH_64R2 | E_MIPS_MACH_OCTEON2;
        break;
  
@@ -134,7 +134,7 @@  index fddf68c816..354c85d00b 100644
      case bfd_mach_mipsisa32:
        val = E_MIPS_ARCH_32;
        break;
-@@ -13989,6 +13996,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =
+@@ -13936,6 +13943,7 @@ static const struct mips_mach_extension mips_mach_extensions[] =
    { bfd_mach_mips_octeonp, bfd_mach_mips_octeon },
    { bfd_mach_mips_octeon, bfd_mach_mipsisa64r2 },
    { bfd_mach_mips_loongson_3a, bfd_mach_mipsisa64r2 },
@@ -143,10 +143,10 @@  index fddf68c816..354c85d00b 100644
    /* MIPS64 extensions.  */
    { bfd_mach_mipsisa64r2, bfd_mach_mipsisa64 },
 diff --git a/binutils/readelf.c b/binutils/readelf.c
-index 2b15f0f2cb..092744708e 100644
+index ae1cda9a7b..fed0387a94 100644
 --- a/binutils/readelf.c
 +++ b/binutils/readelf.c
-@@ -3335,6 +3335,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
+@@ -3370,6 +3370,7 @@ get_machine_flags (Filedata * filedata, unsigned e_flags, unsigned e_machine)
  	    case E_MIPS_MACH_OCTEON3: strcat (buf, ", octeon3"); break;
  	    case E_MIPS_MACH_XLR:  strcat (buf, ", xlr"); break;
  	    case E_MIPS_MACH_IAMR2:  strcat (buf, ", interaptiv-mr2"); break;
@@ -155,7 +155,7 @@  index 2b15f0f2cb..092744708e 100644
  	    /* We simply ignore the field in this case to avoid confusion:
  	       MIPS ELF does not specify EF_MIPS_MACH, it is a GNU
 diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
-index 3804df2958..9576c986db 100644
+index c135131b59..d8fbda8e31 100644
 --- a/gas/config/tc-mips.c
 +++ b/gas/config/tc-mips.c
 @@ -552,6 +552,7 @@ static int mips_32bitmode = 0;
@@ -174,7 +174,7 @@  index 3804df2958..9576c986db 100644
     )
  
  /* Whether the processor uses hardware interlocks to protect reads
-@@ -19738,7 +19740,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =
+@@ -19737,7 +19739,7 @@ static const struct mips_cpu_info mips_cpu_info_table[] =
    /* Broadcom XLP.
       XLP is mostly like XLR, with the prominent exception that it is
       MIPS64R2 rather than MIPS64.  */
@@ -184,7 +184,7 @@  index 3804df2958..9576c986db 100644
    /* MIPS 64 Release 6 */
    { "i6400",	      0, ASE_MSA,		ISA_MIPS64R6, CPU_MIPS64R6},
 diff --git a/gas/configure b/gas/configure
-index 81dd4cbd97..95bdf3b19b 100755
+index a40ac2144f..65a6995243 100755
 --- a/gas/configure
 +++ b/gas/configure
 @@ -12989,6 +12989,9 @@ _ACEOF
@@ -198,7 +198,7 @@  index 81dd4cbd97..95bdf3b19b 100755
  	    mips_cpu=r3900
  	    ;;
 diff --git a/include/elf/mips.h b/include/elf/mips.h
-index a4bea43ff8..73d904e25f 100644
+index 9de0b4e175..74fc4f7e55 100644
 --- a/include/elf/mips.h
 +++ b/include/elf/mips.h
 @@ -290,6 +290,7 @@ END_RELOC_NUMBERS (R_MIPS_maxext)
@@ -210,7 +210,7 @@  index a4bea43ff8..73d904e25f 100644
  #define E_MIPS_MACH_OCTEON3	0x008e0000
  #define E_MIPS_MACH_5400	0x00910000
 diff --git a/include/opcode/mips.h b/include/opcode/mips.h
-index ceae9ec50a..276ee3c6c1 100644
+index 5eea72f139..90f6d57e15 100644
 --- a/include/opcode/mips.h
 +++ b/include/opcode/mips.h
 @@ -1259,6 +1259,8 @@ static const unsigned int mips_isa_table[] = {
@@ -241,10 +241,10 @@  index ceae9ec50a..276ee3c6c1 100644
        return FALSE;
      }
 diff --git a/ld/configure.tgt b/ld/configure.tgt
-index fe7b9238b2..2adf108b17 100644
+index 1d78465590..307e787b64 100644
 --- a/ld/configure.tgt
 +++ b/ld/configure.tgt
-@@ -516,6 +516,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)
+@@ -521,6 +521,8 @@ mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*)
  mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*)
  			targ_emul=elf32btsmip
  			targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;;
@@ -254,7 +254,7 @@  index fe7b9238b2..2adf108b17 100644
  			targ_extra_emuls="elf32lr5900"
  			targ_extra_libpath=$targ_extra_emuls ;;
 diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
-index 45195007c1..4a80a05d19 100644
+index 984fcbb802..95b107d216 100644
 --- a/opcodes/mips-dis.c
 +++ b/opcodes/mips-dis.c
 @@ -655,13 +655,11 @@ const struct mips_arch_choice mips_arch_choices[] =
@@ -277,7 +277,7 @@  index 45195007c1..4a80a05d19 100644
    /* This entry, mips16, is here only for ISA/processor selection; do
       not print its name.  */
 diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
-index 19fca408c9..d02069c528 100644
+index 180d613c93..65b7b8cc23 100644
 --- a/opcodes/mips-opc.c
 +++ b/opcodes/mips-opc.c
 @@ -328,6 +328,7 @@ decode_mips_operand (const char *p)
@@ -389,5 +389,5 @@  index 19fca408c9..d02069c528 100644
  {"swc0",		"E,A(b)",	0,    (int) M_SWC0_AB,	INSN_MACRO,		0,		I1,		0,	IOCT|IOCTP|IOCT2|I37 },
  {"swc1",		"T,o(b)",	0xe4000000, 0xfc000000,	RD_1|RD_3|SM|FP_S,	0,		I1,		0,	0 },
 -- 
-2.14.0
+2.16.1
 
diff --git a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
index 247376b7ed..c3e1b13841 100644
--- a/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
+++ b/meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch
@@ -1,4 +1,4 @@ 
-From e46202becab625c6c08caf91e08ccbbc1bf799c4 Mon Sep 17 00:00:00 2001
+From 27ec22ca3cd56cfdf060d2e1f414bedce269b322 Mon Sep 17 00:00:00 2001
 From: Zhenhua Luo <zhenhua.luo@nxp.com>
 Date: Sat, 11 Jun 2016 22:08:29 -0500
 Subject: [PATCH 13/15] fix the incorrect assembling for ppc wait mnemonic
@@ -11,10 +11,10 @@  Upstream-Status: Pending
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
-index 426261ab21..0d35916cdd 100644
+index bb17f26c2e..dbdd762b4e 100644
 --- a/opcodes/ppc-opc.c
 +++ b/opcodes/ppc-opc.c
-@@ -4881,7 +4881,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {
+@@ -5338,7 +5338,6 @@ const struct powerpc_opcode powerpc_opcodes[] = {
  {"ldepx",	X(31,29),	X_MASK,	  E500MC|PPCA2, 0,		{RT, RA0, RB}},
  
  {"waitasec",	X(31,30),      XRTRARB_MASK, POWER8,	POWER9,		{0}},
@@ -22,7 +22,7 @@  index 426261ab21..0d35916cdd 100644
  
  {"lwepx",	X(31,31),	X_MASK,	  E500MC|PPCA2, 0,		{RT, RA0, RB}},
  
-@@ -4935,7 +4934,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
+@@ -5392,7 +5391,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
  
  {"waitrsv",	X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0,		{0}},
  {"waitimpl",	X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0,		{0}},
@@ -32,5 +32,5 @@  index 426261ab21..0d35916cdd 100644
  {"dcbstep",	XRT(31,63,0),	XRT_MASK,    E500MC|PPCA2, 0,		{RA0, RB}},
  
 -- 
-2.14.0
+2.16.1
 
diff --git a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch
index 42b1065f8d..cf3690f25d 100644
--- a/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch
+++ b/meta/recipes-devtools/binutils/binutils/0014-Detect-64-bit-MIPS-targets.patch
@@ -1,4 +1,4 @@ 
-From bf20d5823662d1f2eb47de2cdfd173627a205b17 Mon Sep 17 00:00:00 2001
+From 7dfbd6889d868a09d695dd2736104848c1a9c9c3 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Fri, 31 Mar 2017 11:42:03 -0700
 Subject: [PATCH 14/15] Detect 64-bit MIPS targets
@@ -14,7 +14,7 @@  Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 14 insertions(+)
 
 diff --git a/gold/configure.tgt b/gold/configure.tgt
-index 3d63027297..c1f92a1360 100644
+index 8aef22a318..7030026ffa 100644
 --- a/gold/configure.tgt
 +++ b/gold/configure.tgt
 @@ -153,6 +153,13 @@ aarch64*-*)
@@ -46,5 +46,5 @@  index 3d63027297..c1f92a1360 100644
   targ_obj=mips
   targ_machine=EM_MIPS
 -- 
-2.14.0
+2.16.1
 
diff --git a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch
index 2c8900cb66..8c9fd237e7 100644
--- a/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch
+++ b/meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch
@@ -1,4 +1,4 @@ 
-From 9b456a0e4f284fd41ac36595144ed44dc82410ee Mon Sep 17 00:00:00 2001
+From 298804f430939d6cc94b09732ee93e64c5e6be18 Mon Sep 17 00:00:00 2001
 From: Ross Burton <ross.burton@intel.com>
 Date: Mon, 6 Mar 2017 23:33:27 -0800
 Subject: [PATCH 15/15] sync with OE libtool changes
@@ -85,5 +85,5 @@  index 11ee684ccc..3b19ac1532 100644
  	elif test -n "$runpath_var"; then
  	  case "$finalize_perm_rpath " in
 -- 
-2.14.0
+2.16.1
 
diff --git a/meta/recipes-devtools/binutils/binutils_2.29.1.bb b/meta/recipes-devtools/binutils/binutils_2.30.bb
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils_2.29.1.bb
rename to meta/recipes-devtools/binutils/binutils_2.30.bb