Skip to content

Conversation

@lyakh
Copy link
Collaborator

@lyakh lyakh commented Feb 19, 2025

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 <tomasz.m.leman@intel.com>
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
@lyakh
Copy link
Collaborator Author

lyakh commented Feb 20, 2025

@lgirdwood lgirdwood merged commit 1d1b1dd into thesofproject:main Feb 20, 2025
44 of 49 checks passed
@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