Apparently, Devkit Advance R5 Beta 2 (which just popped up on
SourceForge.net) doesn't recognize "siw.text.iwram.o" and
"gbmxr.text.iwram.o" as object files whose contents belong in
IWRAM.
I have an object file called siw.text.iwram.o which contains one
function set_palram_green(). I have another object file called
sew.o which contains main(). When I link them together and run
|objdump -x| on the resulting ELF file, I get this in the symbol
table:
08000298 g .text 00000010 set_palram_green
Clearly, the link script is not catching the instruction in the
object file's name when deciding where to put set_palram_green().
If placing code into IWRAM by naming the object file *.iwram.o is
no longer supported, what is the recommended method to place code
into IWRAM in devkitadv R5? Or is this a known bug in beta 2?
--
Damian