1 # Linker script for Itanium VMS systems.
2 # Tristan Gingold <gingold@adacore.com>.
8 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
15 ${RELOCATING+. = ${PAGESIZE};}
17 \$DATA\$ ALIGN (${BLOCKSIZE}) : {
18 *(\$DATA\$ .data .data.*)
19 *(\$BSS\$ .bss .bss.*)
22 /* Code segment. Note: name must be \$CODE\$ */
23 ${RELOCATING+. = ALIGN (${PAGESIZE});}
25 \$CODE\$ ALIGN (${BLOCKSIZE}) : {
26 *(\$CODE\$ .text .text.*)
33 ${RELOCATING+. = ALIGN (${PAGESIZE});}
35 /* RO initialized data. */
36 \$LITERAL\$ ALIGN (${BLOCKSIZE}) : {
38 *(\$READONLY\$ .rodata .rodata.*)
45 /* LIB$INITIALIZE stuff. */
46 *(LIB\$INITIALIZDZ) /* Start marker. */
47 *(LIB\$INITIALIZD_) /* Hi priority. */
48 *(LIB\$INITIALIZE) /* User. */
49 *(LIB\$INITIALIZE$) /* End marker. */
53 ${RELOCATING+. = ALIGN (${PAGESIZE});}
56 *(.srodata .srodata.*)
61 .IA_64.pltoff ALIGN (16) : {
64 \$TFR\$ ALIGN (16) : {
70 ${RELOCATING+. = ALIGN (${PAGESIZE});}
72 \$RW_SHORT\$ ALIGN (${BLOCKSIZE}) : {
77 ${RELOCATING+. = ALIGN (${PAGESIZE});}
79 .IA_64.unwind ALIGN (${BLOCKSIZE}) : {
80 *(.IA_64.unwind .IA_64.unwind.*)
83 .IA_64.unwind_info ALIGN (8) : {
84 *(.IA_64.unwind_info .IA_64.unwind_info.*)
87 ${RELOCATING+. = ALIGN (${PAGESIZE});}
89 .dynamic /* \$DYNAMIC\$ */ ALIGN (${BLOCKSIZE}) : {
95 ${RELOCATING+. = ALIGN (${PAGESIZE});}
97 .dynstr : { *(.dynstr) }
99 .dynsym ${RELOCATING-0} : { *(.dynsym) }
100 .rela.got : { *(.rela.got) }
101 .got.plt : { *(.got.plt) }
102 .gnu.version_d : { *(.gnu.version_d) }
103 .gnu.version : { *(.gnu.version) }
104 .gnu.version_r : { *(.gnu.version_r) }
105 .rela.IA_64.pltoff : { *(.rela.IA_64.pltoff) }
109 . $srcdir/scripttempl/DWARF.sc
112 .note : { *(.vms.note) }
114 /DISCARD/ : { *(.note) *(.vms_display_name_info) }