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:
parent
ec0df56b67
commit
dd4fe70a62
@ -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 = . );
|
||||
|
Loading…
Reference in New Issue
Block a user