5 OUTPUT_FORMAT(elf32-littlearm)
7 STARTUP(target/arm/s3c2440/crt0.o)
9 #define PLUGINSIZE PLUGIN_BUFFER_SIZE
10 #define CODECSIZE CODEC_SIZE
13 #define STUBOFFSET 0x10000
19 #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGINSIZE - CODECSIZE - LCD_BUFFER_SIZE - TTB_SIZE
21 #define DRAMORIG 0x00000000 + STUBOFFSET
23 /* End of the audio buffer, where the codec buffer starts */
24 #define ENDAUDIOADDR (DRAMORIG + DRAMSIZE)
26 /* Where the codec buffer ends, and the plugin buffer starts */
27 #define ENDADDR (ENDAUDIOADDR + CODECSIZE)
31 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
36 /* This nice little hack is to trick ROLO into loading in a certain place
37 * CRT0.s takes care of making sure the code is where it needs to be
39 loadaddress = 0x31000000;
60 _textcopy = LOADADDR(.text);
64 *(.rodata) /* problems without this, dunno why */
111 .audiobufend ENDAUDIOADDR (NOLOAD) :
117 .codec ENDAUDIOADDR (NOLOAD) :
123 .plugin ENDADDR (NOLOAD) :