]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/w65.sc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / scripttempl / w65.sc
CommitLineData
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
40a633d5
NC
7TORS=".tors :
8 {
9 ___ctors = . ;
10 *(.ctors)
11 ___ctors_end = . ;
12 ___dtors = . ;
13 *(.dtors)
14 ___dtors_end = . ;
15 } > ram"
16
252b5132 17cat <<EOF
219d1afa 18/* Copyright (C) 2014-2018 Free Software Foundation, Inc.
985743c7
NC
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
252b5132
RH
24OUTPUT_FORMAT("${OUTPUT_FORMAT}")
25OUTPUT_ARCH(${ARCH})
26
40a633d5
NC
27MEMORY
28{
252b5132 29 ram : o = 0x1000, l = 512k
40a633d5 30}
252b5132 31
6c19b93b
AM
32SECTIONS
33{
252b5132 34.text :
6c19b93b
AM
35 {
36 *(.text)
252b5132 37 *(.strings)
6c19b93b 38 ${RELOCATING+ _etext = . ; }
252b5132
RH
39 } ${RELOCATING+ > ram}
40
40a633d5 41 ${CONSTRUCTING+${TORS}}
252b5132
RH
42
43.data :
44 {
40a633d5
NC
45 *(.data)
46 ${RELOCATING+ _edata = . ; }
252b5132 47 } ${RELOCATING+ > ram}
6c19b93b 48
252b5132
RH
49.bss :
50 {
40a633d5
NC
51 ${RELOCATING+ _bss_start = . ; }
52 *(.bss)
53 *(COMMON)
54 ${RELOCATING+ _end = . ; }
252b5132 55 } ${RELOCATING+ >ram}
6c19b93b 56
40a633d5 57.stack ${RELOCATING+ 0x30000 } :
252b5132 58 {
40a633d5
NC
59 ${RELOCATING+ _stack = . ; }
60 *(.stack)
252b5132 61 } ${RELOCATING+ > ram}
6c19b93b 62
40a633d5
NC
63.stab . (NOLOAD) :
64 {
65 [ .stab ]
66 }
6c19b93b 67
40a633d5
NC
68.stabstr . (NOLOAD) :
69 {
70 [ .stabstr ]
71 }
252b5132
RH
72}
73EOF
74
75
76
77