Commit | Line | Data |
---|---|---|
219d1afa | 1 | # Copyright (C) 2014-2018 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 | ||
252b5132 | 7 | cat <<EOF |
219d1afa | 8 | /* Copyright (C) 2014-2018 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 | ||
252b5132 | 14 | SECTIONS |
6c19b93b AM |
15 | { |
16 | .text : | |
17 | { | |
252b5132 | 18 | ${GLD_STYLE+ CREATE_OBJECT_SYMBOLS} |
6c19b93b | 19 | *(.text) |
252b5132 RH |
20 | ${RELOCATING+ _etext = .}; |
21 | ${CONSTRUCTING+${COFF_CTORS}} | |
6c19b93b | 22 | } |
252b5132 | 23 | .data : |
6c19b93b AM |
24 | { |
25 | *(.data) | |
252b5132 RH |
26 | ${CONSTRUCTING+CONSTRUCTORS} |
27 | ${RELOCATING+ _edata = .}; | |
6c19b93b | 28 | } |
252b5132 | 29 | .bss : |
6c19b93b | 30 | { |
252b5132 | 31 | ${RELOCATING+ _bss_start = .}; |
6c19b93b AM |
32 | *(.bss) |
33 | *(COMMON) | |
252b5132 | 34 | ${RELOCATING+ _end = .}; |
6c19b93b AM |
35 | } |
36 | } | |
252b5132 | 37 | EOF |