PATCH: Support VER_FLG_INFO in readelf

David Miller davem@davemloft.net
Mon Mar 8 18:33:00 GMT 2010


From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Mon, 08 Mar 2010 19:15:34 +0100

> David Miller <davem@davemloft.net> writes:
> 
>> So I guess I'll have to add something to GOLD to handle this too.
> 
> That would really help :-)

This should be enough to get past that error:

diff --git a/gold/sparc.cc b/gold/sparc.cc
index 5355c7b..e2d59b9 100644
--- a/gold/sparc.cc
+++ b/gold/sparc.cc
@@ -1719,6 +1719,7 @@ Target_sparc<size, big_endian>::Scan::local(
       break;
 
     case elfcpp::R_SPARC_WDISP30:
+    case elfcpp::R_SPARC_WPLT30:
     case elfcpp::R_SPARC_WDISP22:
     case elfcpp::R_SPARC_WDISP19:
     case elfcpp::R_SPARC_WDISP16:



More information about the Binutils mailing list