Merge pull request #3730 from adrian-stepien/dev/bootrom-common-init

Include COMMON globals in bootrom BSS initialization
This commit is contained in:
Iceman authored and GitHub committed 2026-10-28 13:15:20 +07:00
commit d596fe6b04
1 file changed
+4 -1
+4 -1
View File
@@ -63,11 +63,14 @@ SECTIONS
__bss_start__ = .;
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(4);
__bss_end__ = .;
} >ram AT>ram :bss
ASSERT(__bss_end__ == ADDR(.bss) + SIZEOF(.bss), "BSS boundary excludes globals")
.commonarea (NOLOAD) : {
*(.commonarea)
} >commonarea
}
}