binutils 2.28 update
cover binutils 2.28 update
musl update needs to go along since it needs a patch to work with binutils 2.28
The following changes since commit 784a8379260759700ab8482b1699c9567d6e9f3f:
tzdata: update to 2017a (2017-03-04 23:18:10 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/binutils-2.28
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/binutils-2.28
Khem Raj (2):
musl: Update to tip
binutils: Upgrade to 2.28 release
meta/conf/distro/include/tcmode-default.inc | 2 +-
meta/recipes-core/musl/musl_git.bb | 2 +-
.../{binutils-2.27.inc => binutils-2.28.inc} | 33 +-
...ian_2.27.bb => binutils-cross-canadian_2.28.bb} | 0
meta/recipes-devtools/binutils/binutils-cross.inc | 2 +-
...nutils-cross_2.27.bb => binutils-cross_2.28.bb} | 0
...-crosssdk_2.27.bb => binutils-crosssdk_2.28.bb} | 2 +-
...utils-crosssdk-Generate-relocatable-SDKs.patch} | 16 +-
...01-ppc-apuinfo-for-spe-parsed-incorrectly.patch | 37 -
...ss-Do-not-generate-linker-script-directo.patch} | 26 +-
...03-gprof-add-uclibc-support-to-configure.patch} | 37 +-
...=> 0004-Point-scripts-location-to-libdir.patch} | 12 +-
...e-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 12 +-
...0006-Explicitly-link-with-libm-on-uclibc.patch} | 12 +-
...ibtool-2.4.patch => 0007-Use-libtool-2.4.patch} | 1046 ++++++++++----------
...-Add-the-armv5e-architecture-to-binutils.patch} | 10 +-
...e-distro-compiler-point-to-the-wrong-ins.patch} | 10 +-
...s-of-system-directories-when-cross-linki.patch} | 42 +-
...rpath-in-libtool-when-sysroot-is-enabled.patch} | 8 +-
...hange-default-emulation-for-mips64-linux.patch} | 14 +-
...tch => 0013-Add-support-for-Netlogic-XLP.patch} | 74 +-
...correct-assembling-for-ppc-wait-mnemonic.patch} | 12 +-
..._sections-check-to-only-consider-compact-.patch | 97 --
.../0015-binutils-mips-gas-pic-relax-linkonce.diff | 65 --
...tch => 0015-sync-with-OE-libtool-changes.patch} | 57 +-
...lt-in-ARM-linker-when-trying-to-parse-a-b.patch | 31 -
...eration-of-alignment-frags-in-code-sectio.patch | 139 ---
.../{binutils_2.27.bb => binutils_2.28.bb} | 0
28 files changed, 674 insertions(+), 1124 deletions(-)
rename meta/recipes-devtools/binutils/{binutils-2.27.inc => binutils-2.28.inc} (47%)
rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.27.bb => binutils-cross-canadian_2.28.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross_2.27.bb => binutils-cross_2.28.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.27.bb => binutils-crosssdk_2.28.bb} (80%)
rename meta/recipes-devtools/binutils/binutils/{0001-Generate-relocatable-SDKs.patch => 0001-binutils-crosssdk-Generate-relocatable-SDKs.patch} (84%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch
rename meta/recipes-devtools/binutils/binutils/{no-tooldirpaths.patch => 0002-binutils-cross-Do-not-generate-linker-script-directo.patch} (75%)
rename meta/recipes-devtools/binutils/binutils/{0002-configure-widen-the-regexp-for-SH-architectures.patch => 0003-gprof-add-uclibc-support-to-configure.patch} (42%)
rename meta/recipes-devtools/binutils/binutils/{0003-Point-scripts-location-to-libdir.patch => 0004-Point-scripts-location-to-libdir.patch} (80%)
rename meta/recipes-devtools/binutils/binutils/{0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (79%)
rename meta/recipes-devtools/binutils/binutils/{0005-Explicitly-link-with-libm-on-uclibc.patch => 0006-Explicitly-link-with-libm-on-uclibc.patch} (84%)
rename meta/recipes-devtools/binutils/binutils/{0006-Use-libtool-2.4.patch => 0007-Use-libtool-2.4.patch} (97%)
rename meta/recipes-devtools/binutils/binutils/{0007-Add-the-armv5e-architecture-to-binutils.patch => 0008-Add-the-armv5e-architecture-to-binutils.patch} (83%)
rename meta/recipes-devtools/binutils/binutils/{0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0009-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (82%)
rename meta/recipes-devtools/binutils/binutils/{0009-warn-for-uses-of-system-directories-when-cross-linki.patch => 0010-warn-for-uses-of-system-directories-when-cross-linki.patch} (90%)
rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0011-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (90%)
rename meta/recipes-devtools/binutils/binutils/{0011-Change-default-emulation-for-mips64-linux.patch => 0012-Change-default-emulation-for-mips64-linux.patch} (88%)
rename meta/recipes-devtools/binutils/binutils/{0012-Add-support-for-Netlogic-XLP.patch => 0013-Add-support-for-Netlogic-XLP.patch} (90%)
rename meta/recipes-devtools/binutils/binutils/{0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0014-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (76%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-Refine-.cfi_sections-check-to-only-consider-compact-.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-binutils-mips-gas-pic-relax-linkonce.diff
rename meta/recipes-devtools/binutils/binutils/{0014-libtool-remove-rpath.patch => 0015-sync-with-OE-libtool-changes.patch} (72%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0016-Fix-seg-fault-in-ARM-linker-when-trying-to-parse-a-b.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0017-Fix-the-generation-of-alignment-frags-in-code-sectio.patch
rename meta/recipes-devtools/binutils/{binutils_2.27.bb => binutils_2.28.bb} (100%)Signature · 1 line
2.12.0
PATCH 1/2 musl: Update to tip
Bring in some needed chnages for arm
Bobby Bingham (1):
s390x: implement dlsym
Rich Felker (2):
fix build regression in arm atomics asm with new binutils allow page size to vary on arm
Szabolcs Nagy (1):
fix lsearch and lfind to pass key as first arg to the compar callback
--- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/musl/musl_git.bb +1 -1
@@ -3,7 +3,7 @@ require musl.inc -SRCREV = "d6601f0af0452b218d247cb47513fc9cd6bbf2e2" +SRCREV = "827c4e6fbe46142049ef3d8bcb8f35951712797d" PV = "1.1.16+git${SRCPV}"
Signature · 1 line
2.12.0
PATCH 2/2 binutils: Upgrade to 2.28 release
In reply to Khem Raj---
meta/conf/distro/include/tcmode-default.inc | 2 +-
.../{binutils-2.27.inc => binutils-2.28.inc} | 33 +-
...ian_2.27.bb => binutils-cross-canadian_2.28.bb} | 0
meta/recipes-devtools/binutils/binutils-cross.inc | 2 +-
...nutils-cross_2.27.bb => binutils-cross_2.28.bb} | 0
...-crosssdk_2.27.bb => binutils-crosssdk_2.28.bb} | 2 +-
...utils-crosssdk-Generate-relocatable-SDKs.patch} | 16 +-
...01-ppc-apuinfo-for-spe-parsed-incorrectly.patch | 37 -
...ss-Do-not-generate-linker-script-directo.patch} | 26 +-
...03-gprof-add-uclibc-support-to-configure.patch} | 37 +-
...=> 0004-Point-scripts-location-to-libdir.patch} | 12 +-
...e-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} | 12 +-
...0006-Explicitly-link-with-libm-on-uclibc.patch} | 12 +-
...ibtool-2.4.patch => 0007-Use-libtool-2.4.patch} | 1046 ++++++++++----------
...-Add-the-armv5e-architecture-to-binutils.patch} | 10 +-
...e-distro-compiler-point-to-the-wrong-ins.patch} | 10 +-
...s-of-system-directories-when-cross-linki.patch} | 42 +-
...rpath-in-libtool-when-sysroot-is-enabled.patch} | 8 +-
...hange-default-emulation-for-mips64-linux.patch} | 14 +-
...tch => 0013-Add-support-for-Netlogic-XLP.patch} | 74 +-
...correct-assembling-for-ppc-wait-mnemonic.patch} | 12 +-
..._sections-check-to-only-consider-compact-.patch | 97 --
.../0015-binutils-mips-gas-pic-relax-linkonce.diff | 65 --
...tch => 0015-sync-with-OE-libtool-changes.patch} | 57 +-
...lt-in-ARM-linker-when-trying-to-parse-a-b.patch | 31 -
...eration-of-alignment-frags-in-code-sectio.patch | 139 ---
.../{binutils_2.27.bb => binutils_2.28.bb} | 0
27 files changed, 673 insertions(+), 1123 deletions(-)
rename meta/recipes-devtools/binutils/{binutils-2.27.inc => binutils-2.28.inc} (47%)
rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.27.bb => binutils-cross-canadian_2.28.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-cross_2.27.bb => binutils-cross_2.28.bb} (100%)
rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.27.bb => binutils-crosssdk_2.28.bb} (80%)
rename meta/recipes-devtools/binutils/binutils/{0001-Generate-relocatable-SDKs.patch => 0001-binutils-crosssdk-Generate-relocatable-SDKs.patch} (84%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch
rename meta/recipes-devtools/binutils/binutils/{no-tooldirpaths.patch => 0002-binutils-cross-Do-not-generate-linker-script-directo.patch} (75%)
rename meta/recipes-devtools/binutils/binutils/{0002-configure-widen-the-regexp-for-SH-architectures.patch => 0003-gprof-add-uclibc-support-to-configure.patch} (42%)
rename meta/recipes-devtools/binutils/binutils/{0003-Point-scripts-location-to-libdir.patch => 0004-Point-scripts-location-to-libdir.patch} (80%)
rename meta/recipes-devtools/binutils/binutils/{0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch => 0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch} (79%)
rename meta/recipes-devtools/binutils/binutils/{0005-Explicitly-link-with-libm-on-uclibc.patch => 0006-Explicitly-link-with-libm-on-uclibc.patch} (84%)
rename meta/recipes-devtools/binutils/binutils/{0006-Use-libtool-2.4.patch => 0007-Use-libtool-2.4.patch} (97%)
rename meta/recipes-devtools/binutils/binutils/{0007-Add-the-armv5e-architecture-to-binutils.patch => 0008-Add-the-armv5e-architecture-to-binutils.patch} (83%)
rename meta/recipes-devtools/binutils/binutils/{0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch => 0009-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch} (82%)
rename meta/recipes-devtools/binutils/binutils/{0009-warn-for-uses-of-system-directories-when-cross-linki.patch => 0010-warn-for-uses-of-system-directories-when-cross-linki.patch} (90%)
rename meta/recipes-devtools/binutils/binutils/{0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch => 0011-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch} (90%)
rename meta/recipes-devtools/binutils/binutils/{0011-Change-default-emulation-for-mips64-linux.patch => 0012-Change-default-emulation-for-mips64-linux.patch} (88%)
rename meta/recipes-devtools/binutils/binutils/{0012-Add-support-for-Netlogic-XLP.patch => 0013-Add-support-for-Netlogic-XLP.patch} (90%)
rename meta/recipes-devtools/binutils/binutils/{0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch => 0014-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch} (76%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-Refine-.cfi_sections-check-to-only-consider-compact-.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0015-binutils-mips-gas-pic-relax-linkonce.diff
rename meta/recipes-devtools/binutils/binutils/{0014-libtool-remove-rpath.patch => 0015-sync-with-OE-libtool-changes.patch} (72%)
delete mode 100644 meta/recipes-devtools/binutils/binutils/0016-Fix-seg-fault-in-ARM-linker-when-trying-to-parse-a-b.patch
delete mode 100644 meta/recipes-devtools/binutils/binutils/0017-Fix-the-generation-of-alignment-frags-in-code-sectio.patch
rename meta/recipes-devtools/binutils/{binutils_2.27.bb => binutils_2.28.bb} (100%)meta/conf/distro/include/tcmode-default.inc +1 -1
@@ -24,7 +24,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "6.3%" SDKGCCVERSION ?= "${GCCVERSION}" -BINUVERSION ?= "2.27%" +BINUVERSION ?= "2.28%" GDBVERSION ?= "7.12%" GLIBCVERSION ?= "2.25" UCLIBCVERSION ?= "1.0%"
meta/recipes-devtools/binutils/binutils-2.28.inc renamed from meta/recipes-devtools/binutils/binutils-2.27.inc +14 -19
@@ -18,27 +18,22 @@ BINUPV = "${@binutils_branch_version(d)}" UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" -SRCREV = "5fe53ce37f9d9dd544ec8cc9e2863b68e1a61f4c" +SRCREV = "354199c7692c1bed53a2a15f0e4d531457e95f17" 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 \ - file://0003-Point-scripts-location-to-libdir.patch \ - file://0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ - file://0005-Explicitly-link-with-libm-on-uclibc.patch \ - 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-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-support-for-Netlogic-XLP.patch \ - file://0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ - file://0014-libtool-remove-rpath.patch \ - file://0015-binutils-mips-gas-pic-relax-linkonce.diff \ - file://0015-Refine-.cfi_sections-check-to-only-consider-compact-.patch \ - file://0016-Fix-seg-fault-in-ARM-linker-when-trying-to-parse-a-b.patch \ - file://0017-Fix-the-generation-of-alignment-frags-in-code-sectio.patch \ - file://0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch \ + file://0003-gprof-add-uclibc-support-to-configure.patch \ + file://0004-Point-scripts-location-to-libdir.patch \ + file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ + file://0006-Explicitly-link-with-libm-on-uclibc.patch \ + file://0007-Use-libtool-2.4.patch \ + file://0008-Add-the-armv5e-architecture-to-binutils.patch \ + file://0009-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ + file://0010-warn-for-uses-of-system-directories-when-cross-linki.patch \ + file://0011-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ + file://0012-Change-default-emulation-for-mips64-linux.patch \ + file://0013-Add-support-for-Netlogic-XLP.patch \ + file://0014-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ + file://0015-sync-with-OE-libtool-changes.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils-cross-canadian_2.28.bb renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.27.bb +0 -0
meta/recipes-devtools/binutils/binutils-cross.inc +1 -1
@@ -7,7 +7,7 @@ BPN = "binutils" INHIBIT_DEFAULT_DEPS = "1" INHIBIT_AUTOTOOLS_DEPS = "1" -SRC_URI += "file://no-tooldirpaths.patch" +SRC_URI += "file://0002-binutils-cross-Do-not-generate-linker-script-directo.patch" # Specify lib-path else we use a load of search dirs which we don't use # and mean the linker scripts have to be relocated.
meta/recipes-devtools/binutils/binutils-cross_2.28.bb renamed from meta/recipes-devtools/binutils/binutils-cross_2.27.bb +0 -0
meta/recipes-devtools/binutils/binutils-crosssdk_2.28.bb renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.27.bb +1 -1
@@ -6,7 +6,7 @@ PN = "binutils-crosssdk-${SDK_SYS}" PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" -SRC_URI += "file://0001-Generate-relocatable-SDKs.patch" +SRC_URI += "file://0001-binutils-crosssdk-Generate-relocatable-SDKs.patch" do_configure_prepend () { sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
meta/recipes-devtools/binutils/binutils/0001-binutils-crosssdk-Generate-relocatable-SDKs.patch renamed from meta/recipes-devtools/binutils/binutils/0001-Generate-relocatable-SDKs.patch +8 -8
@@ -1,7 +1,7 @@ -From 2dae6b137ce609fd008f2063034a4403d95484c5 Mon Sep 17 00:00:00 2001 +From 689d011688b5ff9481d4367bef3dea7a7b2867fb 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/15] binutils-crosssdk: 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 eb262e7..1a3b8bc 100755 +index b6940d376d..a42c4d7a4b 100755 --- a/ld/genscripts.sh +++ b/ld/genscripts.sh @@ -277,6 +277,7 @@ DATA_ALIGNMENT_u="${DATA_ALIGNMENT_u-${DATA_ALIGNMENT_r}}"
@@ -43,12 +43,12 @@ index eb262e7..1a3b8bc 100755 LD_FLAG= DATA_ALIGNMENT=${DATA_ALIGNMENT_} diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc -index f0c6439..223c55f 100644 +index e65f9a3ccf..d99d2c1d2a 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc -@@ -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}, .);" +@@ -138,8 +138,8 @@ if test -z "$DATA_SEGMENT_ALIGN"; then + DATA_SEGMENT_RELRO_END=". = DATA_SEGMENT_RELRO_END (${SEPARATE_GOTPLT-0}, .);" + fi fi -if test -z "${INITIAL_READONLY_SECTIONS}${CREATE_SHLIB}"; then - INITIAL_READONLY_SECTIONS=".interp ${RELOCATING-0} : { *(.interp) }"
@@ -58,5 +58,5 @@ index f0c6439..223c55f 100644 if test -z "$PLT"; then IPLT=".iplt ${RELOCATING-0} : { *(.iplt) }" -- -2.9.0 +2.12.0
meta/recipes-devtools/binutils/binutils/0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 8941017bc0226b60ce306d5271df15820ce66a53 Mon Sep 17 00:00:00 2001 -From: Alan Modra <[email protected]> -Date: Tue, 30 Aug 2016 20:57:32 +0930 -Subject: [PATCH] ppc apuinfo for spe parsed incorrectly -Organization: O.S. Systems Software LTDA. - -apuinfo saying SPE resulted in mach = bfd_mach_ppc_vle due to a -missing break. - - PR 20531 - * elf32-ppc.c (_bfd_elf_ppc_set_arch): Add missing "break". - - -Backport from : -https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=8941017b - -Upstream-Status: Backport -Signed-off-by: Fabio Berton <[email protected]> ---- - bfd/elf32-ppc.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c -index 95ce1dc..e42ef1c 100644 ---- a/bfd/elf32-ppc.c -+++ b/bfd/elf32-ppc.c -@@ -2246,6 +2246,7 @@ _bfd_elf_ppc_set_arch (bfd *abfd) - case PPC_APUINFO_BRLOCK: - if (mach != bfd_mach_ppc_vle) - mach = bfd_mach_ppc_e500; -+ break; - - case PPC_APUINFO_VLE: - mach = bfd_mach_ppc_vle; --- -2.1.4 -
meta/recipes-devtools/binutils/binutils/0002-binutils-cross-Do-not-generate-linker-script-directo.patch renamed from meta/recipes-devtools/binutils/binutils/no-tooldirpaths.patch +20 -6
@@ -1,20 +1,31 @@ +From 7c7de107b4b0a507d2aeca3e3a86d01cb4b51360 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Mon, 6 Mar 2017 23:37:05 -0800 +Subject: [PATCH 02/15] binutils-cross: Do not generate linker script + directories + We don't place target libraries within ${exec_prefix}, we'd always place these within the target sysroot within the standard library directories. Worse, the append_to_lib_path code prefixes these paths with the sysroot which makes even less sense. -These directories therefore don't make sense in our case and mean we have to -relocate all the linker scripts if they're present. Dropping them +These directories therefore don't make sense in our case and mean we have to +relocate all the linker scripts if they're present. Dropping them gives a reasonable performance improvement/simplification. Upstream-Status: Inappropriate RP 2017/01/30 -Index: git/ld/genscripts.sh -=================================================================== ---- git.orig/ld/genscripts.sh -+++ git/ld/genscripts.sh +Signed-off-by: Khem Raj <[email protected]> +--- + ld/genscripts.sh | 23 ----------------------- + 1 file changed, 23 deletions(-) + +diff --git a/ld/genscripts.sh b/ld/genscripts.sh +index a42c4d7a4b..d727b4d07e 100755 +--- a/ld/genscripts.sh ++++ b/ld/genscripts.sh @@ -189,29 +189,6 @@ append_to_lib_path() fi }
@@ -45,3 +56,6 @@ Index: git/ld/genscripts.sh if [ "x${LIB_PATH}" = "x" ] && [ "x${USE_LIBPATH}" = xyes ] ; then libs=${NATIVE_LIB_DIRS} if [ "x${NATIVE}" = "xyes" ] ; then +-- +2.12.0 +
meta/recipes-devtools/binutils/binutils/0003-gprof-add-uclibc-support-to-configure.patch renamed from meta/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch +6 -31
@@ -1,45 +1,20 @@ -From e4cd40722f597dff39c7214fab1742dd5bcc67eb Mon Sep 17 00:00:00 2001 +From 7893d2b24d0303bda3a0049846489619ffd1387b 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 - -gprof needs to know about uclibc +Subject: [PATCH 03/15] gprof: add uclibc support to configure Upstream-Status: Pending Signed-off-by: Khem Raj <[email protected]> --- - configure | 4 ++-- gprof/configure | 5 +++++ - 2 files changed, 7 insertions(+), 2 deletions(-) + 1 file changed, 5 insertions(+) -diff --git a/configure b/configure -index ad3dfb7..2a74a77 100755 ---- a/configure -+++ b/configure -@@ -3444,7 +3444,7 @@ case "${target}" in - ;; - s390-*-* | s390x-*-*) - ;; -- sh-*-* | sh[34]*-*-*) -+ sh*-*-* | sh[34]*-*-*) - ;; - sh64-*-* | sh5*-*-*) - ;; -@@ -3946,7 +3946,7 @@ case "${target}" in - or1k*-*-*) - noconfigdirs="$noconfigdirs gdb" - ;; -- sh-*-* | sh64-*-*) -+ sh*-*-* | sh64-*-*) - case "${target}" in - sh*-*-elf) - ;; diff --git a/gprof/configure b/gprof/configure -index bf3ecaa..626e1c7 100755 +index 9e6b8f3525..38a4c0b0e5 100755 --- a/gprof/configure +++ b/gprof/configure -@@ -5873,6 +5873,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) +@@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;;
@@ -52,5 +27,5 @@ index bf3ecaa..626e1c7 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.9.0 +2.12.0
meta/recipes-devtools/binutils/binutils/0004-Point-scripts-location-to-libdir.patch renamed from meta/recipes-devtools/binutils/binutils/0003-Point-scripts-location-to-libdir.patch +6 -6
@@ -1,7 +1,7 @@ -From 93c49f6197bd59b2abbf04b3296bf10029b80f48 Mon Sep 17 00:00:00 2001 +From e34650c50574a8a39d694567ed607a63006b6f99 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 04/15] Point scripts location to libdir Upstream-Status: Inappropriate [debian patch]
@@ -12,7 +12,7 @@ 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 0598923..b478ba7 100644 +index 15beaa7021..bbf9c671d8 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -57,7 +57,7 @@ endif
@@ -25,10 +25,10 @@ index 0598923..b478ba7 100644 EMUL = @EMUL@ EMULATION_OFILES = @EMULATION_OFILES@ diff --git a/ld/Makefile.in b/ld/Makefile.in -index 7c78198..5eb67e0 100644 +index 042b690ed6..37e7b25e9a 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in -@@ -451,7 +451,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) +@@ -452,7 +452,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 7c78198..5eb67e0 100644 BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include -- -2.9.0 +2.12.0
meta/recipes-devtools/binutils/binutils/0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch renamed from meta/recipes-devtools/binutils/binutils/0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch +6 -6
@@ -1,7 +1,7 @@ -From 4ff83779de8621715c6c2a79cf7ed8d74ff2d7c5 Mon Sep 17 00:00:00 2001 +From 42292f5533bca904f230a8e03ceee1f84ef0c4ec 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 05/15] 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 47fa549..f4c640e 100644 +index 84adaef6df..ab8c74257e 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em -@@ -1244,6 +1244,8 @@ fragment <<EOF +@@ -1411,6 +1411,8 @@ fragment <<EOF && command_line.rpath == NULL) { lib_path = (const char *) getenv ("LD_RUN_PATH");
@@ -27,7 +27,7 @@ index 47fa549..f4c640e 100644 if (gld${EMULATION_NAME}_search_needed (lib_path, &n, force)) break; -@@ -1525,6 +1527,8 @@ gld${EMULATION_NAME}_before_allocation (void) +@@ -1692,6 +1694,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 47fa549..f4c640e 100644 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next) if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) -- -2.9.0 +2.12.0
meta/recipes-devtools/binutils/binutils/0006-Explicitly-link-with-libm-on-uclibc.patch renamed from meta/recipes-devtools/binutils/binutils/0005-Explicitly-link-with-libm-on-uclibc.patch +6 -6
@@ -1,7 +1,7 @@ -From 18a7ae169e8d55ace683357d1de6b07e4fdf797a Mon Sep 17 00:00:00 2001 +From 6a46bf151d7e53df8b5e7645a2d241967688368a 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 06/15] 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 e2df659..1b9fd99 100644 +index 711d537e95..7cd2dc176a 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt -@@ -487,6 +487,12 @@ case ${generic_target} in +@@ -494,6 +494,12 @@ case ${generic_target} in *-*-netware) fmt=elf em=netware ;; esac
@@ -45,8 +45,8 @@ index e2df659..1b9fd99 100644 +esac + case ${cpu_type} in - aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | or1k | or1knd | pdp11 | ppc | sparc | z80 | z8k) + aarch64 | alpha | arm | i386 | ia64 | microblaze | mips | ns32k | or1k | or1knd | pdp11 | ppc | riscv | sparc | z80 | z8k) bfd_gas=yes -- -2.9.0 +2.12.0
meta/recipes-devtools/binutils/binutils/0007-Use-libtool-2.4.patch renamed from meta/recipes-devtools/binutils/binutils/0006-Use-libtool-2.4.patch +503 -543
2,659 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0008-Add-the-armv5e-architecture-to-binutils.patch renamed from meta/recipes-devtools/binutils/binutils/0007-Add-the-armv5e-architecture-to-binutils.patch +5 -5
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0009-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch renamed from meta/recipes-devtools/binutils/binutils/0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch +5 -5
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0010-warn-for-uses-of-system-directories-when-cross-linki.patch renamed from meta/recipes-devtools/binutils/binutils/0009-warn-for-uses-of-system-directories-when-cross-linki.patch +21 -21
42 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0011-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch renamed from meta/recipes-devtools/binutils/binutils/0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch +4 -4
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0012-Change-default-emulation-for-mips64-linux.patch renamed from meta/recipes-devtools/binutils/binutils/0011-Change-default-emulation-for-mips64-linux.patch +7 -7
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0013-Add-support-for-Netlogic-XLP.patch renamed from meta/recipes-devtools/binutils/binutils/0012-Add-support-for-Netlogic-XLP.patch +30 -44
74 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0014-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch renamed from meta/recipes-devtools/binutils/binutils/0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch +6 -6
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0015-Refine-.cfi_sections-check-to-only-consider-compact-.patch deleted +0 -97
97 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0015-binutils-mips-gas-pic-relax-linkonce.diff deleted +0 -65
65 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0015-sync-with-OE-libtool-changes.patch renamed from meta/recipes-devtools/binutils/binutils/0014-libtool-remove-rpath.patch +23 -34
57 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0016-Fix-seg-fault-in-ARM-linker-when-trying-to-parse-a-b.patch deleted +0 -31
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/binutils/binutils/0017-Fix-the-generation-of-alignment-frags-in-code-sectio.patch deleted +0 -139
139 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils_2.28.bb renamed from meta/recipes-devtools/binutils/binutils_2.27.bb +0 -0
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.12.0
Part of the diff is not shown here. View the raw message.