Skip to content

library_manager: llext: don't try to copy .bss - #9846

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
lyakh:bss
Feb 20, 2025
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
lyakh:bss

Conversation

@lyakh

@lyakh lyakh commented Feb 19, 2025

Copy link
Copy Markdown
Collaborator

When copying LLEXT modules from DRAM to SRAM we allocate and copy .data and .bss together because they have the same access flags, but .bss doesn't have to be copied, this can in fact generate an error because it isn't present in the ELF image. Only copy valid sections.

When copying LLEXT modules from DRAM to SRAM we allocate and copy
.data and .bss together because they have the same access flags, but
.bss doesn't have to be copied, this can in fact generate an error
because it isn't present in the ELF image. Only copy valid sections.

Reported-by: Tomasz Leman <[email protected]>
Signed-off-by: Guennadi Liakhovetski <[email protected]>
@lgirdwood
lgirdwood merged commit 1d1b1dd into thesofproject:main Feb 20, 2025
@lyakh
lyakh deleted the bss branch February 21, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants