]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/alphavms.sc
* rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs.
[thirdparty/binutils-gdb.git] / ld / scripttempl / alphavms.sc
CommitLineData
8b351884
TG
1# Linker script for Alpha VMS systems.
2# Tristan Gingold <gingold@adacore.com>.
3
4PAGESIZE=0x10000
5
6cat <<EOF
7OUTPUT_FORMAT("${OUTPUT_FORMAT}")
8${LIB_SEARCH_DIRS}
9
10SECTIONS
11{
12 ${RELOCATING+. = ${PAGESIZE};}
13
46d00b8a 14 /* RW initialized data. */
8b351884
TG
15 \$DATA\$ ALIGN (${PAGESIZE}) : {
16 *(\$DATA\$)
8b351884 17 }
46d00b8a 18 /* RW data unmodified (zero-initialized). */
8b351884
TG
19 \$BSS\$ ALIGN (${PAGESIZE}) : {
20 *(\$BSS\$)
21 }
46d00b8a 22 /* RO, executable code. */
8b351884
TG
23 \$CODE\$ ALIGN (${PAGESIZE}) : {
24 *(\$CODE\$)
25 }
46d00b8a 26 /* RO initialized data. */
8b351884 27 \$LITERAL\$ ALIGN (${PAGESIZE}) : {
46d00b8a 28 *(\$LINK\$)
8b351884
TG
29 *(\$LITERAL\$)
30 *(\$READONLY\$)
31 *(\$READONLY_ADDR\$)
46d00b8a
TG
32 *(eh_frame)
33 *(jcr)
34 *(ctors)
35 *(dtors)
36 *(gcc_except_table)
37
38 /* LIB$INITIALIZE stuff. */
39 *(LIB\$INITIALIZDZ) /* Start marker. */
40 *(LIB\$INITIALIZD_) /* Hi priority. */
41 *(LIB\$INITIALIZE) /* User. */
42 *(LIB\$INITIALIZE$) /* End marker. */
8b351884
TG
43 }
44
45 \$DST\$ 0 : {
46 *(\$DST\$)
47 }
48}
49EOF