Skip to content

Commit 74b5625

Browse files
awojasinskicarlescufi
authored andcommitted
llext: Add RELA sections processing for AARCH64
Allow to process `RELA` sections on aarch64 platform. Signed-off-by: Adam Wojasinski <[email protected]>
1 parent eb51529 commit 74b5625

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

subsys/llext/llext_link.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,7 @@ int llext_link(struct llext_loader *ldr, struct llext *ext, bool do_local)
284284
}
285285
break;
286286
case SHT_RELA:
287-
/* FIXME: currently implemented only on the Xtensa code path */
288-
if (!IS_ENABLED(CONFIG_XTENSA)) {
287+
if (IS_ENABLED(CONFIG_ARM)) {
289288
LOG_ERR("Found unsupported SHT_RELA section %d", i);
290289
return -ENOTSUP;
291290
}

0 commit comments

Comments
 (0)