summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.25.inc1
-rw-r--r--meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch25
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.25.inc b/meta/recipes-devtools/binutils/binutils-2.25.inc
index 6f76530445..269bcbbdbb 100644
--- a/meta/recipes-devtools/binutils/binutils-2.25.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.25.inc
@@ -31,6 +31,7 @@ SRC_URI = "\
31 file://0011-Change-default-emulation-for-mips64-linux.patch \ 31 file://0011-Change-default-emulation-for-mips64-linux.patch \
32 file://0012-Add-XLP-instructions-support.patch \ 32 file://0012-Add-XLP-instructions-support.patch \
33 file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \ 33 file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
34 file://0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \
34 " 35 "
35S = "${WORKDIR}/git" 36S = "${WORKDIR}/git"
36 37
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
new file mode 100644
index 0000000000..e02430251e
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
@@ -0,0 +1,25 @@
1From ebe26d855452d07e0152bd78d4966475d2de1de8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 5 Mar 2015 07:30:31 +0000
4Subject: [PATCH] gold/arm: Skip pic check for R_ARM_REL32
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 gold/arm.cc | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/gold/arm.cc b/gold/arm.cc
12index 6c472bb..fb80435 100644
13--- a/gold/arm.cc
14+++ b/gold/arm.cc
15@@ -7829,6 +7829,7 @@ Target_arm<big_endian>::Scan::check_non_pic(Relobj* object,
16 case elfcpp::R_ARM_TLS_DTPMOD32:
17 case elfcpp::R_ARM_TLS_DTPOFF32:
18 case elfcpp::R_ARM_TLS_TPOFF32:
19+ case elfcpp::R_ARM_REL32:
20 return;
21
22 default:
23--
242.1.4
25