[PATCH] Support more sparc relocs

Ian Lance Taylor iant@google.com
Sat Apr 7 20:46:00 GMT 2012


David Miller <davem@davemloft.net> writes:

> elfcpp/
>
> 	* sparc.h (R_SPARC_WDISP10): New relocation.
>
> gold/
>
> 	* sparc.cc (Reloc::wdisp10): New relocation method.
> 	(Reloc::h34): Likewise.
> 	(Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
> 	(Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
> 	R_SPARC_WDISP10.
> 	(Target_sparc::Scan::local): Likewise.
> 	(Target_sparc::Scan::global): Likewise.
> 	(Target_sparc::Relocate::relocate): Likewise.

The gold and elfcpp patches are fine (and can be committed separately
from the other patches, if you like).

Thanks.

Ian



More information about the Binutils mailing list