]>
Commit | Line | Data |
---|---|---|
bc9f0c12 MT |
1 | diff -ur binutils-2.15.97.orig/bfd/config.bfd binutils-2.15.97/bfd/config.bfd |
2 | --- binutils-2.15.97.orig/bfd/config.bfd 2005-04-29 20:48:14.000000000 -0400 | |
3 | +++ binutils-2.15.97/bfd/config.bfd 2005-04-29 20:53:50.000000000 -0400 | |
4 | @@ -140,7 +140,7 @@ | |
5 | targ_defvec=ecoffalpha_little_vec | |
6 | targ_selvecs=bfd_elf64_alpha_vec | |
7 | ;; | |
8 | - alpha*-*-linux-gnu* | alpha*-*-elf*) | |
9 | + alpha*-*-linux-* | alpha*-*-elf*) | |
10 | targ_defvec=bfd_elf64_alpha_vec | |
11 | targ_selvecs=ecoffalpha_little_vec | |
12 | ;; | |
13 | @@ -150,7 +150,7 @@ | |
14 | alpha*-*-*) | |
15 | targ_defvec=ecoffalpha_little_vec | |
16 | ;; | |
17 | - ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu) | |
18 | + ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu) | |
19 | targ_defvec=bfd_elf64_ia64_little_vec | |
20 | targ_selvecs="bfd_elf64_ia64_big_vec bfd_efi_app_ia64_vec" | |
21 | ;; | |
22 | @@ -227,7 +227,7 @@ | |
23 | targ_defvec=bfd_elf32_littlearm_vec | |
24 | targ_selvecs=bfd_elf32_bigarm_vec | |
25 | ;; | |
26 | - armeb-*-elf | arm*b-*-linux-gnu*) | |
27 | + armeb-*-elf | arm*b-*-linux-*) | |
28 | targ_defvec=bfd_elf32_bigarm_vec | |
29 | targ_selvecs=bfd_elf32_littlearm_vec | |
30 | ;; | |
31 | @@ -235,7 +235,7 @@ | |
32 | targ_defvec=bfd_elf32_littlearm_vec | |
33 | targ_selvecs=bfd_elf32_bigarm_vec | |
34 | ;; | |
35 | - arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | \ | |
36 | + arm-*-elf | arm-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \ | |
37 | arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \ | |
38 | arm*-*-eabi* ) | |
39 | targ_defvec=bfd_elf32_littlearm_vec | |
40 | @@ -385,7 +385,7 @@ | |
41 | ;; | |
42 | ||
43 | #ifdef BFD64 | |
44 | - hppa*64*-*-linux-gnu*) | |
45 | + hppa*64*-*-linux-*) | |
46 | targ_defvec=bfd_elf64_hppa_linux_vec | |
47 | targ_selvecs=bfd_elf64_hppa_vec | |
48 | ;; | |
49 | @@ -396,7 +396,7 @@ | |
50 | ;; | |
51 | #endif | |
52 | ||
53 | - hppa*-*-linux-gnu*) | |
54 | + hppa*-*-linux-*) | |
55 | targ_defvec=bfd_elf32_hppa_linux_vec | |
56 | targ_selvecs=bfd_elf32_hppa_vec | |
57 | ;; | |
58 | @@ -529,7 +529,7 @@ | |
59 | targ_selvecs=bfd_elf32_i386_vec | |
60 | targ_underscore=yes | |
61 | ;; | |
62 | - i[3-7]86-*-linux-gnu*) | |
63 | + i[3-7]86-*-linux-*) | |
64 | targ_defvec=bfd_elf32_i386_vec | |
65 | targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec" | |
66 | targ64_selvecs=bfd_elf64_x86_64_vec | |
67 | @@ -543,7 +543,7 @@ | |
68 | targ_defvec=bfd_elf64_x86_64_vec | |
69 | targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec" | |
70 | ;; | |
71 | - x86_64-*-linux-gnu*) | |
72 | + x86_64-*-linux-*) | |
73 | targ_defvec=bfd_elf64_x86_64_vec | |
74 | targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec" | |
75 | ;; | |
76 | @@ -719,7 +719,7 @@ | |
77 | targ_selvecs=bfd_elf32_m68k_vec | |
78 | targ_underscore=yes | |
79 | ;; | |
80 | - m68*-*-linux-gnu*) | |
81 | + m68*-*-linux-*) | |
82 | targ_defvec=bfd_elf32_m68k_vec | |
83 | targ_selvecs=m68klinux_vec | |
84 | ;; | |
85 | @@ -1005,7 +1005,7 @@ | |
86 | ;; | |
87 | #endif | |
88 | powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \ | |
89 | - powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems* | \ | |
90 | + powerpc-*-solaris2* | powerpc-*-linux-* | powerpc-*-rtems* | \ | |
91 | powerpc-*-chorus* | powerpc-*-vxworks* | powerpc-*-windiss*) | |
92 | targ_defvec=bfd_elf32_powerpc_vec | |
93 | targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec" | |
94 | @@ -1042,7 +1042,7 @@ | |
95 | targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec" | |
96 | ;; | |
97 | powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \ | |
98 | - powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-vxworks* |\ | |
99 | + powerpcle-*-solaris2* | powerpcle-*-linux-* | powerpcle-*-vxworks* |\ | |
100 | powerpcle-*-rtems*) | |
101 | targ_defvec=bfd_elf32_powerpcle_vec | |
102 | targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec" | |
103 | @@ -1213,7 +1213,7 @@ | |
104 | targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec" | |
105 | targ_underscore=yes | |
106 | ;; | |
107 | - sparc-*-linux-gnu*) | |
108 | + sparc-*-linux-*) | |
109 | targ_defvec=bfd_elf32_sparc_vec | |
110 | targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec" | |
111 | ;; | |
112 | @@ -1260,7 +1260,7 @@ | |
113 | targ_defvec=sunos_big_vec | |
114 | targ_underscore=yes | |
115 | ;; | |
116 | - sparc64-*-linux-gnu*) | |
117 | + sparc64-*-linux-*) | |
118 | targ_defvec=bfd_elf64_sparc_vec | |
119 | targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec" | |
120 | ;; | |
121 | @@ -1329,7 +1329,7 @@ | |
122 | targ_underscore=yes | |
123 | ;; | |
124 | ||
125 | - vax-*-linux-gnu*) | |
126 | + vax-*-linux-*) | |
127 | targ_defvec=bfd_elf32_vax_vec | |
128 | ;; | |
129 | ||
130 | diff -ur binutils-2.15.97.orig/bfd/configure binutils-2.15.97/bfd/configure | |
131 | --- binutils-2.15.97.orig/bfd/configure 2005-04-29 20:48:14.000000000 -0400 | |
132 | +++ binutils-2.15.97/bfd/configure 2005-04-29 20:53:50.000000000 -0400 | |
133 | @@ -9918,7 +9918,7 @@ | |
134 | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) | |
135 | COREFILE='' | |
136 | ;; | |
137 | - alpha*-*-linux-gnu*) | |
138 | + alpha*-*-linux-*) | |
139 | COREFILE=trad-core.lo | |
140 | TRAD_HEADER='"hosts/alphalinux.h"' | |
141 | ;; | |
142 | @@ -9982,7 +9982,7 @@ | |
143 | COREFILE=trad-core.lo | |
144 | TRAD_HEADER='"hosts/i386mach3.h"' | |
145 | ;; | |
146 | - i[3-7]86-*-linux-gnu*) | |
147 | + i[3-7]86-*-linux-*) | |
148 | COREFILE=trad-core.lo | |
149 | TRAD_HEADER='"hosts/i386linux.h"' | |
150 | ;; | |
151 | @@ -10020,7 +10020,7 @@ | |
152 | COREFILE=trad-core.lo | |
153 | TRAD_HEADER='"hosts/hp300bsd.h"' | |
154 | ;; | |
155 | - m68*-*-linux-gnu*) | |
156 | + m68*-*-linux-*) | |
157 | COREFILE=trad-core.lo | |
158 | TRAD_HEADER='"hosts/m68klinux.h"' | |
159 | ;; | |
160 | @@ -10154,7 +10154,7 @@ | |
161 | COREFILE=trad-core.lo | |
162 | TRAD_HEADER='"hosts/vaxult2.h"' | |
163 | ;; | |
164 | - vax-*-linux-gnu*) | |
165 | + vax-*-linux-*) | |
166 | COREFILE=trad-core.lo | |
167 | TRAD_HEADER='"hosts/vaxlinux.h"' | |
168 | ;; | |
169 | diff -ur binutils-2.15.97.orig/bfd/configure.in binutils-2.15.97/bfd/configure.in | |
170 | --- binutils-2.15.97.orig/bfd/configure.in 2005-04-29 20:48:14.000000000 -0400 | |
171 | +++ binutils-2.15.97/bfd/configure.in 2005-04-29 20:53:50.000000000 -0400 | |
172 | @@ -163,7 +163,7 @@ | |
173 | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) | |
174 | COREFILE='' | |
175 | ;; | |
176 | - alpha*-*-linux-gnu*) | |
177 | + alpha*-*-linux-*) | |
178 | COREFILE=trad-core.lo | |
179 | TRAD_HEADER='"hosts/alphalinux.h"' | |
180 | ;; | |
181 | @@ -248,7 +248,7 @@ | |
182 | TRAD_HEADER='"hosts/i386mach3.h"' | |
183 | ;; | |
184 | changequote(,)dnl | |
185 | - i[3-7]86-*-linux-gnu*) | |
186 | + i[3-7]86-*-linux-*) | |
187 | changequote([,])dnl | |
188 | COREFILE=trad-core.lo | |
189 | TRAD_HEADER='"hosts/i386linux.h"' | |
190 | @@ -289,7 +289,7 @@ | |
191 | COREFILE=trad-core.lo | |
192 | TRAD_HEADER='"hosts/hp300bsd.h"' | |
193 | ;; | |
194 | - m68*-*-linux-gnu*) | |
195 | + m68*-*-linux-*) | |
196 | COREFILE=trad-core.lo | |
197 | TRAD_HEADER='"hosts/m68klinux.h"' | |
198 | ;; | |
199 | @@ -375,7 +375,7 @@ | |
200 | COREFILE=trad-core.lo | |
201 | TRAD_HEADER='"hosts/vaxult2.h"' | |
202 | ;; | |
203 | - vax-*-linux-gnu*) | |
204 | + vax-*-linux-*) | |
205 | COREFILE=trad-core.lo | |
206 | TRAD_HEADER='"hosts/vaxlinux.h"' | |
207 | ;; | |
208 | diff -ur binutils-2.15.97.orig/gas/configure binutils-2.15.97/gas/configure | |
209 | --- binutils-2.15.97.orig/gas/configure 2005-04-29 20:48:14.000000000 -0400 | |
210 | +++ binutils-2.15.97/gas/configure 2005-04-29 20:53:50.000000000 -0400 | |
211 | @@ -4462,7 +4462,7 @@ | |
212 | _ACEOF | |
213 | ||
214 | ;; | |
215 | - ppc-*-linux-gnu*) | |
216 | + ppc-*-linux-*) | |
217 | case "$endian" in | |
218 | big) ;; | |
219 | *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5 | |
220 | diff -ur binutils-2.15.97.orig/gas/configure.in binutils-2.15.97/gas/configure.in | |
221 | --- binutils-2.15.97.orig/gas/configure.in 2005-04-29 20:48:14.000000000 -0400 | |
222 | +++ binutils-2.15.97/gas/configure.in 2005-04-29 20:53:50.000000000 -0400 | |
223 | @@ -161,7 +161,7 @@ | |
224 | AC_DEFINE(AIX_WEAK_SUPPORT, 1, | |
225 | [Define if using AIX 5.2 value for C_WEAKEXT.]) | |
226 | ;; | |
227 | - ppc-*-linux-gnu*) | |
228 | + ppc-*-linux-*) | |
229 | case "$endian" in | |
230 | big) ;; | |
231 | *) AC_MSG_ERROR(GNU/Linux must be configured big endian) ;; | |
232 | diff -ur binutils-2.15.97.orig/gas/configure.tgt binutils-2.15.97/gas/configure.tgt | |
233 | --- binutils-2.15.97.orig/gas/configure.tgt 2005-04-29 20:48:14.000000000 -0400 | |
234 | +++ binutils-2.15.97/gas/configure.tgt 2005-04-29 20:53:50.000000000 -0400 | |
235 | @@ -100,7 +100,7 @@ | |
236 | alpha-*-*vms*) fmt=evax ;; | |
237 | alpha-*-osf*) fmt=ecoff ;; | |
238 | alpha-*-linuxecoff*) fmt=ecoff ;; | |
239 | - alpha-*-linux-gnu*) fmt=elf em=linux ;; | |
240 | + alpha-*-linux-*) fmt=elf em=linux ;; | |
241 | alpha-*-netbsd*) fmt=elf em=nbsd ;; | |
242 | alpha-*-openbsd*) fmt=elf em=obsd ;; | |
243 | ||
244 | @@ -116,7 +116,7 @@ | |
245 | arm-*-conix*) fmt=elf ;; | |
246 | arm-*-linux*aout*) fmt=aout em=linux ;; | |
247 | arm-*-linux-gnueabi*) fmt=elf em=armlinuxeabi ;; | |
248 | - arm-*-linux-gnu*) fmt=elf em=linux ;; | |
249 | + arm-*-linux-*) fmt=elf em=linux ;; | |
250 | arm-*-uclinux*) fmt=elf em=linux ;; | |
251 | arm-*-netbsdelf*) fmt=elf em=nbsd ;; | |
252 | arm-*-*n*bsd*) fmt=aout em=nbsd ;; | |
253 | @@ -128,7 +128,7 @@ | |
254 | ||
255 | avr-*-*) fmt=elf ;; | |
256 | ||
257 | - cris-*-linux-gnu* | crisv32-*-linux-gnu*) | |
258 | + cris-*-linux-* | crisv32-*-linux-*) | |
259 | fmt=multi bfd_gas=yes em=linux ;; | |
260 | cris-*-* | crisv32-*-*) fmt=multi bfd_gas=yes ;; | |
261 | ||
262 | @@ -192,7 +192,7 @@ | |
263 | i386-*-linux*aout*) fmt=aout em=linux ;; | |
264 | i386-*-linux*oldld) fmt=aout em=linux ;; | |
265 | i386-*-linux*coff*) fmt=coff em=linux ;; | |
266 | - i386-*-linux-gnu*) fmt=elf em=linux ;; | |
267 | + i386-*-linux-*) fmt=elf em=linux ;; | |
268 | i386-*-lynxos*) fmt=elf em=lynx bfd_gas=yes ;; | |
269 | i386-*-sysv[45]*) fmt=elf ;; | |
270 | i386-*-solaris*) fmt=elf ;; | |
271 | @@ -238,7 +238,7 @@ | |
272 | ||
273 | ia64-*-elf*) fmt=elf ;; | |
274 | ia64-*-aix*) fmt=elf em=ia64aix ;; | |
275 | - ia64-*-linux-gnu*) fmt=elf em=linux ;; | |
276 | + ia64-*-linux-*) fmt=elf em=linux ;; | |
277 | ia64-*-hpux*) fmt=elf em=hpux ;; | |
278 | ia64-*-netbsd*) fmt=elf em=nbsd ;; | |
279 | ||
280 | @@ -265,7 +265,7 @@ | |
281 | m68k-*-rtems*) fmt=elf ;; | |
282 | m68k-*-hpux*) fmt=hp300 em=hp300 ;; | |
283 | m68k-*-linux*aout*) fmt=aout em=linux ;; | |
284 | - m68k-*-linux-gnu*) fmt=elf em=linux ;; | |
285 | + m68k-*-linux-*) fmt=elf em=linux ;; | |
286 | m68k-*-uclinux*) fmt=elf ;; | |
287 | m68k-*-gnu*) fmt=elf ;; | |
288 | m68k-*-netbsdelf*) fmt=elf em=nbsd ;; | |
289 | @@ -332,7 +332,7 @@ | |
290 | ppc-*-beos*) fmt=coff ;; | |
291 | ppc-*-*n*bsd* | ppc-*-elf*) fmt=elf ;; | |
292 | ppc-*-eabi* | ppc-*-sysv4*) fmt=elf ;; | |
293 | - ppc-*-linux-gnu*) fmt=elf em=linux ;; | |
294 | + ppc-*-linux-*) fmt=elf em=linux ;; | |
295 | ppc-*-solaris*) fmt=elf ;; | |
296 | ppc-*-rtems*) fmt=elf ;; | |
297 | ppc-*-macos*) fmt=coff em=macos ;; | |
298 | @@ -340,7 +340,7 @@ | |
299 | ppc-*-kaos*) fmt=elf ;; | |
300 | ppc-*-lynxos*) fmt=elf em=lynx bfd_gas=yes ;; | |
301 | ||
302 | - s390-*-linux-gnu*) fmt=elf em=linux ;; | |
303 | + s390-*-linux-*) fmt=elf em=linux ;; | |
304 | s390-*-tpf*) fmt=elf ;; | |
305 | ||
306 | sh*-*-linux*) fmt=elf em=linux | |
307 | @@ -369,7 +369,7 @@ | |
308 | sparc-*-aout | sparc*-*-vxworks*) fmt=aout em=sparcaout ;; | |
309 | sparc-*-coff) fmt=coff ;; | |
310 | sparc-*-linux*aout*) fmt=aout em=linux ;; | |
311 | - sparc-*-linux-gnu*) fmt=elf em=linux ;; | |
312 | + sparc-*-linux-*) fmt=elf em=linux ;; | |
313 | sparc-fujitsu-none) fmt=aout ;; | |
314 | sparc-*-elf) fmt=elf ;; | |
315 | sparc-*-sysv4*) fmt=elf ;; | |
316 | @@ -398,7 +398,7 @@ | |
317 | vax-*-netbsdelf*) fmt=elf em=nbsd ;; | |
318 | vax-*-netbsd*) fmt=aout em=nbsd ;; | |
319 | vax-*-bsd* | vax-*-ultrix*) fmt=aout ;; | |
320 | - vax-*-linux-gnu*) fmt=elf em=linux bfd_gas=yes ;; | |
321 | + vax-*-linux-*) fmt=elf em=linux bfd_gas=yes ;; | |
322 | ||
323 | w65-*-*) fmt=coff ;; | |
324 | ||
325 | diff -ur binutils-2.15.97.orig/ld/configure.host binutils-2.15.97/ld/configure.host | |
326 | --- binutils-2.15.97.orig/ld/configure.host 2005-04-29 20:48:15.000000000 -0400 | |
327 | +++ binutils-2.15.97/ld/configure.host 2005-04-29 20:53:50.000000000 -0400 | |
328 | @@ -83,7 +83,7 @@ | |
329 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,ld\[^ \]\*,ld-linux,g"` | |
330 | ;; | |
331 | ||
332 | -arm*-*-linux-gnu*) | |
333 | +arm*-*-linux-*) | |
334 | HOSTING_CRT0='-p '`echo "$HOSTING_CRT0" | sed -e "s,ld\[^ \]\*,ld-linux,g"` | |
335 | ;; | |
336 | ||
337 | @@ -141,7 +141,7 @@ | |
338 | HOSTING_LIBS="$HOSTING_LIBS"' -lcygwin -L/usr/lib/w32api -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`' | |
339 | ;; | |
340 | ||
341 | -ia64-*-linux-gnu*) | |
342 | +ia64-*-linux-*) | |
343 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,ld\[^ \]*\*,ld-linux-ia64,g"` | |
344 | ;; | |
345 | ||
346 | @@ -155,11 +155,11 @@ | |
347 | HOSTING_LIBS='-L/usr/lib32 '"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o ; else ${CC} -print-file-name=crtend.o; fi` /usr/lib32/crtn.o -init __do_global_ctors -fini __do_global_dtors' | |
348 | ;; | |
349 | ||
350 | -mips*-*-linux-gnu*) | |
351 | +mips*-*-linux-*) | |
352 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib/ld.so.1,"` | |
353 | ;; | |
354 | ||
355 | -m68*-*-linux-gnu*) | |
356 | +m68*-*-linux-*) | |
357 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib/ld.so.1,"` | |
358 | ;; | |
359 | ||
360 | @@ -183,19 +183,19 @@ | |
361 | HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi`' | |
362 | ;; | |
363 | ||
364 | -powerpc64*-*-linux-gnu*) | |
365 | +powerpc64*-*-linux-*) | |
366 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib64/ld64.so.1,"` | |
367 | ;; | |
368 | ||
369 | -powerpc*-*-linux-gnu*) | |
370 | +powerpc*-*-linux-*) | |
371 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib/ld.so.1,"` | |
372 | ;; | |
373 | ||
374 | -s390x-*-linux-gnu*) | |
375 | +s390x-*-linux-*) | |
376 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib/ld64.so.1,"` | |
377 | ;; | |
378 | ||
379 | -s390-*-linux-gnu*) | |
380 | +s390-*-linux-*) | |
381 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib/ld.so.1,"` | |
382 | ;; | |
383 | ||
384 | @@ -209,15 +209,15 @@ | |
385 | HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`' | |
386 | ;; | |
387 | ||
388 | -sparc-*-linux-gnu*) | |
389 | +sparc-*-linux-*) | |
390 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib/ld-linux.so.2,"` | |
391 | ;; | |
392 | ||
393 | -sparc64-*-linux-gnu*) | |
394 | +sparc64-*-linux-*) | |
395 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib64/ld-linux.so.2,"` | |
396 | ;; | |
397 | ||
398 | -x86_64-*-linux-gnu*) | |
399 | +x86_64-*-linux-*) | |
400 | HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`specs.*\"\\\`,/lib64/ld-linux-x86-64.so.2,"` | |
401 | ;; | |
402 | ||
403 | diff -ur binutils-2.15.97.orig/ld/configure.tgt binutils-2.15.97/ld/configure.tgt | |
404 | --- binutils-2.15.97.orig/ld/configure.tgt 2005-04-29 20:48:15.000000000 -0400 | |
405 | +++ binutils-2.15.97/ld/configure.tgt 2005-04-29 20:53:50.000000000 -0400 | |
406 | @@ -30,7 +30,7 @@ | |
407 | cris-*-*aout*) targ_emul=crisaout | |
408 | targ_extra_emuls="criself crislinux" | |
409 | targ_extra_libpath=$targ_extra_emuls ;; | |
410 | -cris-*-linux-gnu* | cris-*-linux-gnu*) | |
411 | +cris-*-linux-* | crisv32-*-linux-*) | |
412 | targ_emul=crislinux ;; | |
413 | cris-*-* | crisv32-*-*) targ_emul=criself | |
414 | targ_extra_emuls="crisaout crislinux" | |
415 | @@ -62,14 +62,14 @@ | |
416 | tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'` | |
417 | tdir_sun4=sparc-sun-sunos4 | |
418 | ;; | |
419 | -sparc64-*-linux-gnu*) targ_emul=elf64_sparc | |
420 | +sparc64-*-linux-*) targ_emul=elf64_sparc | |
421 | targ_extra_emuls="elf32_sparc sparclinux sun4" | |
422 | targ_extra_libpath=elf32_sparc | |
423 | tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` | |
424 | tdir_sparclinux=${tdir_elf32_sparc}aout | |
425 | tdir_sun4=sparc-sun-sunos4 | |
426 | ;; | |
427 | -sparc*-*-linux-gnu*) targ_emul=elf32_sparc | |
428 | +sparc*-*-linux-*) targ_emul=elf32_sparc | |
429 | targ_extra_emuls="sparclinux elf64_sparc sun4" | |
430 | targ_extra_libpath=elf64_sparc | |
431 | tdir_sparclinux=${targ_alias}aout | |
432 | @@ -119,8 +119,8 @@ | |
433 | ia64-*-aix*) targ_emul=elf64_aix ;; | |
434 | m32r*le-*-elf*) targ_emul=m32rlelf ;; | |
435 | m32r*-*-elf*) targ_emul=m32relf ;; | |
436 | -m32r*le-*-linux-gnu*) targ_emul=m32rlelf_linux ;; | |
437 | -m32r*-*-linux-gnu*) targ_emul=m32relf_linux ;; | |
438 | +m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; | |
439 | +m32r*-*-linux-*) targ_emul=m32relf_linux ;; | |
440 | m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf | |
441 | targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;; | |
442 | m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf | |
443 | @@ -131,7 +131,7 @@ | |
444 | m68*-apple-aux*) targ_emul=m68kaux ;; | |
445 | maxq-*-coff) targ_emul=maxqcoff;; | |
446 | *-tandem-none) targ_emul=st2000 ;; | |
447 | -i370-*-elf* | i370-*-linux-gnu*) targ_emul=elf32i370 ;; | |
448 | +i370-*-elf* | i370-*-linux-*) targ_emul=elf32i370 ;; | |
449 | i[3-7]86-*-nto-qnx*) targ_emul=i386nto ;; | |
450 | i[3-7]86-*-vsta) targ_emul=vsta ;; | |
451 | i[3-7]86-go32-rtems*) targ_emul=i386go32 ;; | |
452 | @@ -155,14 +155,14 @@ | |
453 | tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'` | |
454 | ;; | |
455 | i[3-7]86-*-linux*oldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; | |
456 | -i[3-7]86-*-linux-gnu*) targ_emul=elf_i386 | |
457 | +i[3-7]86-*-linux-*) targ_emul=elf_i386 | |
458 | targ_extra_emuls=i386linux | |
459 | if test x${want64} = xtrue; then | |
460 | targ_extra_emuls="$targ_extra_emuls elf_x86_64" | |
461 | fi | |
462 | tdir_i386linux=${targ_alias}aout | |
463 | ;; | |
464 | -x86_64-*-linux-gnu*) targ_emul=elf_x86_64 | |
465 | +x86_64-*-linux-*) targ_emul=elf_x86_64 | |
466 | targ_extra_emuls="elf_i386 i386linux" | |
467 | targ_extra_libpath=elf_i386 | |
468 | tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'` | |
469 | @@ -262,13 +262,13 @@ | |
470 | arm-*-kaos*) targ_emul=armelf ;; | |
471 | arm9e-*-elf) targ_emul=armelf ;; | |
472 | arm*b-*-linux-gnueabi) targ_emul=armelfb_linux_eabi ;; | |
473 | -arm*b-*-linux-gnu*) targ_emul=armelfb_linux; targ_extra_emuls=armelfb ;; | |
474 | +arm*b-*-linux-*) targ_emul=armelfb_linux; targ_extra_emuls=armelfb ;; | |
475 | arm*-*-linux-gnueabi) targ_emul=armelf_linux_eabi ;; | |
476 | -arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; | |
477 | +arm*-*-linux-*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; | |
478 | arm*-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; | |
479 | arm-*-vxworks) targ_emul=armelf_vxworks ;; | |
480 | arm*-*-conix*) targ_emul=armelf ;; | |
481 | -thumb-*-linux-gnu* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; | |
482 | +thumb-*-linux-* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; | |
483 | strongarm-*-coff) targ_emul=armcoff ;; | |
484 | strongarm-*-elf) targ_emul=armelf ;; | |
485 | strongarm-*-kaos*) targ_emul=armelf ;; | |
486 | @@ -372,7 +372,7 @@ | |
487 | targ_extra_emuls=m68kelf | |
488 | tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'` | |
489 | ;; | |
490 | -m68k-*-linux-gnu*) targ_emul=m68kelf | |
491 | +m68k-*-linux-*) targ_emul=m68kelf | |
492 | targ_extra_emuls=m68klinux | |
493 | tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'` | |
494 | ;; | |
495 | @@ -388,9 +388,9 @@ | |
496 | m68*-*-psos*) targ_emul=m68kpsos ;; | |
497 | m68*-*-rtemscoff*) targ_emul=m68kcoff ;; | |
498 | m68*-*-rtems*) targ_emul=m68kelf ;; | |
499 | -hppa*64*-*-linux-gnu*) targ_emul=hppa64linux ;; | |
500 | +hppa*64*-*-linux-*) targ_emul=hppa64linux ;; | |
501 | hppa*64*-*) targ_emul=elf64hppa ;; | |
502 | -hppa*-*-linux-gnu*) targ_emul=hppalinux ;; | |
503 | +hppa*-*-linux-*) targ_emul=hppalinux ;; | |
504 | hppa*-*-*elf*) targ_emul=hppaelf ;; | |
505 | hppa*-*-lites*) targ_emul=hppaelf ;; | |
506 | hppa*-*-netbsd*) targ_emul=hppanbsd ;; | |
507 | @@ -402,7 +402,7 @@ | |
508 | vax-*-netbsdaout* | vax-*-netbsd*) | |
509 | targ_emul=vaxnbsd | |
510 | targ_extra_emuls=elf32vax ;; | |
511 | -vax-*-linux-gnu*) targ_emul=elf32vax ;; | |
512 | +vax-*-linux-*) targ_emul=elf32vax ;; | |
513 | mips*-*-pe) targ_emul=mipspe ; | |
514 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; | |
515 | mips*-dec-ultrix*) targ_emul=mipslit ;; | |
516 | @@ -436,18 +436,18 @@ | |
517 | mips*-*-vxworks*) targ_emul=elf32ebmip | |
518 | targ_extra_emuls="elf32elmip" ;; | |
519 | mips*-*-windiss) targ_emul=elf32mipswindiss ;; | |
520 | -mips64*el-*-linux-gnu*) targ_emul=elf32ltsmipn32 | |
521 | +mips64*el-*-linux-*) targ_emul=elf32ltsmipn32 | |
522 | targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" | |
523 | targ_extra_libpath="elf32ltsmip elf64ltsmip" | |
524 | ;; | |
525 | -mips64*-*-linux-gnu*) targ_emul=elf32btsmipn32 | |
526 | +mips64*-*-linux-*) targ_emul=elf32btsmipn32 | |
527 | targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip" | |
528 | targ_extra_libpath="elf32btsmip elf64btsmip" | |
529 | ;; | |
530 | -mips*el-*-linux-gnu*) targ_emul=elf32ltsmip | |
531 | +mips*el-*-linux-*) targ_emul=elf32ltsmip | |
532 | targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" | |
533 | ;; | |
534 | -mips*-*-linux-gnu*) targ_emul=elf32btsmip | |
535 | +mips*-*-linux-*) targ_emul=elf32btsmip | |
536 | targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" | |
537 | ;; | |
538 | mips*-*-lnews*) targ_emul=mipslnews ;; | |
539 | @@ -467,7 +467,7 @@ | |
540 | alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha | |
541 | tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` | |
542 | ;; | |
543 | -alpha*-*-linux-gnu*) targ_emul=elf64alpha targ_extra_emuls=alpha | |
544 | +alpha*-*-linux-*) targ_emul=elf64alpha targ_extra_emuls=alpha | |
545 | tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'` | |
546 | ;; | |
547 | alpha*-*-osf*) targ_emul=alpha ;; | |
548 | diff -ur binutils-2.15.97.orig/ld/emultempl/elf32.em binutils-2.15.97/ld/emultempl/elf32.em | |
549 | --- binutils-2.15.97.orig/ld/emultempl/elf32.em 2005-04-29 20:48:15.000000000 -0400 | |
550 | +++ binutils-2.15.97/ld/emultempl/elf32.em 2005-04-29 20:53:50.000000000 -0400 | |
551 | @@ -65,7 +65,7 @@ | |
552 | ||
553 | if [ "x${USE_LIBPATH}" = xyes ] ; then | |
554 | case ${target} in | |
555 | - *-*-linux-gnu*) | |
556 | + *-*-linux-*) | |
557 | cat >>e${EMULATION_NAME}.c <<EOF | |
558 | #ifdef HAVE_GLOB | |
559 | #include <glob.h> | |
560 | @@ -350,7 +350,7 @@ | |
561 | ||
562 | EOF | |
563 | case ${target} in | |
564 | - *-*-linux-gnu*) | |
565 | + *-*-linux-*) | |
566 | cat >>e${EMULATION_NAME}.c <<EOF | |
567 | { | |
568 | struct bfd_link_needed_list *l; | |
569 | @@ -522,7 +522,7 @@ | |
570 | ||
571 | EOF | |
572 | case ${target} in | |
573 | - *-*-linux-gnu*) | |
574 | + *-*-linux-*) | |
575 | cat >>e${EMULATION_NAME}.c <<EOF | |
576 | /* For a native linker, check the file /etc/ld.so.conf for directories | |
577 | in which we may find shared libraries. /etc/ld.so.conf is really | |
578 | @@ -932,7 +932,7 @@ | |
579 | EOF | |
580 | if [ "x${USE_LIBPATH}" = xyes ] ; then | |
581 | case ${target} in | |
582 | - *-*-linux-gnu*) | |
583 | + *-*-linux-*) | |
584 | cat >>e${EMULATION_NAME}.c <<EOF | |
585 | if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force)) | |
586 | break; |