Skip to content
Commit f9d69fc5 authored by Grant Ramsay's avatar Grant Ramsay Committed by Benjamin Cabé
Browse files

arch: arm: cortex_m: Consolidate bss/noinit sections for kernel/user mode



Userspace originally required bss to precede kobject_data, as
kobject_data size was not known until the final linking stage (#21747).

#33687 reserved space for kobject_data, allowing bss to now be after
kobject_data.

Placing bss/noinit at the end of the linker script reduces the size
of a "zephyr.bin" file, as the NOLOAD sections can be excluded. It
also keeps the code common between kernel/user mode

Signed-off-by: default avatarGrant Ramsay <gramsay@enphaseenergy.com>
parent d9aab69f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment