mirror of
https://github.com/dynup/kpatch
synced 2024-12-22 21:22:07 +00:00
15067fcd64
User stettberger noticed that the kpatch support module does not apply the addend for R_X86_64_64 in kpatch_write_relocations(). The AMD64 ABI draft doc [1], Table 4.10: Relocation Types lists that relocation type as: Name Value Field Calculation R_X86_64_64 1 word64 S + A where: S : Represents the value of the symbol whose index resides in the relocation entry. A : Represents the addend used to compute the value of the relocatable field. [1] http://refspecs.linuxfoundation.org/elf/x86_64-abi-0.99.pdf Fixes: #1093 Reported-by: Christian Dietrich <stettberger@dokucode.de> Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> |
||
---|---|---|
.. | ||
core.c | ||
kpatch.h | ||
Makefile | ||
shadow.c |