2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
6 /* The memory size is 256KB to coincide with the simulator.
7 Don't change either without considering the other. */
11 /* 0xc4 is a magic entry. We should have the linker just
12 skip over it one day... */
13 vectors : o = 0x0000, l = 0xc4
14 magicvectors : o = 0xc4, l = 0x3c
15 /* We still only use 256k as the main ram size. */
16 ram : o = 0x0100, l = 0x3fefc
17 /* The stack starts at the top of main ram. */
18 topram : o = 0x3fffc, l = 0x4
19 /* This holds variables in the "tiny" sections. */
20 tiny : o = 0xff8000, l = 7f00
21 /* At the very top of the address space is the 8-bit area. */
22 eight : o = 0xffff00, l = 0x100
28 /* Use something like this to place a specific function's address
29 into the vector table.
31 LONG(ABSOLUTE(_foobar)) */
34 } ${RELOCATING+ > vectors}
39 ${RELOCATING+ _etext = . ; }
40 } ${RELOCATING+ > ram}
48 } ${RELOCATING+ > ram}
51 ${RELOCATING+ _edata = . ; }
52 } ${RELOCATING+ > ram}
54 ${RELOCATING+ _bss_start = . ;}
57 ${RELOCATING+ _end = . ; }
60 ${RELOCATING+ _stack = . ; }
62 } ${RELOCATING+ > topram}
65 } ${RELOCATING+ > tiny}
68 } ${RELOCATING+ > eight}
69 .stab 0 ${RELOCATING+(NOLOAD)} : {
72 .stabstr 0 ${RELOCATING+(NOLOAD)} : {