llext: add a weak arch_elf_relocate() stub
The module linking API can be used for shared objects with no architecture-specific relocation code. Add a weak function for such cases. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
ade72c2b3a
commit
f0527b5571
|
@ -403,6 +403,10 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
__weak void arch_elf_relocate(elf_rel_t *rel, uintptr_t opaddr, uintptr_t opval)
|
||||
{
|
||||
}
|
||||
|
||||
static int llext_link(struct llext_loader *ldr, struct llext *ext)
|
||||
{
|
||||
int ret = 0;
|
||||
|
|
Loading…
Reference in a new issue