mirror of
https://github.com/dynup/kpatch
synced 2025-01-18 02:50:49 +00:00
c61cb6776a
.toc section entries are mostly place holder for relocation entries, specified in .rela.toc section. Sometimes, .toc section may have constants as entries. These constants are not reference to any symbols, but plain instructions mostly due to some arthimetics in the functions referring them. They are referred by the functions like normal .toc entries, these entries can not be resolved to any symbols. This patch creates a list of constants if available for .toc sections and compares them in rela_equal() to ensure their is no mismatch in the generated constants for original and patched .o files. Cc: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-gcc | ||
kpatch-intermediate.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h | ||
Makefile |