]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/alphavms.sc
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / ld / scripttempl / alphavms.sc
CommitLineData
8b351884
TG
1# Linker script for Alpha VMS systems.
2# Tristan Gingold <gingold@adacore.com>.
985743c7 3#
250d07de 4# Copyright (C) 2014-2021 Free Software Foundation, Inc.
6c19b93b 5#
985743c7
NC
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.
8b351884
TG
9
10PAGESIZE=0x10000
11
12cat <<EOF
250d07de 13/* Copyright (C) 2014-2021 Free Software Foundation, Inc.
985743c7
NC
14
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. */
18
8b351884
TG
19OUTPUT_FORMAT("${OUTPUT_FORMAT}")
20${LIB_SEARCH_DIRS}
21
22SECTIONS
23{
24 ${RELOCATING+. = ${PAGESIZE};}
25
46d00b8a 26 /* RW initialized data. */
8b351884
TG
27 \$DATA\$ ALIGN (${PAGESIZE}) : {
28 *(\$DATA\$)
8b351884 29 }
46d00b8a 30 /* RW data unmodified (zero-initialized). */
8b351884
TG
31 \$BSS\$ ALIGN (${PAGESIZE}) : {
32 *(\$BSS\$)
33 }
46d00b8a 34 /* RO, executable code. */
8b351884 35 \$CODE\$ ALIGN (${PAGESIZE}) : {
2bf2bf23 36 *(\$CODE\$${RELOCATING+ *\$CODE*})
8b351884 37 }
46d00b8a 38 /* RO initialized data. */
8b351884 39 \$LITERAL\$ ALIGN (${PAGESIZE}) : {
2bf2bf23 40 ${RELOCATING+*(\$LINK\$)}
8b351884 41 *(\$LITERAL\$)
2bf2bf23 42 ${RELOCATING+*(\$READONLY\$)
8b351884 43 *(\$READONLY_ADDR\$)
46d00b8a
TG
44 *(eh_frame)
45 *(jcr)
46 *(ctors)
47 *(dtors)
48 *(gcc_except_table)
49
50 /* LIB$INITIALIZE stuff. */
51 *(LIB\$INITIALIZDZ) /* Start marker. */
52 *(LIB\$INITIALIZD_) /* Hi priority. */
53 *(LIB\$INITIALIZE) /* User. */
2bf2bf23 54 *(LIB\$INITIALIZE$) /* End marker. */}
8b351884
TG
55 }
56
9165b2bf 57 \$DWARF\$ ALIGN (${PAGESIZE}) : {
2bf2bf23 58 ${RELOCATING+\$dwarf2.debug_pubtypes = .;
9165b2bf
TG
59 *(debug_pubtypes)
60 \$dwarf2.debug_ranges = .;
61 *(debug_ranges)
62
63 \$dwarf2.debug_abbrev = .;
64 *(debug_abbrev)
65 \$dwarf2.debug_aranges = .;
66 *(debug_aranges)
67 \$dwarf2.debug_frame = .;
68 *(debug_frame)
69 \$dwarf2.debug_info = .;
70 *(debug_info)
71 \$dwarf2.debug_line = .;
72 *(debug_line)
73 \$dwarf2.debug_loc = .;
74 *(debug_loc)
75 \$dwarf2.debug_macinfo = .;
76 *(debug_macinfo)
2a995fc1
NC
77 \$dwarf2.debug_macro = .;
78 *(debug_macro)
9165b2bf
TG
79 \$dwarf2.debug_pubnames = .;
80 *(debug_pubnames)
81 \$dwarf2.debug_str = .;
82 *(debug_str)
2bf2bf23 83 \$dwarf2.debug_zzzzzz = .;}
9165b2bf
TG
84 }
85
8b351884
TG
86 \$DST\$ 0 : {
87 *(\$DST\$)
88 }
89}
90EOF