aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
blob: e02430251e538e0937fef80120387307b4140d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From ebe26d855452d07e0152bd78d4966475d2de1de8 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
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 <raj.khem@gmail.com>
---
 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<big_endian>::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