1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/riscv_common: add noinit section to ld script

This commit is contained in:
PeterKietzmann 2022-02-16 10:48:31 +01:00
parent ec0df56b67
commit dd4fe70a62

View File

@ -206,6 +206,16 @@ SECTIONS
. = ALIGN(4);
} >ram AT>ram :ram
.noinit (NOLOAD) :
{
__noinit_begin__ = .;
*(.noinit .noinit.*)
. = ALIGN(4) ;
__noinit_end__ = .;
} >ram AT>ram :ram
. = ALIGN(8);
PROVIDE( _end = . );
PROVIDE( end = . );