gold: Add linker relaxation of tail calls on sparc.
authorDavid S. Miller <davem@redhat.com>
Tue, 24 Apr 2012 22:40:23 +0000 (22:40 +0000)
committerDavid S. Miller <davem@redhat.com>
Tue, 24 Apr 2012 22:40:23 +0000 (22:40 +0000)
commita5a5f7a3361f35dc24a91a33a061ff8516c2595b
tree0df1f0472b50a4a2706c57e6f98af6391e07780f
parentf038d49652c08bc36a5f606879d59c2a8270ad4a
gold: Add linker relaxation of tail calls on sparc.

gold/

* sparc.cc (Target_sparc::Relocate::relax_call): New function.
(Target_sparc::Relocate::relocate): Call it for R_SPARC_WDISP30
and R_SPARC_WPLT30.
gold/ChangeLog
gold/sparc.cc