]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/tic30coff.sc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / scripttempl / tic30coff.sc
CommitLineData
250d07de 1# Copyright (C) 2014-2021 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 7cat <<EOF
250d07de 8/* Copyright (C) 2014-2021 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
14OUTPUT_FORMAT("${OUTPUT_FORMAT}")
15OUTPUT_ARCH("${OUTPUT_ARCH}")
16
17MEMORY
18{
19 rom : ORIGIN = 0x00000300, LENGTH = 16k
20 ram : ORIGIN = 0x00000300 + 16k, LENGTH = 16k
21 ramblk0 : ORIGIN = 0x02026000, LENGTH = 0x1000
22 ramblk1 : ORIGIN = 0x02027000, LENGTH = 0x1000
23}
24
6c19b93b
AM
25SECTIONS
26{
985743c7
NC
27 .vectors 0x00000000 :
28 {
29 *(vectors)
30 }
252b5132 31
6c19b93b 32 .text :
985743c7
NC
33 {
34 *(.text)
35 } > rom
252b5132 36
985743c7
NC
37 .const :
38 {
39 *(.const)
40 __etext = . ;
41 } > rom
252b5132 42
985743c7
NC
43 .mdata : AT( ADDR(.const) + SIZEOF(.const) )
44 {
45 __data = . ;
46 *(.data);
47 __edata = . ;
48 } > ram
252b5132 49
985743c7
NC
50 .bss :
51 {
52 __bss = . ;
53 *(.bss);
54 *(COMMON);
55 __ebss = . ;
56 } > ram
252b5132 57
985743c7
NC
58 .ram0 :
59 {
60 *(ram0)
61 } > ramblk0
252b5132 62
985743c7
NC
63 .ram1 :
64 {
65 *(ram1)
66 } > ramblk1
252b5132
RH
67}
68
69EOF