1 # This is totally made up, from the a29k stuff. If you know better,
4 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
8 text : ORIGIN = 0x1000000, LENGTH = 0x1000000
9 talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
10 data : ORIGIN = 0x3000000, LENGTH = 0x1000000
11 mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
12 rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
18 ${RELOCATING+ etext = .;}
19 ${CONSTRUCTING+ __CTOR_LIST__ = .;}
20 ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
22 ${CONSTRUCTING+ LONG(0)}
23 ${CONSTRUCTING+ __CTOR_END__ = .;}
24 ${CONSTRUCTING+ __DTOR_LIST__ = .;}
25 ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
27 ${CONSTRUCTING+ LONG(0)}
28 ${CONSTRUCTING+ __DTOR_END__ = .;}
31 } ${RELOCATING+ > text}
32 .shbss SIZEOF(.text) + ADDR(.text) : {
35 .talias : { } ${RELOCATING+ > talias}
38 ${RELOCATING+ edata = .};
39 } ${RELOCATING+ > data}
40 .bss SIZEOF(.data) + ADDR(.data) :
42 ${RELOCATING+ __bss_start = .};
45 ${RELOCATING+ end = ALIGN(0x8)};
46 ${RELOCATING+ _end = ALIGN(0x8)};
48 .mstack : { } ${RELOCATING+ > mstack}
49 .rstack : { } ${RELOCATING+ > rstack}