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
73 __preinit_array_start = .;
75 __preinit_array_end = .;
78 __init_array_start = .;
83 __fini_array_start = .;
87 .rodata : { *(.rodata) *(.gnu.linkonce.r*) }
88 .rodata1 : { *(.rodata1) }
89 .reginfo : { *(.reginfo) }
90 /* Adjust the address for the data segment. We want to adjust up to
91 the same address within the page on the next page up. */
92 . = ALIGN(0x100000) + (. & (0x100000 - 1));
99 .data1 : { *(.data1) }
109 .got : { *(.got.plt) *(.got) }
110 .dynamic : { *(.dynamic) }
111 /* We want the small data sections together, so single-instruction offsets
112 can access them all, and initialized data all before uninitialized, so
113 we can shorten the on-disk segment size. */
114 .sdata : { *(.sdata) }
118 .sbss : { *(.sbss) *(.scommon) }
128 /* Stabs debugging sections. */
129 .stab 0 : { *(.stab) }
130 .stabstr 0 : { *(.stabstr) }
131 .stab.excl 0 : { *(.stab.excl) }
132 .stab.exclstr 0 : { *(.stab.exclstr) }
133 .stab.index 0 : { *(.stab.index) }
134 .stab.indexstr 0 : { *(.stab.indexstr) }
135 .comment 0 : { *(.comment) }
136 /* DWARF debug sections.
137 Symbols in the DWARF debugging sections are relative to the beginning
138 of the section so we begin them at 0. */
140 .debug 0 : { *(.debug) }
141 .line 0 : { *(.line) }
142 /* GNU DWARF 1 extensions */
143 .debug_srcinfo 0 : { *(.debug_srcinfo) }
144 .debug_sfnames 0 : { *(.debug_sfnames) }
145 /* DWARF 1.1 and DWARF 2 */
146 .debug_aranges 0 : { *(.debug_aranges) }
147 .debug_pubnames 0 : { *(.debug_pubnames) }
149 .debug_info 0 : { *(.debug_info) }
150 .debug_abbrev 0 : { *(.debug_abbrev) }
151 .debug_line 0 : { *(.debug_line) }
152 .debug_frame 0 : { *(.debug_frame) }
153 .debug_str 0 : { *(.debug_str) }
154 .debug_loc 0 : { *(.debug_loc) }
155 .debug_macinfo 0 : { *(.debug_macinfo) }
156 /* SGI/MIPS DWARF 2 extensions */
157 .debug_weaknames 0 : { *(.debug_weaknames) }
158 .debug_funcnames 0 : { *(.debug_funcnames) }
159 .debug_typenames 0 : { *(.debug_typenames) }
160 .debug_varnames 0 : { *(.debug_varnames) }
161 /* These must appear regardless of . */