Add .bss section to linker script

This commit is contained in:
Thomas Winwood 2019-01-09 03:38:25 +00:00
parent bef430dc30
commit 800e538a58

View file

@ -26,6 +26,11 @@ SECTIONS {
__data_end = ABSOLUTE(.); __data_end = ABSOLUTE(.);
} >iwram AT>rom = 0xff } >iwram AT>rom = 0xff
.bss : {
*(.bss .bss.*);
. = ALIGN(4);
} >iwram
/* debugging sections */ /* debugging sections */
/* Stabs */ /* Stabs */
.stab 0 : { *(.stab) } .stab 0 : { *(.stab) }