#587 - notron - Wed Jan 08, 2003 10:11 pm
Following is part of the linker map from a small test program I compiled with G++. I allocated a Decode buffer <DecodeBufr> of a size of 64000 bytes ( decimal not hex). This buffer would exceed the size of iwram on the GGBA which is defined as 32k = 32768d bytes. However, the linker has assigned this bufr to iwram anyway. Doesn't this exceed the actual availlable size of IWRAM???
Am I missing something ( Typical NEWBIE question huh?).
_________________
MysticX is The Defender
Code: |
COMMON 0x03000000 0x4 /cygdrive/e/gba/devkitadv/bin/...../libc.a(sbrkr.o) 0x0 (size before relaxing) 0x03000000 errno 0x03000004 .=ALIGN(0x4) .bss 0x03000004 0xfa0c .\Debug\MOM_GBA.o 0x0300000c DecodeBufr 0x03000004 screen_seg 0x0300fa0c g_pImage 0x03000008 mouse_list_blank .bss 0x0300fa10 0x1c /cygdrive/e/gba/devkitadv/bin/...../libgcc.a(__main.o) .bss 0x0300fa2c 0xc /cygdrive/e/gba/devkitadv/bin/...../libgcc.a(unwind-dw2-fde.o) .bss 0x0300fa38 0x4 /cygdrive/e/gba/devkitadv/bin/...../libc.a(syscalls.o) 0x0300fa3c __bss_end=. 0x0300fa3c __bss_end__=. .data 0x0300fa3c 0x78c load address 0x0827cc3c 0x0300fa3c __data_start=L(.) |
Am I missing something ( Typical NEWBIE question huh?).
_________________
MysticX is The Defender