Skip to content

Conversation

@pillo79
Copy link
Contributor

@pillo79 pillo79 commented Nov 8, 2024

The linker script snippet that places the llext_no_syscall_impl section has the unfortunate side effect of overwriting the current linker address. This can lead to unexpected behavior of the caller script.

Saving the current address before defining the section and restoring it afterwards avoids this issue.

Fixes weekly CI issue #81136.

The linker script snippet that places the llext_no_syscall_impl section
has the unfortunate side effect of overwriting the current linker
address. This can lead to unexpected behavior of the caller script.

Saving the current address before defining the section and restoring it
afterwards avoids this issue.

Fixes zephyrproject-rtos#81136.

Signed-off-by: Luca Burelli <[email protected]>
@pillo79 pillo79 marked this pull request as ready for review November 8, 2024 16:16
@zephyrbot zephyrbot requested a review from nashif November 8, 2024 16:16
@pillo79 pillo79 added bug The issue is a bug, or the PR is fixing a bug area: llext Linkable Loadable Extensions labels Nov 8, 2024
@pillo79 pillo79 requested review from aescolar and teburd November 8, 2024 17:30
@mmahadevan108 mmahadevan108 merged commit 50ab695 into zephyrproject-rtos:main Nov 8, 2024
33 checks passed
@pillo79 pillo79 deleted the pr-fix-81136 branch November 19, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Linker Scripts area: llext Linkable Loadable Extensions bug The issue is a bug, or the PR is fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tests/subsys/llext/simple/llext.simple.loader_build fails to build for native_posix in main

5 participants