Include compressed DWARF debug sections in ELF linker scripts.
[deliverable/binutils-gdb.git] / ld / scripttempl / alphavms.sc
1 # Linker script for Alpha VMS systems.
2 # Tristan Gingold <gingold@adacore.com>.
3
4 PAGESIZE=0x10000
5
6 cat <<EOF
7 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
8 ${LIB_SEARCH_DIRS}
9
10 SECTIONS
11 {
12 ${RELOCATING+. = ${PAGESIZE};}
13
14 /* RW initialized data. */
15 \$DATA\$ ALIGN (${PAGESIZE}) : {
16 *(\$DATA\$)
17 }
18 /* RW data unmodified (zero-initialized). */
19 \$BSS\$ ALIGN (${PAGESIZE}) : {
20 *(\$BSS\$)
21 }
22 /* RO, executable code. */
23 \$CODE\$ ALIGN (${PAGESIZE}) : {
24 *(\$CODE\$)
25 }
26 /* RO initialized data. */
27 \$LITERAL\$ ALIGN (${PAGESIZE}) : {
28 *(\$LINK\$)
29 *(\$LITERAL\$)
30 *(\$READONLY\$)
31 *(\$READONLY_ADDR\$)
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. */
43 }
44
45 \$DST\$ 0 : {
46 *(\$DST\$)
47 }
48 }
49 EOF
This page took 0.030862 seconds and 4 git commands to generate.