[RFA/Patch] sh64: R_SH_JMP_SLOT reloc. addend
Stephen Clarke
stephen.clarke@earthling.net
Wed Oct 2 15:54:00 GMT 2002
For sh64, the R_SH_JMP_SLOT and R_SH_JMP_SLOT64
dynamic relocations have the value of GOT_BIAS placed in
their addend. The dynamic linker then has to take special care
NOT to add it in when calculating the relocation value.
Is there a reason for putting the GOT_BIAS in the addend?
If not, I suggest we put zero there instead, which means the
dynamic linker does not have to avoid the addend.
The attached file contains a patch to leave zero in the addend,
and an ld testsuite test for the value of the addend.
Steve.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jmpslot-patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20021002/b08ee684/attachment.txt>
More information about the Binutils
mailing list