Commit | Line | Data |
---|---|---|
0fdf9f81 SC |
1 | cat <<EOF |
2 | OUTPUT_FORMAT("${OUTPUT_FORMAT}") | |
3 | ENTRY(start) | |
4 | ||
5 | SECTIONS { | |
6 | .text ${RELOCATING+${TEXT_START_ADDR}} : | |
7 | { | |
8 | *(.text); | |
bfbdc80f SC |
9 | *(.text1); |
10 | *(.text2); | |
0fdf9f81 SC |
11 | ${RELOCATING+_etext = .}; |
12 | } | |
bfbdc80f SC |
13 | .lit . : |
14 | { | |
15 | *(.lit); | |
16 | ${RELOCATING+_elit = .}; | |
17 | } | |
18 | .data . : | |
0fdf9f81 SC |
19 | { |
20 | *(.data); | |
bfbdc80f SC |
21 | *(.data1); |
22 | *(.data2); | |
0fdf9f81 SC |
23 | ${RELOCATING+_edata = .}; |
24 | ${CONSTRUCTING+CONSTRUCTORS} | |
25 | } | |
bfbdc80f | 26 | |
0fdf9f81 SC |
27 | .bss . : |
28 | { | |
29 | *(COMMON) | |
30 | *(.bss) | |
31 | ${RELOCATING+_end = .}; | |
32 | } | |
33 | } | |
34 | EOF |