Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / ld / scripttempl / pj.sc
1 # Copyright (C) 2014-2020 Free Software Foundation, Inc.
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
7 TORS=".tors :
8 {
9 ___ctors = . ;
10 *(.ctors)
11 ___ctors_end = . ;
12 ___dtors = . ;
13 *(.dtors)
14 ___dtors_end = . ;
15 } > ram"
16
17 cat <<EOF
18 /* Copyright (C) 2014-2020 Free Software Foundation, Inc.
19
20 Copying and distribution of this script, with or without modification,
21 are permitted in any medium without royalty provided the copyright
22 notice and this notice are preserved. */
23
24 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
25 OUTPUT_ARCH(${ARCH})
26
27 MEMORY
28 {
29 ram : o = 0x1000, l = 512M
30 }
31
32 SECTIONS
33 {
34 .text :
35 {
36 *(.text)
37 *(.strings)
38 ${RELOCATING+ _etext = . ; }
39 } ${RELOCATING+ > ram}
40 ${CONSTRUCTING+${TORS}}
41 .data :
42 {
43 *(.data)
44 ${RELOCATING+ _edata = . ; }
45 } ${RELOCATING+ > ram}
46 .bss :
47 {
48 ${RELOCATING+ _bss_start = . ; }
49 *(.bss)
50 *(COMMON)
51 ${RELOCATING+ _end = . ; }
52 } ${RELOCATING+ > ram}
53 .stack ${RELOCATING+ 0x30000 } :
54 {
55 ${RELOCATING+ _stack = . ; }
56 *(.stack)
57 } ${RELOCATING+ > ram}
58 .stab 0 ${RELOCATING+(NOLOAD)} :
59 {
60 *(.stab)
61 }
62 .stabstr 0 ${RELOCATING+(NOLOAD)} :
63 {
64 *(.stabstr)
65 }
66 }
67 EOF
This page took 0.031244 seconds and 4 git commands to generate.