Merge pull request #3730 from adrian-stepien/dev/bootrom-common-init
Include COMMON globals in bootrom BSS initialization
This commit is contained in:
1 file changed
+3
@@ -63,10 +63,13 @@ SECTIONS
|
|||||||
__bss_start__ = .;
|
__bss_start__ = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
*(.bss.*)
|
*(.bss.*)
|
||||||
|
*(COMMON)
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__bss_end__ = .;
|
__bss_end__ = .;
|
||||||
} >ram AT>ram :bss
|
} >ram AT>ram :bss
|
||||||
|
|
||||||
|
ASSERT(__bss_end__ == ADDR(.bss) + SIZEOF(.bss), "BSS boundary excludes globals")
|
||||||
|
|
||||||
.commonarea (NOLOAD) : {
|
.commonarea (NOLOAD) : {
|
||||||
*(.commonarea)
|
*(.commonarea)
|
||||||
} >commonarea
|
} >commonarea
|
||||||
|
|||||||
Reference in new issue
Block a user