Add support for R_SPARC_32 relocation.

gold/
	PR gold/20441
	* sparc.cc (Target_sparc::Scan::check_non_pic): Allow R_SPARC_32 on
	sparc64.
This commit is contained in:
James Clarke 2016-08-10 09:42:39 -07:00 committed by Cary Coutant
parent 669f9429c7
commit 55872e496e
2 changed files with 7 additions and 1 deletions

View 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.

View 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: