Skip to content

Commit eb51529

Browse files
awojasinskicarlescufi
authored andcommitted
llext: Introduce AARCH64 relocation support
Adds support for all relocation type produced by GCC on AARCH64 platform using partial linking (-r flag) or shared link (-fpic and -shared flag). Signed-off-by: Adam Wojasinski <[email protected]>
1 parent a842b77 commit eb51529

File tree

5 files changed

+536
-2
lines changed

5 files changed

+536
-2
lines changed

arch/arm64/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ if(${SRAM_LENGTH} GREATER 11 OR ${KERNEL_VM_LENGTH} GREATER 11)
2929
zephyr_cc_option(-mcmodel=large)
3030
endif()
3131

32+
zephyr_library_sources_ifdef(CONFIG_LLEXT elf.c)
3233
zephyr_library_sources_ifdef(CONFIG_FPU_SHARING fpu.c fpu.S)
3334
zephyr_library_sources_ifdef(CONFIG_ARM_MMU mmu.c mmu.S)
3435
zephyr_library_sources_ifdef(CONFIG_ARM_MPU cortex_r/arm_mpu.c)

0 commit comments

Comments
 (0)