Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | cat <<EOF |
2 | OUTPUT_FORMAT("${OUTPUT_FORMAT}") | |
3 | ENTRY(start) | |
4 | ||
5 | SECTIONS { | |
6 | .text ${RELOCATING+${TEXT_START_ADDR}} : | |
7 | { | |
8 | *(.text); | |
9 | ${RELOCATING+_etext = .}; | |
10 | } | |
11 | data ${RELOCATING+0x80002000} : | |
12 | { | |
13 | *(.data); | |
14 | *(.mstack); | |
15 | *(.shbss); | |
16 | *(.rstack); | |
17 | *(.mstack); | |
18 | ${CONSTRUCTING+CONSTRUCTORS} | |
19 | } | |
20 | .bss . : | |
21 | { | |
22 | *(COMMON) | |
23 | *(.bss); | |
24 | ${RELOCATING+_end = .}; | |
25 | } | |
26 | } | |
27 | EOF |