#24074 - cosmic4z - Tue Jul 27, 2004 2:03 pm
I've recently changed the makefile of my project and now all my IWRAM data variables are being padded.
Just about all the following variables are u32 / s32 (BG0 & BG1 are structures).
The following is a portion of my mapfile.
I am now using a makefile - link script combo (compliing / linking with devkitadv).
How come IWRAM is being padded like this ? ... Is it something in the link script ?
_________________
Qwak - www.qwak.co.uk | Forum - www.qwak.co.uk/forum/
Just about all the following variables are u32 / s32 (BG0 & BG1 are structures).
The following is a portion of my mapfile.
Code: |
COMMON 0x03000fa0 0x184 help.o 0x0 (size before relaxing) 0x03000fa0 HELP_SI_used 0x03000fc0 HELP_SI 0x030010e0 HELP_pAnim 0x03001100 HELP_pText 0x03001120 HELP_XRAM_pRewind *fill* 0x03001124 0x1c 00 COMMON 0x03001140 0x124 BG.o 0x0 (size before relaxing) 0x03001140 BGI_Index 0x03001160 BG_pChars 0x03001180 BG0 0x030011c0 BG1 0x03001200 BGI_Height 0x03001220 BGI_Width 0x03001240 BG_pBanks 0x03001260 BG_pWMap *fill* 0x03001264 0x1c 00 COMMON 0x03001280 0x5a4 SE.o 0x0 (size before relaxing) 0x03001280 SE_TotalSI 0x030012a0 SE_ScriptSI 0x030012c0 SE_iRemove 0x030012e0 SE_Trigger 0x030016e0 SE_pAutoTriggers 0x03001700 SE_Frame 0x03001720 SE_pSI 0x03001740 SE_pStep 0x03001760 SE_UserSI 0x03001780 SE_Remove_pSI 0x03001800 SE_pScript 0x03001820 SE_pInitSI *fill* 0x03001824 0x1c 00 |
I am now using a makefile - link script combo (compliing / linking with devkitadv).
How come IWRAM is being padded like this ? ... Is it something in the link script ?
_________________
Qwak - www.qwak.co.uk | Forum - www.qwak.co.uk/forum/