-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Milestone
Description
I've been digging into skipping zero-fill initialization for large bss sections and came across the uninitialized_data
section in memmap_default.ld
:
pico-sdk/src/rp2_common/pico_standard_link/memmap_default.ld
Lines 177 to 180 in 2e6142b
.uninitialized_data (COPY): { | |
. = ALIGN(4); | |
*(.uninitialized_data*) | |
} > RAM |
However platform.h appears to use uninitialized_ram
which is not present in the linker script(s):
#define __uninitialized_ram(group) __attribute__((section(".uninitialized_ram." #group))) group |
Are these intended to be one and the same?
If not, what is uninitialized_data
intended for? I can't find a single use of nor reference to it outside of its definition in the linker script.
Metadata
Metadata
Assignees
Labels
No labels