#149451 - bpoint - Sun Jan 20, 2008 9:36 am
Hello all,
I made a post over at the devkitPro forums asking some questions about the GBA's bss section, but it seems the user base over there isn't quite as big as it is here... :)
In any case, I'm still looking for the answer to any of these three questions:
1) Is there any specific reason why .bss is located in iwram instead of ewram?
2) Is it possible to relocate the .bss section from iwram to ewram? I presume I need to change the gba_cart.ld file, but I'm not exactly sure what I'd need to change and where.
3) Are there any side-effects with moving .bss into ewram? Will its location conflict with malloc() and/or my stack?
Any takers? Thanks!
I made a post over at the devkitPro forums asking some questions about the GBA's bss section, but it seems the user base over there isn't quite as big as it is here... :)
In any case, I'm still looking for the answer to any of these three questions:
1) Is there any specific reason why .bss is located in iwram instead of ewram?
2) Is it possible to relocate the .bss section from iwram to ewram? I presume I need to change the gba_cart.ld file, but I'm not exactly sure what I'd need to change and where.
3) Are there any side-effects with moving .bss into ewram? Will its location conflict with malloc() and/or my stack?
Any takers? Thanks!