mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-23 07:56:33 +11:00
Add .bss section to linker script
This commit is contained in:
parent
bef430dc30
commit
800e538a58
1 changed files with 5 additions and 0 deletions
|
@ -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) }
|
||||||
|
|
Loading…
Add table
Reference in a new issue