mirror of https://github.com/dynup/kpatch
create-diff-object: error on unsupported rela in symbol conversion
Error out if an unsupported rela is encountered. This is more robust than just ignoring it. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
3f8e1062cc
commit
bf212f7750
|
@ -1588,7 +1588,7 @@ static void kpatch_replace_sections_syms(struct kpatch_elf *kelf)
|
|||
(long)relasec->base->data->d_buf -
|
||||
rela->offset);
|
||||
} else
|
||||
continue;
|
||||
ERROR("unhandled rela type %d", rela->type);
|
||||
break;
|
||||
default:
|
||||
ERROR("unsupported arch");
|
||||
|
|
Loading…
Reference in New Issue