Commit | Line | Data |
---|---|---|
6ecb2b74 PB |
1 | cat <<EOF |
2 | OUTPUT_FORMAT("${OUTPUT_FORMAT}") | |
3 | OUTPUT_ARCH(${ARCH}) | |
4 | ||
5 | ${RELOCATING+${LIB_SEARCH_DIRS}} | |
6 | ${RELOCATING+__DYNAMIC = 0;} | |
7 | SECTIONS | |
8 | { | |
9 | .text ${RELOCATING+${TEXT_START_ADDR}}: | |
10 | { | |
11 | CREATE_OBJECT_SYMBOLS | |
12 | *(.text) | |
13 | ${RELOCATING+_etext = ${DATA_ALIGNMENT};} | |
14 | } | |
15 | .data ${RELOCATING+${DATA_ALIGNMENT}} : | |
16 | { | |
17 | *(.data) | |
18 | ${CONSTRUCTING+CONSTRUCTORS} | |
19 | ${RELOCATING+_edata = .;} | |
20 | } | |
21 | .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} : | |
22 | { | |
23 | *(.bss) | |
24 | *(COMMON) | |
76971f0d SC |
25 | ${RELOCATING+_end = . }; |
26 | ${RELOCATING+__end = . }; | |
6ecb2b74 PB |
27 | } |
28 | } | |
29 | EOF |