This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Allow R_SPARC_32 on sparc64
- From: James Clarke <jrtc27 at jrtc27 dot com>
- To: binutils at sourceware dot org
- Cc: James Clarke <jrtc27 at jrtc27 dot com>, Cary Coutant <ccoutant at gmail dot com>
- Date: Wed, 13 Jul 2016 19:56:53 +0100
- Subject: [PATCH] Allow R_SPARC_32 on sparc64
- Authentication-results: sourceware.org; auth=none
gold/
* sparc.cc (Target_sparc::Scan::check_non_pic): Allow R_SPARC_32 on
sparc64.
---
gold/sparc.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gold/sparc.cc b/gold/sparc.cc
index dc4612d..d9a8ef4 100644
--- a/gold/sparc.cc
+++ b/gold/sparc.cc
@@ -2150,6 +2150,7 @@ Target_sparc<size, big_endian>::Scan::check_non_pic(Relobj* object, unsigned int
case elfcpp::R_SPARC_RELATIVE:
case elfcpp::R_SPARC_IRELATIVE:
case elfcpp::R_SPARC_COPY:
+ case elfcpp::R_SPARC_32:
case elfcpp::R_SPARC_64:
case elfcpp::R_SPARC_GLOB_DAT:
case elfcpp::R_SPARC_JMP_SLOT:
--
2.9.1