Merge pull request #49 from ketsuban/bss-section

Add .bss section to linker script
This commit is contained in:
Lokathor 2019-01-08 21:06:24 -07:00 committed by GitHub
commit de62113e86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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