mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-22 23:56:32 +11:00
Merge pull request #49 from ketsuban/bss-section
Add .bss section to linker script
This commit is contained in:
commit
de62113e86
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,12 @@ SECTIONS {
|
|||
__data_end = ABSOLUTE(.);
|
||||
} >iwram AT>rom = 0xff
|
||||
|
||||
.bss : {
|
||||
*(.bss .bss.*);
|
||||
. = ALIGN(4);
|
||||
__bss_end = ABSOLUTE(.);
|
||||
} >iwram
|
||||
|
||||
/* debugging sections */
|
||||
/* Stabs */
|
||||
.stab 0 : { *(.stab) }
|
||||
|
|
Loading…
Add table
Reference in a new issue