mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 10:33:49 +01:00
cpu/riscv_common: add noinit section to ld script
This commit is contained in:
parent
ec0df56b67
commit
dd4fe70a62
@ -206,6 +206,16 @@ SECTIONS
|
|||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} >ram AT>ram :ram
|
} >ram AT>ram :ram
|
||||||
|
|
||||||
|
.noinit (NOLOAD) :
|
||||||
|
{
|
||||||
|
__noinit_begin__ = .;
|
||||||
|
|
||||||
|
*(.noinit .noinit.*)
|
||||||
|
|
||||||
|
. = ALIGN(4) ;
|
||||||
|
__noinit_end__ = .;
|
||||||
|
} >ram AT>ram :ram
|
||||||
|
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
PROVIDE( _end = . );
|
PROVIDE( _end = . );
|
||||||
PROVIDE( end = . );
|
PROVIDE( end = . );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user