Skip to content

uninitialized_ram vs uninitialized_data #966

@Gadgetoid

Description

@Gadgetoid

I've been digging into skipping zero-fill initialization for large bss sections and came across the uninitialized_data section in memmap_default.ld:

.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
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions