Update year range in copyright notice of binutils files
[binutils-gdb.git] / ld / scripttempl / tic54xcoff.sc
blob44fdb69e72501c1ce7adfe562e91ec9da0810852
1 # Default linker script for c54x, TI COFF(1).
2 # patterned after description in TI Assembler Tools PDF, SPRU102C, 7-53
4 # Copyright (C) 2014-2024 Free Software Foundation, Inc.
6 # Copying and distribution of this file, with or without modification,
7 # are permitted in any medium without royalty provided the copyright
8 # notice and this notice are preserved.
10 test -z "$ENTRY" && ENTRY=_c_int00
12 cat <<EOF
13 /* Copyright (C) 2014-2024 Free Software Foundation, Inc.
15    Copying and distribution of this script, with or without modification,
16    are permitted in any medium without royalty provided the copyright
17    notice and this notice are preserved.  */
19 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
20 OUTPUT_ARCH("${OUTPUT_ARCH}")
22 MEMORY
24         /*PAGE 0 : */ prog (RXI) : ORIGIN = 0x00000080, LENGTH = 0xFF00
25         /*PAGE 1 : */ data (W) : ORIGIN = 0x01000080, LENGTH = 0xFF80
28 ${RELOCATING+ENTRY (${ENTRY})}
30 SECTIONS
32         .text :
33         {
34                 ___text__ = .;
35                 *(.text)
36                 etext = .;
37                 ___etext__ = .;
38         } > prog
39         .data :
40         {
41                 ___data__ = .;
42                 __data = .;
43                 *(.data)
44                 __edata = .;
45                 edata = .;
46                 ___edata__ = .;
47         } > prog
48         /* all other initialized sections should be allocated here */
49         .cinit :
50         {
51                 *(.cinit)
52         } > prog
53         .bss :
54         {
55                 ___bss__ = .;
56                 __bss = .;
57                 *(.bss)
58                 *(COMMON)
59                 __ebss = .;
60                 end = .;
61                 ___end__ = .;
62         } > data
63         /* all other uninitialized sections should be allocated here */
65 EOF