llext: zero is a valid relocation offset
Zero offset in a relocation entry is valid, shouldn't ignore it.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
diff --git a/subsys/llext/llext.c b/subsys/llext/llext.c
index de90670..ec145cd 100644
--- a/subsys/llext/llext.c
+++ b/subsys/llext/llext.c
@@ -738,11 +738,6 @@
continue;
}
- if (!rela.r_offset) {
- LOG_WRN("PLT: zero offset idx %u name %s", j, name);
- continue;
- }
-
/* Resolve the symbol */
*(const void **)(text + got_offset) = link_addr;
break;