]>
Commit | Line | Data |
---|---|---|
0800c7da JR |
1 | --- emacs-20.3/src/Makefile.in.linkscr Fri Feb 26 02:55:20 1999 |
2 | +++ emacs-20.3/src/Makefile.in Fri Feb 26 03:00:38 1999 | |
3 | @@ -840,10 +840,17 @@ | |
4 | #define MAKE_PARALLEL | |
5 | #endif | |
6 | ||
7 | +/* On the alpha the elf dumper is kind of broken... */ | |
8 | +#if defined(__linux__) && defined(__alpha__) | |
9 | +LINK_SCRIPT = -Wl,-T,${srcdir}/elf64alpha.x | |
10 | +#else | |
11 | +LINK_SCRIPT = | |
12 | +#endif /* alpha linux */ | |
13 | + | |
14 | temacs: MAKE_PARALLEL $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJECTS_SYSTEM OBJECTS_MACHINE prefix-args | |
15 | $(LD) YMF_PASS_LDFLAGS (${STARTFLAGS} ${ALL_LDFLAGS}) \ | |
16 | -o temacs ${STARTFILES} ${obj} ${otherobj} \ | |
17 | - OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES} | |
18 | + OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES} $(LINK_SCRIPT) | |
19 | ||
20 | /* We don't use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE | |
21 | often contain options that have to do with using Emacs's crt0, | |
22 | --- emacs-20.3/src/elf64alpha.x.linkscr Fri Feb 26 03:01:46 1999 | |
23 | +++ emacs-20.3/src/elf64alpha.x Fri Feb 26 02:54:31 1999 | |
24 | @@ -0,0 +1,130 @@ | |
25 | +OUTPUT_FORMAT("elf64-alpha", "elf64-alpha", "elf64-alpha") | |
26 | +OUTPUT_ARCH(alpha) | |
27 | +ENTRY(__start) | |
28 | +SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); | |
29 | +SEARCH_DIR(/usr/alphaev5-unknown-linux-gnu/lib); | |
30 | + | |
31 | +SECTIONS | |
32 | +{ | |
33 | + /* Read-only sections, merged into text segment: */ | |
34 | + . = 0x120000000 + SIZEOF_HEADERS; | |
35 | + .interp : { *(.interp) } | |
36 | + .hash : { *(.hash) } | |
37 | + .dynsym : { *(.dynsym) } | |
38 | + .dynstr : { *(.dynstr) } | |
39 | + .gnu.version : { *(.gnu.version) } | |
40 | + .gnu.version_d : { *(.gnu.version_d) } | |
41 | + .gnu.version_r : { *(.gnu.version_r) } | |
42 | + .rel.text : | |
43 | + { *(.rel.text) *(.rel.gnu.linkonce.t*) } | |
44 | + .rela.text : | |
45 | + { *(.rela.text) *(.rela.gnu.linkonce.t*) } | |
46 | + .rel.data : | |
47 | + { *(.rel.data) *(.rel.gnu.linkonce.d*) } | |
48 | + .rela.data : | |
49 | + { *(.rela.data) *(.rela.gnu.linkonce.d*) } | |
50 | + .rel.rodata : | |
51 | + { *(.rel.rodata) *(.rel.gnu.linkonce.r*) } | |
52 | + .rela.rodata : | |
53 | + { *(.rela.rodata) *(.rela.gnu.linkonce.r*) } | |
54 | + .rel.got : { *(.rel.got) } | |
55 | + .rela.got : { *(.rela.got) } | |
56 | + .rel.ctors : { *(.rel.ctors) } | |
57 | + .rela.ctors : { *(.rela.ctors) } | |
58 | + .rel.dtors : { *(.rel.dtors) } | |
59 | + .rela.dtors : { *(.rela.dtors) } | |
60 | + .rel.init : { *(.rel.init) } | |
61 | + .rela.init : { *(.rela.init) } | |
62 | + .rel.fini : { *(.rel.fini) } | |
63 | + .rela.fini : { *(.rela.fini) } | |
64 | + .rel.bss : { *(.rel.bss) } | |
65 | + .rela.bss : { *(.rela.bss) } | |
66 | + .rel.plt : { *(.rel.plt) } | |
67 | + .rela.plt : { *(.rela.plt) } | |
68 | + .init : { *(.init) } =0x47ff041f | |
69 | + .text : | |
70 | + { | |
71 | + *(.text) | |
72 | + *(.stub) | |
73 | + /* .gnu.warning sections are handled specially by elf32.em. */ | |
74 | + *(.gnu.warning) | |
75 | + *(.gnu.linkonce.t*) | |
76 | + } =0x47ff041f | |
77 | + _etext = .; | |
78 | + PROVIDE (etext = .); | |
79 | + .fini : { *(.fini) } =0x47ff041f | |
80 | + .rodata : { *(.rodata) *(.gnu.linkonce.r*) } | |
81 | + .rodata1 : { *(.rodata1) } | |
82 | + .reginfo : { *(.reginfo) } | |
83 | + /* Adjust the address for the data segment. We want to adjust up to | |
84 | + the same address within the page on the next page up. */ | |
85 | + . = ALIGN(0x100000) + (. & (0x100000 - 1)); | |
86 | + .ctors : | |
87 | + { | |
88 | + *(.ctors) | |
89 | + } | |
90 | + .dtors : | |
91 | + { | |
92 | + *(.dtors) | |
93 | + } | |
94 | + .plt : { *(.plt) } | |
95 | + .got : { *(.got.plt) *(.got) } | |
96 | + .dynamic : { *(.dynamic) } | |
97 | + .data : | |
98 | + { | |
99 | + *(.data) | |
100 | + *(.sdata) | |
101 | + *(.gnu.linkonce.d*) | |
102 | + CONSTRUCTORS | |
103 | + } | |
104 | + /* We want the small data sections together, so single-instruction offsets | |
105 | + can access them all, and initialized data all before uninitialized, so | |
106 | + we can shorten the on-disk segment size. */ | |
107 | + _edata = .; | |
108 | + PROVIDE (edata = .); | |
109 | + __bss_start = .; | |
110 | + .bss : | |
111 | + { | |
112 | + *(.sbss) *(.scommon) | |
113 | + *(.dynbss) | |
114 | + *(.bss) | |
115 | + *(COMMON) | |
116 | + } | |
117 | + . = ALIGN(64 / 8); | |
118 | + _end = . ; | |
119 | + PROVIDE (end = .); | |
120 | + /* Stabs debugging sections. */ | |
121 | + .stab 0 : { *(.stab) } | |
122 | + .stabstr 0 : { *(.stabstr) } | |
123 | + .stab.excl 0 : { *(.stab.excl) } | |
124 | + .stab.exclstr 0 : { *(.stab.exclstr) } | |
125 | + .stab.index 0 : { *(.stab.index) } | |
126 | + .stab.indexstr 0 : { *(.stab.indexstr) } | |
127 | + .comment 0 : { *(.comment) } | |
128 | + /* DWARF debug sections. | |
129 | + Symbols in the DWARF debugging sections are relative to the beginning | |
130 | + of the section so we begin them at 0. */ | |
131 | + /* DWARF 1 */ | |
132 | + .debug 0 : { *(.debug) } | |
133 | + .line 0 : { *(.line) } | |
134 | + /* GNU DWARF 1 extensions */ | |
135 | + .debug_srcinfo 0 : { *(.debug_srcinfo) } | |
136 | + .debug_sfnames 0 : { *(.debug_sfnames) } | |
137 | + /* DWARF 1.1 and DWARF 2 */ | |
138 | + .debug_aranges 0 : { *(.debug_aranges) } | |
139 | + .debug_pubnames 0 : { *(.debug_pubnames) } | |
140 | + /* DWARF 2 */ | |
141 | + .debug_info 0 : { *(.debug_info) } | |
142 | + .debug_abbrev 0 : { *(.debug_abbrev) } | |
143 | + .debug_line 0 : { *(.debug_line) } | |
144 | + .debug_frame 0 : { *(.debug_frame) } | |
145 | + .debug_str 0 : { *(.debug_str) } | |
146 | + .debug_loc 0 : { *(.debug_loc) } | |
147 | + .debug_macinfo 0 : { *(.debug_macinfo) } | |
148 | + /* SGI/MIPS DWARF 2 extensions */ | |
149 | + .debug_weaknames 0 : { *(.debug_weaknames) } | |
150 | + .debug_funcnames 0 : { *(.debug_funcnames) } | |
151 | + .debug_typenames 0 : { *(.debug_typenames) } | |
152 | + .debug_varnames 0 : { *(.debug_varnames) } | |
153 | + /* These must appear regardless of . */ | |
154 | +} |