Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | cat <<EOF |
2 | OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}", | |
3 | "${LITTLE_OUTPUT_FORMAT}") | |
4 | OUTPUT_ARCH(${ARCH}) | |
5 | ||
6 | ${RELOCATING+${LIB_SEARCH_DIRS}} | |
7 | SECTIONS | |
8 | { | |
9 | ${RELOCATING+. = ${TEXT_START_ADDR};} | |
10 | .text : | |
11 | { | |
12 | CREATE_OBJECT_SYMBOLS | |
13 | *(.text) | |
14 | ${RELOCATING+etext = ${DATA_ALIGNMENT};} | |
15 | } | |
16 | ${RELOCATING+. = ${DATA_ALIGNMENT};} | |
17 | .data : | |
18 | { | |
19 | *(.data) | |
20 | ${CONSTRUCTING+CONSTRUCTORS} | |
21 | ${RELOCATING+edata = .;} | |
22 | } | |
23 | .bss : | |
24 | { | |
25 | *(.bss) | |
26 | *(COMMON) | |
27 | ${RELOCATING+end = . }; | |
28 | } | |
29 | } | |
30 | EOF |