4 OUTPUT_FORMAT(elf32-m68k)
5 STARTUP(target/coldfire/crt0.o)
7 #define DRAMSIZE (MEMORYSIZE * 0x100000)
9 #define DRAMORIG 0x31000000
10 #define IRAMORIG 0x10000000
11 #define IRAMSIZE 0x18000
12 #define FLASHORIG 0x000e0000
13 #define FLASHSIZE 0x1f800
17 DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE
18 IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
19 FLASH : ORIGIN = FLASHORIG, LENGTH = FLASHSIZE
29 .data : AT ( _datacopy )
32 KEEP(*(.resetvectors));
43 . = ALIGN(0x10); /* Maintain proper alignment for .text section */
46 /* TRICK ALERT! Newer versions of the linker don't allow output sections
47 to overlap even if one of them is empty, so advance the location pointer
49 .text LOADADDR(.data) + SIZEOF(.data) :
73 .bss DRAMORIG+0x800000: