2 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
5 /* The memory size is 256KB to coincide with the simulator.
6 Don't change either without considering the other. */
10 /* 0xc4 is a magic entry. We should have the linker just
11 skip over it one day... */
12 vectors : o = 0x0000, l = 0xc4
13 magicvectors : o = 0xc4, l = 0x3c
14 /* We still only use 256k as the main ram size. */
15 ram : o = 0x0100, l = 0x3fefc
16 /* The stack starts at the top of main ram. */
17 topram : o = 0x3fffc, l = 0x4
18 /* At the very top of the address space is the 8-bit area. */
19 eight : o = 0xffff00, l = 0x100
25 /* Use something like this to place a specific function's address
26 into the vector table.
28 LONG(ABSOLUTE(_foobar)) */
31 } ${RELOCATING+ > vectors}
35 ${RELOCATING+ _etext = . ; }
36 } ${RELOCATING+ > ram}
44 } ${RELOCATING+ > ram}
47 ${RELOCATING+ _edata = . ; }
48 } ${RELOCATING+ > ram}
50 ${RELOCATING+ _bss_start = . ;}
53 ${RELOCATING+ _end = . ; }
56 ${RELOCATING+ _stack = . ; }
58 } ${RELOCATING+ > topram}
61 } ${RELOCATING+ > eight}
62 .stab 0 ${RELOCATING+(NOLOAD)} : {
65 .stabstr 0 ${RELOCATING+(NOLOAD)} : {