Support for COMMON blocks in the linker script

This commit is contained in:
Romain Goyet
2015-05-20 13:04:33 +02:00
parent c37520e535
commit 164a349abb

View File

@@ -137,6 +137,9 @@ SECTIONS {
_bss_section_start_ram = .;
*(.bss)
*(.bss.*)
/* The compiler may choose to allocate uninitialized global variables as
* COMMON blocks. This can be disabled with -fno-common if needed. */
*(COMMON)
_bss_section_end_ram = .;
} >SRAM