Skip to content

Commit 00bf0de

Browse files
authored
add .uninit section (#19)
1 parent 68a6c7e commit 00bf0de

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

qingke-rt/link-highcode.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ SECTIONS
9999
PROVIDE( _ebss = .);
100100
} >RAM
101101

102+
.uninit (NOLOAD) : ALIGN(4)
103+
{
104+
*(.uninit .uninit.*);
105+
} >RAM
106+
102107
.stack ORIGIN(RAM)+LENGTH(RAM) (NOLOAD) :
103108
{
104109
. = ALIGN(4);

qingke-rt/link-no-highcode.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ SECTIONS
8484
PROVIDE( _ebss = .);
8585
} >RAM
8686

87+
.uninit (NOLOAD) : ALIGN(4)
88+
{
89+
*(.uninit .uninit.*);
90+
} >RAM
91+
8792
.stack ORIGIN(RAM)+LENGTH(RAM) (NOLOAD) :
8893
{
8994
. = ALIGN(4);

0 commit comments

Comments
 (0)