Fix PLT rewrite when prelinking fails on 32-bit sparc.
authorDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2010 21:40:59 +0000 (13:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Feb 2010 21:48:06 +0000 (13:48 -0800)
commit5c866a8b9be0bd8dff97dd8143e55dd228617c23
tree4ff0d2cb41595f5252997879c04baaaef02a4953
parent1d204bf2945617be272f88ee233adbceeffd5315
Fix PLT rewrite when prelinking fails on 32-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/sparc32/dl-machine.h