Commit | Line | Data |
---|---|---|
82704155 | 1 | # Copyright (C) 2014-2019 Free Software Foundation, Inc. |
6c19b93b | 2 | # |
985743c7 NC |
3 | # Copying and distribution of this file, with or without modification, |
4 | # are permitted in any medium without royalty provided the copyright | |
5 | # notice and this notice are preserved. | |
6 | ||
d172d4ba | 7 | cat <<EOF |
82704155 | 8 | /* Copyright (C) 2014-2019 Free Software Foundation, Inc. |
985743c7 NC |
9 | |
10 | Copying and distribution of this script, with or without modification, | |
11 | are permitted in any medium without royalty provided the copyright | |
12 | notice and this notice are preserved. */ | |
13 | ||
d172d4ba NC |
14 | OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}", |
15 | "${LITTLE_OUTPUT_FORMAT}") | |
16 | OUTPUT_ARCH(${ARCH}) | |
17 | ||
18 | ${RELOCATING+${LIB_SEARCH_DIRS}} | |
19 | SECTIONS | |
20 | { | |
21 | ${RELOCATING+. = ${TEXT_START_ADDR};} | |
22 | .text : | |
23 | { | |
2bf2bf23 | 24 | ${RELOCATING+CREATE_OBJECT_SYMBOLS} |
d172d4ba NC |
25 | *(.text) |
26 | ${RELOCATING+etext = ${DATA_ALIGNMENT};} | |
27 | } | |
28 | ${RELOCATING+. = ${DATA_ALIGNMENT};} | |
29 | .data : | |
30 | { | |
31 | *(.data) | |
32 | ${CONSTRUCTING+CONSTRUCTORS} | |
33 | ${RELOCATING+edata = .;} | |
34 | } | |
35 | .bss : | |
36 | { | |
37 | *(.bss) | |
2bf2bf23 AM |
38 | ${RELOCATING+*(COMMON)} |
39 | ${RELOCATING+end = .;} | |
d172d4ba NC |
40 | } |
41 | } | |
42 | EOF |