From a23cbec2fab9832dfcbad08e22f0f81a01fcab65 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 28 May 2015 19:22:31 -0700 Subject: binutils: Update to tip of 2.25 branch This update brings following patches 749b1c7 Fix some PPC assembler errors. fe1e924 [AArch64][Backport] Remove Load/Store register (unscaled immediate) alias 4e4d08c [AArch64][Backport] Don't always create new frag for .inst directive 0381bf1 [AArch64][Backport] PR18270, fix handling of GOT entry for local symbol bb22a11 [AArch64][Backport]Improve PC-relative relocation check for shared library 699dcf3 opcodes/ e700dd4 Downgrade linker error on protected symbols in .dynbss to a warning 13ccf8a Revert "Add extern_protected_data and set it for x86" b0356a6 Add support for the Samsung Exynos M1 processor. 40dbf9d Add support for the Samsung Exynos M1 processor. 2aa5937 Don't pass unadorned zeros to varargs functions 12aca65 Relax PR 15228 protected visibility restriction b443789 [AArch64] Fix branch stubs for BE ab50ec0 Import fixes from mainline sources that address illegal memory access problems with the ELF targeted parts of the BFD library. a539f2c Import patches from the master sources which fix illegal memory accesses found by running the binutils on fuzzed binaries. a5ebc2c Fix build problem introduced by previous delta to coffgrok.c 7a57494 Import fixes from mainline that address illegal memory accesses when working with COFF/PE based files. 4f9583e Import fixes from trunk sources to correct invalid memory access issues with various binutils programs. 304a2b6 Import fixes for invalid memory access issues in the binutils DWARF parser from the trunk sources. 1dead8a Import security fixes for readelf from the master branch: 3e3feb3 Limit multi-byte nop instructions to 10 bytes f12dd7b S/390: Disable relocation sort against code sections. 846daac Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated 7235408 Tweak ppc32 tls_get_addr optimisation 642fe3b PowerPC64 thread-safe stubs not needed for iplt 2791b63 Use dynamic text relocs for protected vars cff59f0 PowerPC64 GOLD: complain on misaligned _DS relocs 20951c8 Fix gold error: hidden symbol '...' is not defined locally 7428be5 [AArch64][2.25] Backport support for Cortex-A72 8093a8b [ARM][2.25] Backport support for Cortex-A72 f7cf878 [ARM] Backport "Skip private symbol when doing objdump" 031994d Add extern_protected_data and set it for x86 Additionally rearranges the local patches in sequence Signed-off-by: Khem Raj --- meta/recipes-devtools/binutils/binutils-2.25.inc | 4 ++-- ...1-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch | 25 ---------------------- ...4-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch | 25 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch create mode 100644 meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/binutils/binutils-2.25.inc b/meta/recipes-devtools/binutils/binutils-2.25.inc index 269bcbbdbb..c9a5fe075c 100644 --- a/meta/recipes-devtools/binutils/binutils-2.25.inc +++ b/meta/recipes-devtools/binutils/binutils-2.25.inc @@ -16,7 +16,7 @@ def binutils_branch_version(d): BINUPV = "${@binutils_branch_version(d)}" -SRCREV = "f2df1e49400f9e2d8d63a5d0fec9bf8c5c2b3342" +SRCREV = "bff55dd20499331280c96697a25b48dd4d7b69e8" 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 \ @@ -31,7 +31,7 @@ SRC_URI = "\ 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://0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \ + file://0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \ " S = "${WORKDIR}/git" diff --git a/meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch b/meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch deleted file mode 100644 index e02430251e..0000000000 --- a/meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch +++ /dev/null @@ -1,25 +0,0 @@ -From ebe26d855452d07e0152bd78d4966475d2de1de8 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 5 Mar 2015 07:30:31 +0000 -Subject: [PATCH] gold/arm: Skip pic check for R_ARM_REL32 - -Signed-off-by: Khem Raj ---- - gold/arm.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/gold/arm.cc b/gold/arm.cc -index 6c472bb..fb80435 100644 ---- a/gold/arm.cc -+++ b/gold/arm.cc -@@ -7829,6 +7829,7 @@ Target_arm::Scan::check_non_pic(Relobj* object, - case elfcpp::R_ARM_TLS_DTPMOD32: - case elfcpp::R_ARM_TLS_DTPOFF32: - case elfcpp::R_ARM_TLS_TPOFF32: -+ case elfcpp::R_ARM_REL32: - return; - - default: --- -2.1.4 - diff --git a/meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch b/meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch new file mode 100644 index 0000000000..e02430251e --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch @@ -0,0 +1,25 @@ +From ebe26d855452d07e0152bd78d4966475d2de1de8 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 5 Mar 2015 07:30:31 +0000 +Subject: [PATCH] gold/arm: Skip pic check for R_ARM_REL32 + +Signed-off-by: Khem Raj +--- + gold/arm.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gold/arm.cc b/gold/arm.cc +index 6c472bb..fb80435 100644 +--- a/gold/arm.cc ++++ b/gold/arm.cc +@@ -7829,6 +7829,7 @@ Target_arm::Scan::check_non_pic(Relobj* object, + case elfcpp::R_ARM_TLS_DTPMOD32: + case elfcpp::R_ARM_TLS_DTPOFF32: + case elfcpp::R_ARM_TLS_TPOFF32: ++ case elfcpp::R_ARM_REL32: + return; + + default: +-- +2.1.4 + -- cgit 1.2.3-korg