4 OUTPUT_FORMAT(elf32-m68k)
5 STARTUP(target/coldfire/crt0.o)
7 #define DRAMSIZE (MEMORYSIZE * 0x100000)
9 #ifdef IRIVER_H100_SERIES
10 #define DRAMORIG 0x31000000
11 #define IRAMORIG 0x10000000
12 #define IRAMSIZE 0x18000
13 #define FLASHORIG 0x001f0000
15 #elif defined(IRIVER_H300_SERIES)
16 #define DRAMORIG 0x31000000
17 #define IRAMORIG 0x10000000
18 #define IRAMSIZE 0x18000
19 #define FLASHORIG 0x003f0000
25 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
26 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
27 FLASH : ORIGIN = FLASHORIG, LENGTH = FLASHSIZE
37 .data : AT ( _datacopy )
40 KEEP(*(.resetvectors));
51 . = ALIGN(0x10); /* Maintain proper alignment for .text section */
54 /* TRICK ALERT! Newer versions of the linker don't allow output sections
55 to overlap even if one of them is empty, so advance the location pointer
57 .text LOADADDR(.data) + SIZEOF(.data) :
81 .bss DRAMORIG+0x800000: