stm32f1x_cl: Fix stm32f107 linker script

This is a critical fix which adds inclusion of the entire data/bss
section to the output ELF file.  Without it, the BSS section will not
be zeroed out
This commit is contained in:
Jeff Ciesielski 2013-02-09 23:54:14 -08:00
parent 222f93f023
commit 6b97fa8382

View file

@ -28,7 +28,7 @@ SECTIONS
.data :
{
_data = . ;
*(.data)
*(.data*)
. = ALIGN(4);
_edata = . ;
PROVIDE (_edata = .);
@ -41,7 +41,7 @@ SECTIONS
{
__bss_start = . ;
__bss_start__ = . ;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
_ebss = . ;