Fix uninitialized variable problem for l0dables.

This commit is contained in:
Stefan `Sec` Zehl 2011-08-22 21:49:38 +02:00
parent 302734fa55
commit d46df57ea1
1 changed files with 2 additions and 9 deletions

View File

@ -30,12 +30,7 @@ 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 = .;
@ -43,6 +38,4 @@ SECTIONS
end = .; end = .;
/* For GDB compatibility we decrease the top with 16 bytes */
stack_entry = sram_top - 16;
} }