Skip to content
Commit f2c582c7 authored by Jim Shu's avatar Jim Shu Committed by Christopher Friedt
Browse files

gen_app_partitions: add .sdata/.sbss section into app_smem



Some architectures (e.g. RISC-V) has .sdata/.sbss section for small
data/bss. Memory partition should also manage the permission of these
sections in library so they should be put into app_smem.
(For example, newlib _impure_ptr is in .sdata section and
__malloc_top_pad is in .sbss section in RISC-V.)

Signed-off-by: default avatarJim Shu <cwshu@andestech.com>
(cherry picked from commit 46eb3e5f)
parent c908ee81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment