5 OUTPUT_FORMAT(elf32-m68k)
7 OUTPUT_FORMAT(elf32-sh)
10 INPUT(target/coldfire/crt0.o)
12 INPUT(target/arm/crt0-pp.o)
13 #elif defined(CPU_ARM)
14 INPUT(target/arm/crt0.o)
15 #elif CONFIG_CPU == SH7034
16 INPUT(target/sh/crt0.o)
23 #define PLUGINSIZE 0xC0000
25 #define PLUGINSIZE 0x8000
28 #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE
31 #define DRAMORIG 0x31000000
32 #define IRAMORIG 0x10000000
33 #define IRAMSIZE 0x18000
34 #define FLASHORIG 0x001f0000
37 #define DRAMORIG 0x09000000
38 #define IRAMORIG 0x0f000000
39 #define IRAMSIZE 0x1000
40 #define FLASHORIG 0x02000000 + ROM_START
41 #define FLASHSIZE 256K - ROM_START
44 #define ENDADDR (DRAMORIG + DRAMSIZE)
48 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
49 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
50 FLASH : ORIGIN = FLASHORIG, LENGTH = FLASHSIZE
56 /* place flash link address first, so the plugin can check */
58 /* followed by the start address, the first vector takes care of this. */
59 /* If we ever place the table elsewhere, put a constant here. */
67 .data : AT ( _datacopy )
78 . = ALIGN(0x10); /* Maintain proper alignment for .text section */
81 /* TRICK ALERT! Newer versions of the linker don't allow output sections
82 to overlap even if one of them is empty, so advance the location pointer
84 .text LOADADDR(.data) + SIZEOF(.data) :
100 .iram IRAMORIG : AT ( _iramcopy )
141 .audiobufend ENDADDR: