Skip to contentSkip to conversation

binutils 2.26 upgrade

PATCH In review Khem Raj 2 participants 5 messages Jan 30, 2016 – Feb 8, 2016

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

cover binutils 2.26 upgrade

Upgrade binutils to 2.26
Fix gcc for ppc to not enforce spe by default to assembler use -mno-spe for 74xx

Khem Raj (2):
gcc,qemuppc: Explicitly disable forcing SPE flags
binutils: Upgrade to 2.26

 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 meta/conf/machine/include/tune-ppc7400.inc         |    2 +-
 meta/conf/machine/qemuppc.conf                     |    2 +
 .../{binutils-2.25.1.inc => binutils-2.26.inc}     |   10 +-
 ...n_2.25.1.bb => binutils-cross-canadian_2.26.bb} |    0
 ...tils-cross_2.25.1.bb => binutils-cross_2.26.bb} |    0
 ...rosssdk_2.25.1.bb => binutils-crosssdk_2.26.bb} |    0
 .../binutils/0001-Generate-relocatable-SDKs.patch  |   12 +-
 ...ure-widen-the-regexp-for-SH-architectures.patch |   14 +-
 .../0003-Point-scripts-location-to-libdir.patch    |   14 +-
 ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch |   12 +-
 .../0005-Explicitly-link-with-libm-on-uclibc.patch |   10 +-
 .../binutils/binutils/0006-Use-libtool-2.4.patch   | 2916 ++++++++++++++++----
 ...7-Add-the-armv5e-architecture-to-binutils.patch |   10 +-
 ...he-distro-compiler-point-to-the-wrong-ins.patch |   10 +-
 ...s-of-system-directories-when-cross-linki.patch} |   93 +-
 ...-rpath-in-libtool-when-sysroot-is-enabled.patch |    6 +-
 ...Change-default-emulation-for-mips64-linux.patch |   14 +-
 .../0012-Add-XLP-instructions-support.patch        |  146 +-
 ...rnal-error-in-do_print_to_mapfile-seen-wi.patch |   35 -
 ...4-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch |   25 -
 ...-list-so-that-symbols-not-in-the-list-are.patch |  131 -
 ...h-adds-IFUNC-support-for-arm-gold-backend.patch | 1004 -------
 .../binutils/add-thunderx-support-for-gas.patch    |   33 -
 .../binutils/binutils/binutils-octeon3.patch       |  272 --
 .../{binutils_2.25.1.bb => binutils_2.26.bb}       |    0
 ...AltiVec-generation-on-powepc-linux-target.patch |   24 +-
 27 files changed, 2606 insertions(+), 2191 deletions(-)
 rename meta/recipes-devtools/binutils/{binutils-2.25.1.inc => binutils-2.26.inc} (76%)
 rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.25.1.bb => binutils-cross-canadian_2.26.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-cross_2.25.1.bb => binutils-cross_2.26.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.25.1.bb => binutils-crosssdk_2.26.bb} (100%)
 rename meta/recipes-devtools/binutils/binutils/{0009-Upstream-Status-Inappropriate-distribution-codesourc.patch => 0009-warn-for-uses-of-system-directories-when-cross-linki.patch} (82%)
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-Fix-dynamic-list-so-that-symbols-not-in-the-list-are.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0016-This-patch-adds-IFUNC-support-for-arm-gold-backend.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/add-thunderx-support-for-gas.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch
 rename meta/recipes-devtools/binutils/{binutils_2.25.1.bb => binutils_2.26.bb} (100%)
Signature · 1 line
2.7.0
author
#1 lore raw

PATCH 1/2 gcc, qemuppc: Explicitly disable forcing SPE flags

G4 does not have SPE, so we make that explicit in the tune files and since we emulate G4 when building Qemu, we ensure it for qemuppc as well.

GCC config for powerpc-linux is made to include SPE by default which is equivalent if the tripet was powerpc-linux*spe, this forces gcc to configure assembler to enable -mspe by default, when we do that then the kernel fails to compile with binutils 2.26, since newer assembler is smart to detect the tlbia instructions are not compatible with SPE and hence the kernel build breaks rightly. We configure the kernel for G4 as well where it enables tlbia instrucitons rightly so because it thinks its being configured for power4. So we keep the options but do not force -mspe down to assembler as default.

---
 meta/conf/machine/include/tune-ppc7400.inc         |  2 +-
 meta/conf/machine/qemuppc.conf                     |  2 ++
 ...AltiVec-generation-on-powepc-linux-target.patch | 24 ++++++++++++++--------
 3 files changed, 19 insertions(+), 9 deletions(-)
meta/conf/machine/include/tune-ppc7400.inc +1 -1
index 8bfda56..425e8bd 100644
@@ -3,7 +3,7 @@ DEFAULTTUNE ?= "ppc7400"
 require conf/machine/include/powerpc/arch-powerpc.inc
 
 TUNEVALID[ppc7400] = "Enable ppc7400 specific processor optimizations"
-TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc7400', ' -mcpu=7400', '', d)}"
+TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ppc7400', ' -mcpu=7400 -mno-spe', '', d)}"
 
 AVAILTUNES += "ppc7400"
 TUNE_FEATURES_tune-ppc7400 = "m32 fpu-hard ppc7400 altivec"
meta/conf/machine/qemuppc.conf +2 -0
index 85cbbf7..bf0038d 100644
@@ -5,6 +5,8 @@
 require conf/machine/include/qemu.inc
 require conf/machine/include/tune-ppc7400.inc
 
+TARGET_CC_KERNEL_ARCH = "-mno-spe"
+
 KERNEL_IMAGETYPE = "vmlinux"
 
 SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
meta/recipes-devtools/gcc/gcc-5.3/0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch +16 -8
index e7ca360..5705187 100644
@@ -19,11 +19,11 @@ Signed-off-by: Alexandru-Cezar Sardan <[email protected]>
  gcc/config.gcc | 9 ++++++++-
  1 file changed, 8 insertions(+), 1 deletion(-)
 
-diff --git a/gcc/config.gcc b/gcc/config.gcc
-index dd0739d..3825bd5 100644
---- a/gcc/config.gcc
-+++ b/gcc/config.gcc
-@@ -2343,7 +2343,14 @@ powerpc-*-rtems*)
+Index: gcc-5.3.0/gcc/config.gcc
+===================================================================
+--- gcc-5.3.0.orig/gcc/config.gcc
++++ gcc-5.3.0/gcc/config.gcc
+@@ -2346,7 +2346,14 @@ powerpc-*-rtems*)
  	tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
  	;;
  powerpc*-*-linux*)
@@ -39,6 +39,14 @@ index dd0739d..3825bd5 100644
  	extra_options="${extra_options} rs6000/sysv4.opt"
  	tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm"
  	extra_objs="$extra_objs rs6000-linux.o"
--- 
-2.6.3
-
+Index: gcc-5.3.0/gcc/config/rs6000/linuxspe.h
+===================================================================
+--- gcc-5.3.0.orig/gcc/config/rs6000/linuxspe.h
++++ gcc-5.3.0/gcc/config/rs6000/linuxspe.h
+@@ -27,6 +27,3 @@
+ #undef	TARGET_DEFAULT
+ #define TARGET_DEFAULT MASK_STRICT_ALIGN
+ #endif
+-
+-#undef  ASM_DEFAULT_SPEC
+-#define	ASM_DEFAULT_SPEC "-mppc -mspe -me500"
Signature · 1 line
2.7.0
author
#2 lore raw

PATCH 2/2 binutils: Upgrade to 2.26

---
 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 .../{binutils-2.25.1.inc => binutils-2.26.inc}     |   10 +-
 ...n_2.25.1.bb => binutils-cross-canadian_2.26.bb} |    0
 ...tils-cross_2.25.1.bb => binutils-cross_2.26.bb} |    0
 ...rosssdk_2.25.1.bb => binutils-crosssdk_2.26.bb} |    0
 .../binutils/0001-Generate-relocatable-SDKs.patch  |   12 +-
 ...ure-widen-the-regexp-for-SH-architectures.patch |   14 +-
 .../0003-Point-scripts-location-to-libdir.patch    |   14 +-
 ...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch |   12 +-
 .../0005-Explicitly-link-with-libm-on-uclibc.patch |   10 +-
 .../binutils/binutils/0006-Use-libtool-2.4.patch   | 2916 ++++++++++++++++----
 ...7-Add-the-armv5e-architecture-to-binutils.patch |   10 +-
 ...he-distro-compiler-point-to-the-wrong-ins.patch |   10 +-
 ...s-of-system-directories-when-cross-linki.patch} |   93 +-
 ...-rpath-in-libtool-when-sysroot-is-enabled.patch |    6 +-
 ...Change-default-emulation-for-mips64-linux.patch |   14 +-
 .../0012-Add-XLP-instructions-support.patch        |  146 +-
 ...rnal-error-in-do_print_to_mapfile-seen-wi.patch |   35 -
 ...4-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch |   25 -
 ...-list-so-that-symbols-not-in-the-list-are.patch |  131 -
 ...h-adds-IFUNC-support-for-arm-gold-backend.patch | 1004 -------
 .../binutils/add-thunderx-support-for-gas.patch    |   33 -
 .../binutils/binutils/binutils-octeon3.patch       |  272 --
 .../{binutils_2.25.1.bb => binutils_2.26.bb}       |    0
 24 files changed, 2587 insertions(+), 2182 deletions(-)
 rename meta/recipes-devtools/binutils/{binutils-2.25.1.inc => binutils-2.26.inc} (76%)
 rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.25.1.bb => binutils-cross-canadian_2.26.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-cross_2.25.1.bb => binutils-cross_2.26.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.25.1.bb => binutils-crosssdk_2.26.bb} (100%)
 rename meta/recipes-devtools/binutils/binutils/{0009-Upstream-Status-Inappropriate-distribution-codesourc.patch => 0009-warn-for-uses-of-system-directories-when-cross-linki.patch} (82%)
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-Fix-dynamic-list-so-that-symbols-not-in-the-list-are.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/0016-This-patch-adds-IFUNC-support-for-arm-gold-backend.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/add-thunderx-support-for-gas.patch
 delete mode 100644 meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch
 rename meta/recipes-devtools/binutils/{binutils_2.25.1.bb => binutils_2.26.bb} (100%)
meta/conf/distro/include/tcmode-default.inc +1 -1
index 9010127..5622f3e 100644
@@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 
 GCCVERSION ?= "5.%"
 SDKGCCVERSION ?= "${GCCVERSION}"
-BINUVERSION ?= "2.25%"
+BINUVERSION ?= "2.26%"
 GDBVERSION ?= "7.10%"
 GLIBCVERSION ?= "2.22"
 UCLIBCVERSION ?= "1.0%"
meta/recipes-devtools/binutils/binutils-2.26.inc renamed from meta/recipes-devtools/binutils/binutils-2.25.1.inc +2 -8
similarity index 76%
rename from meta/recipes-devtools/binutils/binutils-2.25.1.inc
rename to meta/recipes-devtools/binutils/binutils-2.26.inc
index dc23c4d..c955471 100644
@@ -18,7 +18,7 @@ BINUPV = "${@binutils_branch_version(d)}"
 
 UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
 
-SRCREV = "2bd25930221dea4bf33c13a89c111514491440e2"
+SRCREV = "3c9d874373f2189cb704999b0ba39b9bbca91a61"
 SRC_URI = "\
      git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
      file://0002-configure-widen-the-regexp-for-SH-architectures.patch \
@@ -28,16 +28,10 @@ SRC_URI = "\
      file://0006-Use-libtool-2.4.patch \
      file://0007-Add-the-armv5e-architecture-to-binutils.patch \
      file://0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
-     file://0009-Upstream-Status-Inappropriate-distribution-codesourc.patch \
+     file://0009-warn-for-uses-of-system-directories-when-cross-linki.patch \
      file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
      file://0011-Change-default-emulation-for-mips64-linux.patch \
      file://0012-Add-XLP-instructions-support.patch \
-     file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
-     file://0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \
-     file://0015-Fix-dynamic-list-so-that-symbols-not-in-the-list-are.patch \
-     file://0016-This-patch-adds-IFUNC-support-for-arm-gold-backend.patch \
-     file://binutils-octeon3.patch \
-     file://add-thunderx-support-for-gas.patch \
      "
 S  = "${WORKDIR}/git"
 
meta/recipes-devtools/binutils/binutils-cross-canadian_2.26.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.25.1.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils-cross-canadian_2.25.1.bb
rename to meta/recipes-devtools/binutils/binutils-cross-canadian_2.26.bb
meta/recipes-devtools/binutils/binutils-cross_2.26.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.25.1.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils-cross_2.25.1.bb
rename to meta/recipes-devtools/binutils/binutils-cross_2.26.bb
meta/recipes-devtools/binutils/binutils-crosssdk_2.26.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.25.1.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils-crosssdk_2.25.1.bb
rename to meta/recipes-devtools/binutils/binutils-crosssdk_2.26.bb
meta/recipes-devtools/binutils/binutils/0001-Generate-relocatable-SDKs.patch +6 -6
index 1e80c1f..f5cffff 100644
@@ -1,7 +1,7 @@
-From f71ecf251f84b4bbc9b7a832d5cd4a8bae95d83b Mon Sep 17 00:00:00 2001
+From c2263f6e910f43637fb514de5c48e9ce6a8d55f1 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Mon, 2 Mar 2015 01:58:54 +0000
-Subject: [PATCH 01/13] Generate relocatable SDKs
+Subject: [PATCH 01/12] Generate relocatable SDKs
 
 This patch will modify the ELF linker scripts so that the crosssdk
 linker will generate binaries with a 4096 bytes PT_INTERP section. When the binaries
@@ -18,7 +18,7 @@ Signed-off-by: Khem Raj <[email protected]>
  2 files changed, 5 insertions(+), 2 deletions(-)
 
 diff --git a/ld/genscripts.sh b/ld/genscripts.sh
-index 499607a..075dd04 100755
+index a84d233..d12c4e2 100755
 --- a/ld/genscripts.sh
 +++ b/ld/genscripts.sh
 @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}"
@@ -43,10 +43,10 @@ index 499607a..075dd04 100755
  LD_FLAG=
  DATA_ALIGNMENT=${DATA_ALIGNMENT_}
 diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
-index 4368fd9..9f01e8c 100644
+index ec78c90..f9e7a31 100644
 --- a/ld/scripttempl/elf.sc
 +++ b/ld/scripttempl/elf.sc
-@@ -131,8 +131,8 @@ if test -n "${COMMONPAGESIZE}"; then
+@@ -136,8 +136,8 @@ if test -n "${COMMONPAGESIZE}"; then
    DATA_SEGMENT_END=". = DATA_SEGMENT_END (.);"
    DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);"
  fi
@@ -58,5 +58,5 @@ index 4368fd9..9f01e8c 100644
  if test -z "$PLT"; then
    IPLT=".iplt         ${RELOCATING-0} : { *(.iplt) }"
 -- 
-2.1.4
+2.7.0
 
meta/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch +7 -7
index 34e21d1..83995c4 100644
@@ -1,7 +1,7 @@
-From dfbcfb0d71765b337e63562299a943043928d2d2 Mon Sep 17 00:00:00 2001
+From 301ad846e3a3ea0b49243c6276aa7dcc3fa5cc59 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Mon, 2 Mar 2015 01:07:33 +0000
-Subject: [PATCH 02/13] configure: widen the regexp for SH architectures
+Subject: [PATCH 02/12] configure: widen the regexp for SH architectures
 
 gprof needs to know about uclibc
 
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <[email protected]>
  2 files changed, 7 insertions(+), 2 deletions(-)
 
 diff --git a/configure b/configure
-index 87677bc..e9f2f13 100755
+index 34b66f7..85414ab 100755
 --- a/configure
 +++ b/configure
-@@ -3341,7 +3341,7 @@ case "${target}" in
+@@ -3445,7 +3445,7 @@ case "${target}" in
      ;;
    s390-*-* | s390x-*-*)
      ;;
@@ -26,7 +26,7 @@ index 87677bc..e9f2f13 100755
      ;;
    sh64-*-* | sh5*-*-*)
      ;;
-@@ -3812,7 +3812,7 @@ case "${target}" in
+@@ -3939,7 +3939,7 @@ case "${target}" in
    or1k*-*-*)
      noconfigdirs="$noconfigdirs gdb"
      ;;
@@ -36,7 +36,7 @@ index 87677bc..e9f2f13 100755
        sh*-*-elf)
           ;;
 diff --git a/gprof/configure b/gprof/configure
-index b09c8fb..79961c5 100755
+index 2702da1..7dcd141 100755
 --- a/gprof/configure
 +++ b/gprof/configure
 @@ -5869,6 +5869,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
@@ -52,5 +52,5 @@ index b09c8fb..79961c5 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.1.4
+2.7.0
 
meta/recipes-devtools/binutils/binutils/0003-Point-scripts-location-to-libdir.patch +7 -7
index f5ce767..935f949 100644
@@ -1,7 +1,7 @@
-From dfb1412da67bbfe3e993d107d0b5e392f44141ab Mon Sep 17 00:00:00 2001
+From 887db9238821b4f1f5f469f9c825ed9b2e2dc719 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Mon, 2 Mar 2015 01:09:58 +0000
-Subject: [PATCH 03/13] Point scripts location to libdir
+Subject: [PATCH 03/12] Point scripts location to libdir
 
 Upstream-Status: Inappropriate [debian patch]
 
@@ -12,10 +12,10 @@ Signed-off-by: Khem Raj <[email protected]>
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/ld/Makefile.am b/ld/Makefile.am
-index 9575f1f..84df0bf 100644
+index 0b3b049..3871c74 100644
 --- a/ld/Makefile.am
 +++ b/ld/Makefile.am
-@@ -54,7 +54,7 @@ endif
+@@ -57,7 +57,7 @@ endif
  # We put the scripts in the directory $(scriptdir)/ldscripts.
  # We can't put the scripts in $(datadir) because the SEARCH_DIR
  # directives need to be different for native and cross linkers.
@@ -25,10 +25,10 @@ index 9575f1f..84df0bf 100644
  EMUL = @EMUL@
  EMULATION_OFILES = @EMULATION_OFILES@
 diff --git a/ld/Makefile.in b/ld/Makefile.in
-index 9f56ca1..272860f 100644
+index ed98f87..530e4c9 100644
 --- a/ld/Makefile.in
 +++ b/ld/Makefile.in
-@@ -388,7 +388,7 @@ AM_CFLAGS = $(WARN_CFLAGS)
+@@ -413,7 +413,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
  # We put the scripts in the directory $(scriptdir)/ldscripts.
  # We can't put the scripts in $(datadir) because the SEARCH_DIR
  # directives need to be different for native and cross linkers.
@@ -38,5 +38,5 @@ index 9f56ca1..272860f 100644
  BFDDIR = $(BASEDIR)/bfd
  INCDIR = $(BASEDIR)/include
 -- 
-2.1.4
+2.7.0
 
meta/recipes-devtools/binutils/binutils/0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +6 -6
index e3cd2a4..fb9bbd6 100644
@@ -1,7 +1,7 @@
-From 3126608b8c95a792ade56cf62a531d935d391c50 Mon Sep 17 00:00:00 2001
+From 0d76940b5507406719635ee154a29e80a8cb1234 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Mon, 2 Mar 2015 01:27:17 +0000
-Subject: [PATCH 04/13] Only generate an RPATH entry if LD_RUN_PATH is not
+Subject: [PATCH 04/12] Only generate an RPATH entry if LD_RUN_PATH is not
  empty
 
 for cases where -rpath isn't specified. debian (#151024)
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 4 insertions(+)
 
 diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
-index 36dee8e..07bea52 100644
+index 0405d4f..73c5447 100644
 --- a/ld/emultempl/elf32.em
 +++ b/ld/emultempl/elf32.em
-@@ -1198,6 +1198,8 @@ fragment <<EOF
+@@ -1242,6 +1242,8 @@ fragment <<EOF
  	      && command_line.rpath == NULL)
  	    {
  	      lib_path = (const char *) getenv ("LD_RUN_PATH");
@@ -27,7 +27,7 @@ index 36dee8e..07bea52 100644
  	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
  						      force))
  		break;
-@@ -1461,6 +1463,8 @@ gld${EMULATION_NAME}_before_allocation (void)
+@@ -1523,6 +1525,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 36dee8e..07bea52 100644
    for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)
      if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
 -- 
-2.1.4
+2.7.0
 
meta/recipes-devtools/binutils/binutils/0005-Explicitly-link-with-libm-on-uclibc.patch +5 -5
index 9bbd93e..9111abf 100644
@@ -1,7 +1,7 @@
-From f1703bcc7a5c507e471e2630b5a2de129100315a Mon Sep 17 00:00:00 2001
+From 589cc10e54b95607d2728ee37e9387140bf5eb32 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Mon, 2 Mar 2015 01:32:49 +0000
-Subject: [PATCH 05/13] Explicitly link with libm on uclibc
+Subject: [PATCH 05/12] Explicitly link with libm on uclibc
 
 Description:
 
@@ -31,10 +31,10 @@ Signed-off-by: Khem Raj <[email protected]>
  1 file changed, 6 insertions(+)
 
 diff --git a/gas/configure.tgt b/gas/configure.tgt
-index 9abc768..1d92f55 100644
+index 0b490d4..086e0d2 100644
 --- a/gas/configure.tgt
 +++ b/gas/configure.tgt
-@@ -477,6 +477,12 @@ case ${generic_target} in
+@@ -487,6 +487,12 @@ case ${generic_target} in
    *-*-netware)				fmt=elf em=netware ;;
  esac
  
@@ -48,5 +48,5 @@ index 9abc768..1d92f55 100644
    aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | or1k | or1knd | pdp11 | ppc | sparc | z80 | z8k)
      bfd_gas=yes
 -- 
-2.1.4
+2.7.0
 
meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch +2425 -491

2,788 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch +5 -5
index a037634..0319ba6 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +5 -5
index 0ae68fc..ad1901e 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch renamed from meta/recipes-devtools/binutils/binutils/0009-Upstream-Status-Inappropriate-distribution-codesourc.patch +44 -49

93 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +3 -3
index 5451e74..49b19e9 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch +7 -7
index d9d57ee..905b7b3 100644

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils/0012-Add-XLP-instructions-support.patch +64 -82

146 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch deleted +0 -35
deleted file mode 100644
index aee01c0..0000000

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch deleted +0 -25
deleted file mode 100644
index e024302..0000000

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils/0015-Fix-dynamic-list-so-that-symbols-not-in-the-list-are.patch deleted +0 -131

131 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/0016-This-patch-adds-IFUNC-support-for-arm-gold-backend.patch deleted +0 -1004

1,004 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils/add-thunderx-support-for-gas.patch deleted +0 -33
deleted file mode 100644
index 0f6875e..0000000

Lines of this file are not shown. View the raw message.

meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch deleted +0 -272

272 lines not on this page · raw message

meta/recipes-devtools/binutils/binutils_2.26.bb renamed from meta/recipes-devtools/binutils/binutils_2.25.1.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils_2.25.1.bb
rename to meta/recipes-devtools/binutils/binutils_2.26.bb

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.7.0

Part of the diff is not shown here. View the raw message.

author
#3 lore raw
In reply to Khem Raj
Quoted 10 lines · Khem Raj

Upgrade binutils to 2.26
Fix gcc for ppc to not enforce spe by default to assembler use -mno-spe for 74xx

Khem Raj (2):
gcc,qemuppc: Explicitly disable forcing SPE flags
binutils: Upgrade to 2.26

also available at

http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/binutils-2.26

Quoted 45 lines
meta/conf/distro/include/tcmode-default.inc        |    2 +-
meta/conf/machine/include/tune-ppc7400.inc         |    2 +-
meta/conf/machine/qemuppc.conf                     |    2 +
.../{binutils-2.25.1.inc => binutils-2.26.inc}     |   10 +-
...n_2.25.1.bb => binutils-cross-canadian_2.26.bb} |    0
...tils-cross_2.25.1.bb => binutils-cross_2.26.bb} |    0
...rosssdk_2.25.1.bb => binutils-crosssdk_2.26.bb} |    0
.../binutils/0001-Generate-relocatable-SDKs.patch  |   12 +-
...ure-widen-the-regexp-for-SH-architectures.patch |   14 +-
.../0003-Point-scripts-location-to-libdir.patch    |   14 +-
...te-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch |   12 +-
.../0005-Explicitly-link-with-libm-on-uclibc.patch |   10 +-
.../binutils/binutils/0006-Use-libtool-2.4.patch   | 2916 ++++++++++++++++----
...7-Add-the-armv5e-architecture-to-binutils.patch |   10 +-
...he-distro-compiler-point-to-the-wrong-ins.patch |   10 +-
...s-of-system-directories-when-cross-linki.patch} |   93 +-
...-rpath-in-libtool-when-sysroot-is-enabled.patch |    6 +-
...Change-default-emulation-for-mips64-linux.patch |   14 +-
.../0012-Add-XLP-instructions-support.patch        |  146 +-
...rnal-error-in-do_print_to_mapfile-seen-wi.patch |   35 -
...4-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch |   25 -
...-list-so-that-symbols-not-in-the-list-are.patch |  131 -
...h-adds-IFUNC-support-for-arm-gold-backend.patch | 1004 -------
.../binutils/add-thunderx-support-for-gas.patch    |   33 -
.../binutils/binutils/binutils-octeon3.patch       |  272 --
.../{binutils_2.25.1.bb => binutils_2.26.bb}       |    0
...AltiVec-generation-on-powepc-linux-target.patch |   24 +-
27 files changed, 2606 insertions(+), 2191 deletions(-)

rename meta/recipes-devtools/binutils/{binutils-2.25.1.inc => binutils-2.26.inc} (76%)
rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.25.1.bb => binutils-cross-canadian_2.26.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross_2.25.1.bb => binutils-cross_2.26.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.25.1.bb => binutils-crosssdk_2.26.bb} (100%)
rename meta/recipes-devtools/binutils/binutils/{0009-Upstream-Status-Inappropriate-distribution-codesourc.patch => 0009-warn-for-uses-of-system-directories-when-cross-linki.patch} (82%) delete mode 100644 meta/recipes-devtools/binutils/binutils/0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-Fix-dynamic-list-so-that-symbols-not-in-the-list-are.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0016-This-patch-adds-IFUNC-support-for-arm-gold-backend.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/add-thunderx-support-for-gas.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch
rename meta/recipes-devtools/binutils/{binutils_2.25.1.bb => binutils_2.26.bb} (100%)

--
2.7.0

#4 lore raw
In reply to Khem Raj
Quoted 1 line · Khem Raj

Upgrade binutils to 2.26

Has anyone besides us encountered issues when compiling u-boot with the new binutils? It builds, but then fails at runtime. Bug filed at
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9057

So far it is not clear what exactly the problem is, only that reverting the binutils upgrade avoids it.

Signature · 6 lines
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.