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
6 * This software is part of the SBCL system. See the README file for
9 * This software is derived from the CMU CL system, which was
10 * written at Carnegie Mellon University and released into the
11 * public domain. The software is in the public domain and is
12 * provided with absolutely no warranty. See the COPYING and CREDITS
13 * files for more information.
16 OUTPUT_FORMAT("elf64-alpha", "elf64-alpha",
20 SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/alpha-linux/lib);
21 /* Do we need any of these for elf?
25 /* Read-only sections, merged into text segment: */
26 . = 0x08048000 + SIZEOF_HEADERS;
27 .interp : { *(.interp) }
29 .dynsym : { *(.dynsym) }
30 .dynstr : { *(.dynstr) }
31 .gnu.version : { *(.gnu.version) }
32 .gnu.version_d : { *(.gnu.version_d) }
33 .gnu.version_r : { *(.gnu.version_r) }
35 { *(.rel.text) *(.rel.gnu.linkonce.t*) }
37 { *(.rela.text) *(.rela.gnu.linkonce.t*) }
39 { *(.rel.data) *(.rel.gnu.linkonce.d*) }
41 { *(.rela.data) *(.rela.gnu.linkonce.d*) }
43 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
45 { *(.rela.rodata) *(.rela.gnu.linkonce.r*) }
46 .rel.got : { *(.rel.got) }
47 .rela.got : { *(.rela.got) }
48 .rel.ctors : { *(.rel.ctors) }
49 .rela.ctors : { *(.rela.ctors) }
50 .rel.dtors : { *(.rel.dtors) }
51 .rela.dtors : { *(.rela.dtors) }
52 .rel.init : { *(.rel.init) }
53 .rela.init : { *(.rela.init) }
54 .rel.fini : { *(.rel.fini) }
55 .rela.fini : { *(.rela.fini) }
56 .rel.bss : { *(.rel.bss) }
57 .rela.bss : { *(.rela.bss) }
58 .rel.plt : { *(.rel.plt) }
59 .rela.plt : { *(.rela.plt) }
60 .init : { *(.init) } =0x47ff041f
65 /* .gnu.warning sections are handled specially by elf32.em. */
71 .fini : { *(.fini) } =0x47ff041f
72 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
73 .rodata1 : { *(.rodata1) }
74 .reginfo : { *(.reginfo) }
75 /* Adjust the address for the data segment. We want to adjust up to
76 the same address within the page on the next page up. */
77 . = ALIGN(0x100000) + (. & (0x100000 - 1));
84 .data1 : { *(.data1) }
94 .got : { *(.got.plt) *(.got) }
95 .dynamic : { *(.dynamic) }
96 /* We want the small data sections together, so single-instruction offsets
97 can access them all, and initialized data all before uninitialized, so
98 we can shorten the on-disk segment size. */
99 .sdata : { *(.sdata) }
103 .sbss : { *(.sbss) *(.scommon) }
113 /* Stabs debugging sections. */
114 .stab 0 : { *(.stab) }
115 .stabstr 0 : { *(.stabstr) }
116 .stab.excl 0 : { *(.stab.excl) }
117 .stab.exclstr 0 : { *(.stab.exclstr) }
118 .stab.index 0 : { *(.stab.index) }
119 .stab.indexstr 0 : { *(.stab.indexstr) }
120 .comment 0 : { *(.comment) }
121 /* DWARF debug sections.
122 Symbols in the DWARF debugging sections are relative to the beginning
123 of the section so we begin them at 0. */
125 .debug 0 : { *(.debug) }
126 .line 0 : { *(.line) }
127 /* GNU DWARF 1 extensions */
128 .debug_srcinfo 0 : { *(.debug_srcinfo) }
129 .debug_sfnames 0 : { *(.debug_sfnames) }
130 /* DWARF 1.1 and DWARF 2 */
131 .debug_aranges 0 : { *(.debug_aranges) }
132 .debug_pubnames 0 : { *(.debug_pubnames) }
134 .debug_info 0 : { *(.debug_info) }
135 .debug_abbrev 0 : { *(.debug_abbrev) }
136 .debug_line 0 : { *(.debug_line) }
137 .debug_frame 0 : { *(.debug_frame) }
138 .debug_str 0 : { *(.debug_str) }
139 .debug_loc 0 : { *(.debug_loc) }
140 .debug_macinfo 0 : { *(.debug_macinfo) }
141 /* SGI/MIPS DWARF 2 extensions */
142 .debug_weaknames 0 : { *(.debug_weaknames) }
143 .debug_funcnames 0 : { *(.debug_funcnames) }
144 .debug_typenames 0 : { *(.debug_typenames) }
145 .debug_varnames 0 : { *(.debug_varnames) }
146 /* These must appear regardless of . */