Fix PLT rewrite when prelinking fails on 64-bit sparc.
commit1d204bf2945617be272f88ee233adbceeffd5315
authorJoseph Myers <joseph@codesourcery.com>
Sat, 20 Feb 2010 21:39:58 +0000 (20 13:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2010 21:48:05 +0000 (20 13:48 -0800)
tree53434b857b2568fe20a535a8d8abd854ea379b55
parent199428c19774c12b3c4b6e6486ea9d4a021288af
Fix PLT rewrite when prelinking fails on 64-bit sparc.

When prelinking fails we have to rewrite the PLT, but the code
doing so forgets to adjust all rela->r_offset addresses by the
location of where the object was actually mapped.
ChangeLog
sysdeps/sparc/sparc64/dl-machine.h