4 OUTPUT_FORMAT(elf32-littlearm)
6 STARTUP(target/arm/tcc77x/crt0.o)
8 #define PLUGINSIZE PLUGIN_BUFFER_SIZE
9 #define CODECSIZE CODEC_SIZE
12 #define STUBOFFSET 0x10000
17 #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET - CODECSIZE
19 #define DRAMORIG 0x20000000
20 #define IRAMORIG 0x00000000
24 /* End of the audio buffer, where the codec buffer starts */
25 #define ENDAUDIOADDR (DRAMORIG + DRAMSIZE)
27 /* Where the codec buffer ends, and the plugin buffer starts */
28 #define ENDADDR (ENDAUDIOADDR + CODECSIZE)
34 DRAM : ORIGIN = DRAMORIG + DRAMSIZE - 0x100000, LENGTH = 0x100000
36 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
38 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
88 .audiobufend ENDAUDIOADDR: