Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Snajdr <[email protected]>
  • Loading branch information
snajpa committed May 16, 2024
1 parent b0c84b6 commit 731bac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kpatch-build/create-diff-object.c
Original file line number Diff line number Diff line change
Expand Up @@ -2848,9 +2848,9 @@ static void kpatch_check_relocations(struct kpatch_elf *kelf)
* now, just allow all such cases.
*/
if (sec_off < 0 || sec_off > sec_size) {
ERROR("%s+0x%x: out-of-range relocation %s+%lx",
ERROR("%s+0x%x: out-of-range relocation %s+%lx size %ld",
relasec->base->name, rela->offset,
rela->sym->name, rela->addend);
rela->sym->name, rela->addend, sec_size);
}
}
}
Expand Down

0 comments on commit 731bac6

Please sign in to comment.