mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 19:01:30 +11:00
Merge pull request #49 from ketsuban/bss-section
Add .bss section to linker script
This commit is contained in:
commit
de62113e86
|
@ -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) }
|
||||||
|
|
Loading…
Reference in a new issue