Fix uninitialized variable problem for l0dables.
This commit is contained in:
parent
302734fa55
commit
d46df57ea1
|
@ -30,19 +30,12 @@ SECTIONS
|
||||||
*(vtable)
|
*(vtable)
|
||||||
*(.data*)
|
*(.data*)
|
||||||
_edata = .;
|
_edata = .;
|
||||||
} > sram
|
/* force zero initialized data to be present*/
|
||||||
|
|
||||||
/* zero initialized data */
|
|
||||||
.bss :
|
|
||||||
{
|
|
||||||
_bss = .;
|
|
||||||
*(.bss*)
|
*(.bss*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
_ebss = .;
|
_ebss = .;
|
||||||
} > sram
|
} > sram
|
||||||
|
|
||||||
end = .;
|
end = .;
|
||||||
|
|
||||||
/* For GDB compatibility we decrease the top with 16 bytes */
|
|
||||||
stack_entry = sram_top - 16;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue