remove parentdir support; use INSTALL_XFORM
[deliverable/binutils-gdb.git] / ld / m68kcoff.sc-sh
1 # This is totally made up, from the a29k stuff. If you know better,
2 # tell us about it.
3 cat <<EOF
4 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
5 ${LIB_SEARCH_DIRS}
6
7 MEMORY {
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
13 }
14 SECTIONS
15 {
16 .text : {
17 *(.text)
18 ${RELOCATING+ etext = .;}
19 ${CONSTRUCTING+ __CTOR_LIST__ = .;}
20 ${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
21 *(.ctors)
22 ${CONSTRUCTING+ LONG(0)}
23 ${CONSTRUCTING+ __CTOR_END__ = .;}
24 ${CONSTRUCTING+ __DTOR_LIST__ = .;}
25 ${CONSTRUCTING+ LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)}
26 *(.dtors)
27 ${CONSTRUCTING+ LONG(0)}
28 ${CONSTRUCTING+ __DTOR_END__ = .;}
29 *(.lit)
30 *(.shdata)
31 } ${RELOCATING+ > text}
32 .shbss SIZEOF(.text) + ADDR(.text) : {
33 *(.shbss)
34 }
35 .talias : { } ${RELOCATING+ > talias}
36 .data : {
37 *(.data)
38 ${RELOCATING+ edata = .};
39 } ${RELOCATING+ > data}
40 .bss SIZEOF(.data) + ADDR(.data) :
41 {
42 ${RELOCATING+ __bss_start = .};
43 *(.bss)
44 *(COMMON)
45 ${RELOCATING+ end = ALIGN(0x8)};
46 ${RELOCATING+ _end = ALIGN(0x8)};
47 }
48 .mstack : { } ${RELOCATING+ > mstack}
49 .rstack : { } ${RELOCATING+ > rstack}
50 }
51 EOF
This page took 0.038697 seconds and 4 git commands to generate.