12 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
14 ${RELOCATING+ENTRY ("_start")}
16 /* The memory size is 256KB to coincide with the simulator.
17 Don't change either without considering the other. */
21 /* 0xc4 is a magic entry. We should have the linker just
22 skip over it one day... */
23 vectors : o = 0x0000, l = 0xc4
24 magicvectors : o = 0xc4, l = 0x3c
25 /* We still only use 256k as the main ram size. */
26 ram : o = 0x0100, l = 0x3fefc
27 /* The stack starts at the top of main ram. */
28 topram : o = 0x3fffc, l = 0x4
29 /* This holds variables in the "tiny" sections. */
30 tiny : o = 0xff8000, l = 0x7f00
31 /* At the very top of the address space is the 8-bit area. */
32 eight : o = 0xffff00, l = 0x100
39 /* Use something like this to place a specific
40 function's address into the vector table.
42 LONG (ABSOLUTE (_foobar)). */
45 } ${RELOCATING+ > vectors}
52 ${RELOCATING+ _etext = . ; }
53 } ${RELOCATING+ > ram}
55 ${CONSTRUCTING+${TORS}}
60 ${RELOCATING+ _edata = . ; }
61 } ${RELOCATING+ > ram}
65 ${RELOCATING+ _bss_start = . ;}
68 ${RELOCATING+ _end = . ; }
73 ${RELOCATING+ _stack = . ; }
75 } ${RELOCATING+ > topram}
80 } ${RELOCATING+ > tiny}
85 } ${RELOCATING+ > eight}
87 .stab 0 ${RELOCATING+(NOLOAD)} :
92 .stabstr 0 ${RELOCATING+(NOLOAD)} :