1 /* This script allegedly has the same effect as -taso would do on Digital
2 * Unix - that is, it forces stuff into the low 2Gb where 32-bit pointers
5 OUTPUT_FORMAT("elf64-alpha", "elf64-alpha",
9 SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/alpha-linux/lib);
10 /* Do we need any of these for elf?
14 /* Read-only sections, merged into text segment: */
15 . = 0x08048000 + SIZEOF_HEADERS;
16 .interp : { *(.interp) }
18 .dynsym : { *(.dynsym) }
19 .dynstr : { *(.dynstr) }
20 .gnu.version : { *(.gnu.version) }
21 .gnu.version_d : { *(.gnu.version_d) }
22 .gnu.version_r : { *(.gnu.version_r) }
24 { *(.rel.text) *(.rel.gnu.linkonce.t*) }
26 { *(.rela.text) *(.rela.gnu.linkonce.t*) }
28 { *(.rel.data) *(.rel.gnu.linkonce.d*) }
30 { *(.rela.data) *(.rela.gnu.linkonce.d*) }
32 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
34 { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
35 .rel.got : { *(.rel.got) }
36 .rela.got : { *(.rela.got) }
37 .rel.ctors : { *(.rel.ctors) }
38 .rela.ctors : { *(.rela.ctors) }
39 .rel.dtors : { *(.rel.dtors) }
40 .rela.dtors : { *(.rela.dtors) }
41 .rel.init : { *(.rel.init) }
42 .rela.init : { *(.rela.init) }
43 .rel.fini : { *(.rel.fini) }
44 .rela.fini : { *(.rela.fini) }
45 .rel.bss : { *(.rel.bss) }
46 .rela.bss : { *(.rela.bss) }
47 .rel.plt : { *(.rel.plt) }
48 .rela.plt : { *(.rela.plt) }
49 .init : { *(.init) } =0x47ff041f
54 /* .gnu.warning sections are handled specially by elf32.em. */
60 .fini : { *(.fini) } =0x47ff041f
61 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
62 .rodata1 : { *(.rodata1) }
63 .reginfo : { *(.reginfo) }
64 /* Adjust the address for the data segment. We want to adjust up to
65 the same address within the page on the next page up. */
66 . = ALIGN(0x100000) + (. & (0x100000 - 1));
73 .data1 : { *(.data1) }
83 .got : { *(.got.plt) *(.got) }
84 .dynamic : { *(.dynamic) }
85 /* We want the small data sections together, so single-instruction offsets
86 can access them all, and initialized data all before uninitialized, so
87 we can shorten the on-disk segment size. */
88 .sdata : { *(.sdata) }
92 .sbss : { *(.sbss) *(.scommon) }
102 /* Stabs debugging sections. */
103 .stab 0 : { *(.stab) }
104 .stabstr 0 : { *(.stabstr) }
105 .stab.excl 0 : { *(.stab.excl) }
106 .stab.exclstr 0 : { *(.stab.exclstr) }
107 .stab.index 0 : { *(.stab.index) }
108 .stab.indexstr 0 : { *(.stab.indexstr) }
109 .comment 0 : { *(.comment) }
110 /* DWARF debug sections.
111 Symbols in the DWARF debugging sections are relative to the beginning
112 of the section so we begin them at 0. */
114 .debug 0 : { *(.debug) }
115 .line 0 : { *(.line) }
116 /* GNU DWARF 1 extensions */
117 .debug_srcinfo 0 : { *(.debug_srcinfo) }
118 .debug_sfnames 0 : { *(.debug_sfnames) }
119 /* DWARF 1.1 and DWARF 2 */
120 .debug_aranges 0 : { *(.debug_aranges) }
121 .debug_pubnames 0 : { *(.debug_pubnames) }
123 .debug_info 0 : { *(.debug_info) }
124 .debug_abbrev 0 : { *(.debug_abbrev) }
125 .debug_line 0 : { *(.debug_line) }
126 .debug_frame 0 : { *(.debug_frame) }
127 .debug_str 0 : { *(.debug_str) }
128 .debug_loc 0 : { *(.debug_loc) }
129 .debug_macinfo 0 : { *(.debug_macinfo) }
130 /* SGI/MIPS DWARF 2 extensions */
131 .debug_weaknames 0 : { *(.debug_weaknames) }
132 .debug_funcnames 0 : { *(.debug_funcnames) }
133 .debug_typenames 0 : { *(.debug_typenames) }
134 .debug_varnames 0 : { *(.debug_varnames) }
135 /* These must appear regardless of . */