Commit | Line | Data |
---|---|---|
6f2750fe | 1 | # Copyright (C) 2014-2016 Free Software Foundation, Inc. |
985743c7 NC |
2 | # |
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 |
6f2750fe | 8 | /* Copyright (C) 2014-2016 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 RH |
14 | SECTIONS |
15 | { | |
16 | .text : | |
17 | { | |
18 | ${GLD_STYLE+ CREATE_OBJECT_SYMBOLS} | |
19 | *(.text) | |
20 | ${RELOCATING+ _etext = .}; | |
21 | ${CONSTRUCTING+${COFF_CTORS}} | |
22 | } | |
23 | .data : | |
24 | { | |
25 | *(.data) | |
26 | ${CONSTRUCTING+CONSTRUCTORS} | |
27 | ${RELOCATING+ _edata = .}; | |
28 | } | |
29 | .bss : | |
30 | { | |
31 | ${RELOCATING+ _bss_start = .}; | |
32 | *(.bss) | |
33 | *(COMMON) | |
34 | ${RELOCATING+ _end = .}; | |
35 | } | |
36 | } | |
37 | EOF |