Add support for R_SPARC_32 relocation.
authorJames Clarke <jrtc27@jrtc27.com>
Wed, 10 Aug 2016 16:42:39 +0000 (09:42 -0700)
committerCary Coutant <ccoutant@gmail.com>
Wed, 10 Aug 2016 16:42:39 +0000 (09:42 -0700)
gold/
PR gold/20441
* sparc.cc (Target_sparc::Scan::check_non_pic): Allow R_SPARC_32 on
sparc64.

gold/ChangeLog
gold/sparc.cc

index 239df36f234ec6ade83a7701c2923911bc6d3c70..cca545586b9a353108a8f899c2497110cc1f9c48 100644 (file)
@@ -1,6 +1,11 @@
+2016-08-10  James Clarke  <jrtc27@jrtc27.com>
+
+       PR gold/20441
+       * sparc.cc (Target_sparc::Scan::check_non_pic): Allow R_SPARC_32 on
+       sparc64.
+
 2016-06-29  Cary Coutant  <ccoutant@gmail.com>
 
-gold/
        PR gold/20310
        * testsuite/dynamic_list.sh: Remove check for _ZdlPv.
 
index dc4612dc2a1093afba2e2512267a15d3a3a72bf8..d9a8ef4da535c70c4e97bacb4dcebe4129074474 100644 (file)
@@ -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: