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