Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | cat <<EOF |
2 | SECTIONS | |
3 | { | |
4 | .text : | |
5 | { | |
6 | ${GLD_STYLE+ CREATE_OBJECT_SYMBOLS} | |
7 | *(.text) | |
8 | ${RELOCATING+ _etext = .}; | |
9 | ${CONSTRUCTING+${COFF_CTORS}} | |
10 | } | |
11 | .data : | |
12 | { | |
13 | *(.data) | |
14 | ${CONSTRUCTING+CONSTRUCTORS} | |
15 | ${RELOCATING+ _edata = .}; | |
16 | } | |
17 | .bss : | |
18 | { | |
19 | ${RELOCATING+ _bss_start = .}; | |
20 | *(.bss) | |
21 | *(COMMON) | |
22 | ${RELOCATING+ _end = .}; | |
23 | } | |
24 | } | |
25 | EOF |