Commit | Line | Data |
---|---|---|
49df10b1 DM |
1 | # config.bfd |
2 | # Convert a canonical host type into a BFD host type. | |
2b79a104 ILT |
3 | # Set shell variable targ to canonical target name, and run |
4 | # using ``. config.bfd''. | |
5 | # Sets the following shell variables: | |
6 | # targ_defvec Default vector for this target | |
7 | # targ_selvecs Vectors to build for this target | |
8 | # targ_archs Architectures for this target | |
9 | # targ_cflags $(CFLAGS) for this target (FIXME: pretty bogus) | |
10 | # targ_undercore Whether underscores are used: yes or no | |
49df10b1 | 11 | |
1fb83be6 | 12 | # The binutils c++filt program wants to know whether underscores are |
2b79a104 ILT |
13 | # stripped or not. That is why we set targ_underscore. c++filt uses |
14 | # this information to choose a default. This information is | |
15 | # duplicated in the symbol_leading_char field of the BFD target | |
16 | # vector, but c++filt does not deal with object files and is not | |
17 | # linked against libbfd.a. It is not terribly important that c++filt | |
18 | # get this right; it is just convenient. | |
19 | ||
20 | targ_defvec= | |
21 | targ_selvecs= | |
22 | targ_cflags= | |
23 | targ_underscore=no | |
24 | ||
25 | targ_cpu=`echo $targ | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'` | |
26 | case "${targ_cpu}" in | |
27 | arm*) targ_archs=bfd_arm_arch ;; | |
28 | hppa*) targ_archs=bfd_hppa_arch ;; | |
29 | i[345]86) targ_archs=bfd_i386_arch ;; | |
30 | m68*) targ_archs=bfd_m68k_arch ;; | |
31 | m88*) targ_archs=bfd_m88k_arch ;; | |
32 | mips*) targ_archs=bfd_mips_arch ;; | |
33 | powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; | |
34 | rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; | |
35 | sparc*) targ_archs=bfd_sparc_arch ;; | |
36 | z8k*) targ_archs=bfd_z8k_arch ;; | |
37 | *) targ_archs=bfd_${targ_cpu}_arch ;; | |
38 | esac | |
1fb83be6 | 39 | |
49df10b1 DM |
40 | # WHEN ADDING ENTRIES TO THIS MATRIX: |
41 | # Make sure that the left side always has two dashes. Otherwise you | |
42 | # can get spurious matches. Even for unambiguous cases, do this as a | |
43 | # convention, else the table becomes a real mess to understand and maintain. | |
44 | ||
2b79a104 ILT |
45 | case "${targ}" in |
46 | alpha-*-netware*) | |
47 | targ_defvec=ecoffalpha_little_vec | |
48 | targ_selvecs=nlm32_alpha_vec | |
49 | ;; | |
e8f46717 ILT |
50 | alpha-*-linuxecoff*) |
51 | targ_defvec=ecoffalpha_little_vec | |
52 | targ_selvecs=bfd_elf64_alpha_vec | |
53 | ;; | |
54 | alpha-*-linux* | alpha-*-elf*) | |
55 | targ_defvec=bfd_elf64_alpha_vec | |
56 | targ_selvecs=ecoffalpha_little_vec | |
57 | ;; | |
58 | alpha-*-*vms*) | |
59 | targ_defvec=evax_alpha_vec | |
60 | ;; | |
2b79a104 ILT |
61 | alpha-*-*) |
62 | targ_defvec=ecoffalpha_little_vec | |
63 | ;; | |
64 | ||
e18ecf7a | 65 | # start-sanitize-arc |
2b79a104 ILT |
66 | arc-*-elf*) |
67 | targ_defvec=bfd_elf32_littlearc_vec | |
50bd50d4 | 68 | targ_selvecs=bfd_elf32_bigarc_vec |
2b79a104 | 69 | ;; |
e18ecf7a | 70 | # end-sanitize-arc |
2b79a104 ILT |
71 | arm-*-riscix*) |
72 | targ_defvec=riscix_vec | |
73 | ;; | |
74 | arm-*-pe*) | |
75 | targ_defvec=armpe_little_vec | |
76 | targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec" | |
77 | targ_underscore=yes | |
78 | ;; | |
bd676d26 | 79 | arm-*-aout | armel-*-aout) |
2b79a104 ILT |
80 | targ_defvec=aout_arm_little_vec |
81 | targ_selvecs=aout_arm_big_vec | |
82 | ;; | |
83 | armeb-*-aout) | |
84 | targ_defvec=aout_arm_big_vec | |
85 | targ_selvecs=aout_arm_little_vec | |
86 | ;; | |
a11e10fe DE |
87 | arm-*-coff) |
88 | targ_defvec=armcoff_little_vec | |
89 | targ_selvecs=armcoff_big_vec | |
90 | targ_underscore=yes | |
91 | ;; | |
2b79a104 ILT |
92 | |
93 | a29k-*-ebmon* | a29k-*-udi* | a29k-*-coff* | a29k-*-sym1* | \ | |
94 | a29k-*-vxworks* | a29k-*-sysv*) | |
95 | targ_defvec=a29kcoff_big_vec | |
96 | targ_selvecs=sunos_big_vec | |
97 | targ_underscore=yes | |
98 | ;; | |
99 | a29k-*-aout* | a29k-*-bsd* | a29k-*-vsta*) | |
100 | targ_defvec=sunos_big_vec | |
101 | targ_underscore=yes | |
102 | ;; | |
103 | ||
50bd50d4 MH |
104 | # start-sanitize-d10v |
105 | d10v-*-*) | |
106 | targ_defvec=bfd_elf32_d10v_vec | |
107 | ;; | |
108 | # end-sanitize-d10v | |
109 | ||
2b79a104 ILT |
110 | h8300*-*-*) |
111 | targ_defvec=h8300coff_vec | |
112 | targ_underscore=yes | |
113 | ;; | |
114 | ||
115 | h8500-*-*) | |
116 | targ_defvec=h8500coff_vec | |
117 | targ_underscore=yes | |
118 | ;; | |
119 | ||
120 | sh-*-*) | |
767f22d5 | 121 | targ_defvec=shcoff_vec |
2b79a104 ILT |
122 | targ_selvecs="shcoff_vec shlcoff_vec" |
123 | targ_underscore=yes | |
124 | ;; | |
125 | ||
2b79a104 ILT |
126 | hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4*) |
127 | targ_defvec=bfd_elf32_hppa_vec | |
128 | ;; | |
129 | hppa*-*-bsd*) | |
130 | targ_defvec=som_vec | |
131 | targ_selvecs=bfd_elf32_hppa_vec | |
132 | ;; | |
133 | hppa*-*-hpux* | hppa*-*-hiux*) | |
134 | targ_defvec=som_vec | |
135 | ;; | |
136 | hppa*-*-osf*) | |
137 | targ_defvec=som_vec | |
138 | targ_selvecs=bfd_elf32_hppa_vec | |
139 | ;; | |
140 | ||
141 | i[345]86-*-sysv4* | i[345]86-*-unixware | i[345]86-*-solaris2* | \ | |
9b263b79 | 142 | i[345]86-*-elf | i[345]86-*-sco*elf* | i[345]86-*-freebsdelf*) |
2b79a104 ILT |
143 | targ_defvec=bfd_elf32_i386_vec |
144 | targ_selvecs=i386coff_vec | |
145 | ;; | |
146 | i[345]86-*-sysv* | i[345]86-*-isc* | i[345]86-*-sco* | i[345]86-*-coff | \ | |
50bd50d4 | 147 | i[345]86-*-aix* | i[345]86-*-go32* | i[345]86*-*-rtems*) |
2b79a104 ILT |
148 | targ_defvec=i386coff_vec |
149 | ;; | |
150 | i[345]86-sequent-bsd*) | |
151 | targ_defvec=i386dynix_vec | |
152 | targ_underscore=yes | |
153 | ;; | |
767f22d5 | 154 | i[345]86-*-bsd*) |
2b79a104 ILT |
155 | targ_defvec=i386bsd_vec |
156 | targ_underscore=yes | |
157 | ;; | |
767f22d5 FF |
158 | i[345]86-*-freebsd*) |
159 | targ_defvec=i386freebsd_vec | |
160 | targ_selvecs=i386bsd_vec | |
161 | targ_underscore=yes | |
162 | ;; | |
2b79a104 ILT |
163 | i[345]86-*-netbsd*) |
164 | targ_defvec=i386netbsd_vec | |
165 | targ_selvecs=i386bsd_vec | |
166 | targ_underscore=yes | |
167 | ;; | |
168 | i[345]86-*-netware*) | |
169 | targ_defvec=bfd_elf32_i386_vec | |
170 | targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec" | |
171 | ;; | |
172 | i[345]86-*-linuxaout*) | |
173 | targ_defvec=i386linux_vec | |
174 | targ_selvecs=bfd_elf32_i386_vec | |
175 | targ_underscore=yes | |
176 | ;; | |
177 | i[345]86-*-linux*) | |
178 | targ_defvec=bfd_elf32_i386_vec | |
179 | targ_selvecs=i386linux_vec | |
180 | targ_underscore=yes | |
181 | ;; | |
182 | i[345]86-*-lynxos*) | |
183 | targ_defvec=i386lynx_coff_vec | |
184 | targ_selvecs=i386lynx_aout_vec | |
185 | ;; | |
186 | i[345]86-*-gnu*) | |
187 | targ_defvec=bfd_elf32_i386_vec | |
188 | targ_selvecs=i386mach3_vec | |
189 | targ_cflags=-DSTAT_FOR_EXEC | |
190 | targ_underscore=yes | |
191 | ;; | |
192 | i[345]86-*-mach* | i[345]86-*-osf1mk*) | |
193 | targ_defvec=i386mach3_vec | |
194 | targ_cflags=-DSTAT_FOR_EXEC | |
195 | targ_underscore=yes | |
196 | ;; | |
197 | i[345]86-*-os9k) | |
198 | targ_defvec=i386os9k_vec | |
199 | ;; | |
200 | i[345]86-*-msdos*) | |
201 | targ_defvec=i386aout_vec | |
202 | targ_selvecs=i386msdos_vec | |
203 | ;; | |
204 | i[345]86-*-moss*) | |
205 | targ_defvec=bfd_elf32_i386_vec | |
206 | targ_selvecs="i386msdos_vec i386aout_vec" | |
207 | ;; | |
3998d526 | 208 | i[345]86-*-cygwin32 | i[345]86-*-winnt | i[345]86-*-pe) |
049df0a8 | 209 | targ_defvec=i386pe_vec |
2b79a104 ILT |
210 | targ_selvecs="i386pe_vec i386pei_vec" |
211 | ;; | |
212 | i[345]86-none-*) | |
213 | targ_defvec=i386coff_vec | |
214 | ;; | |
215 | i[345]86-*-aout* | i[345]86*-*-vsta*) | |
588512c6 | 216 | targ_defvec=i386aout_vec |
2b79a104 ILT |
217 | ;; |
218 | ||
767f22d5 FF |
219 | i860-*-mach3* | i860-*-osf1* | i860-*-coff*) |
220 | targ_defvec=i860coff_vec | |
221 | ;; | |
222 | i860-*-sysv4* | i860-*-elf*) | |
2b79a104 ILT |
223 | targ_defvec=bfd_elf32_i860_vec |
224 | ;; | |
225 | ||
226 | i960-*-vxworks4* | i960-*-vxworks5.0) | |
227 | targ_defvec=b_out_vec_little_host | |
3998d526 | 228 | targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec" |
2b79a104 ILT |
229 | targ_underscore=yes |
230 | ;; | |
50bd50d4 | 231 | i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv* | i960-*-rtems*) |
2b79a104 | 232 | targ_defvec=icoff_little_vec |
3998d526 | 233 | targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host ieee_vec" |
2b79a104 ILT |
234 | targ_underscore=yes |
235 | ;; | |
236 | i960-*-vxworks* | i960-*-aout* | i960-*-bout* | i960-*-nindy*) | |
237 | targ_defvec=b_out_vec_little_host | |
3998d526 | 238 | targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec" |
2b79a104 ILT |
239 | targ_underscore=yes |
240 | ;; | |
49df10b1 | 241 | |
2b79a104 ILT |
242 | m68*-apollo-*) |
243 | targ_defvec=apollocoff_vec | |
244 | ;; | |
245 | m68*-bull-sysv*) | |
246 | targ_defvec=m68kcoffun_vec | |
247 | targ_underscore=yes | |
248 | ;; | |
249 | m68*-hp-bsd*) | |
250 | targ_defvec=hp300bsd_vec | |
251 | targ_underscore=yes | |
252 | ;; | |
253 | m68*-*-aout*) | |
254 | targ_defvec=aout0_big_vec | |
3998d526 | 255 | # We include cisco_core_vec here, rather than making a separate cisco |
2b79a104 ILT |
256 | # configuration, so that cisco-core.c gets routinely tested at |
257 | # least for compilation. | |
3998d526 | 258 | targ_selvecs="cisco_core_vec ieee_vec" |
2b79a104 ILT |
259 | targ_underscore=yes |
260 | ;; | |
767f22d5 | 261 | m68*-*-elf* | m68*-*-sysv4*) |
2b79a104 | 262 | targ_defvec=bfd_elf32_m68k_vec |
3998d526 | 263 | targ_selvecs="m68kcoff_vec ieee_vec" |
2b79a104 | 264 | ;; |
50bd50d4 | 265 | m68*-*-coff* | m68*-*-sysv* | m68*-*-rtems*) |
2b79a104 | 266 | targ_defvec=m68kcoff_vec |
3998d526 | 267 | targ_selvecs="m68kcoff_vec versados_vec ieee_vec" |
2b79a104 ILT |
268 | ;; |
269 | m68*-*-hpux*) | |
270 | targ_defvec=hp300hpux_vec | |
271 | targ_underscore=yes | |
272 | ;; | |
3998d526 ILT |
273 | m68*-*-linuxaout*) |
274 | targ_defvec=m68klinux_vec | |
275 | targ_selvecs=bfd_elf32_m68k_vec | |
276 | targ_underscore=yes | |
277 | ;; | |
278 | m68*-*-linux*) | |
279 | targ_defvec=bfd_elf32_m68k_vec | |
280 | targ_selvecs=m68klinux_vec | |
281 | ;; | |
2b79a104 ILT |
282 | m68*-*-lynxos*) |
283 | targ_defvec=m68klynx_coff_vec | |
284 | targ_selvecs=m68klynx_aout_vec | |
285 | ;; | |
11ab6da4 NH |
286 | m68*-hp*-netbsd*) |
287 | targ_defvec=m68k4knetbsd_vec | |
288 | targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec" | |
289 | targ_underscore=yes | |
290 | ;; | |
2b79a104 ILT |
291 | m68*-*-netbsd*) |
292 | targ_defvec=m68knetbsd_vec | |
11ab6da4 | 293 | targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" |
2b79a104 ILT |
294 | targ_underscore=yes |
295 | ;; | |
296 | m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \ | |
297 | m68*-*-bsd* | m68*-*-vsta*) | |
298 | targ_defvec=sunos_big_vec | |
299 | targ_underscore=yes | |
300 | ;; | |
301 | m68*-ericsson-*) | |
302 | targ_defvec=sunos_big_vec | |
303 | targ_selvecs="m68kcoff_vec tekhex_vec" | |
304 | targ_underscore=yes | |
305 | ;; | |
767f22d5 FF |
306 | m68*-cbm-*) |
307 | targ_defvec=bfd_elf32_m68k_vec | |
308 | targ_selvecs=m68kcoff_vec | |
309 | ;; | |
d19df9b5 ILT |
310 | m68*-apple-aux*) |
311 | targ_defvec=m68kaux_coff_vec | |
312 | ;; | |
3998d526 ILT |
313 | m68*-*-psos*) |
314 | targ_defvec=bfd_elf32_m68k_vec | |
315 | targ_selvecs=ieee_vec | |
316 | targ_underscore=yes | |
317 | ;; | |
2b79a104 ILT |
318 | |
319 | m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*) | |
320 | targ_defvec=bfd_elf32_m88k_vec | |
321 | targ_selvecs=m88kbcs_vec | |
322 | ;; | |
323 | m88*-*-mach3*) | |
324 | targ_defvec=m88kmach3_vec | |
325 | targ_cflags=-DSTAT_FOR_EXEC | |
326 | ;; | |
327 | m88*-*-*) | |
328 | targ_defvec=m88kbcs_vec | |
329 | targ_underscore=yes | |
330 | ;; | |
331 | ||
332 | mips*-big-*) | |
333 | targ_defvec=ecoff_big_vec | |
334 | targ_selvecs=ecoff_little_vec | |
335 | ;; | |
049df0a8 ILT |
336 | mips-dec-netbsd*) |
337 | targ_defvec=bfd_elf32_littlemips_vec | |
338 | targ_selvecs=bfd_elf32_bigmips_vec | |
339 | ;; | |
2b79a104 ILT |
340 | mips*-dec-bsd*) |
341 | targ_defvec=aout_mips_little_vec | |
342 | targ_underscore=yes | |
343 | ;; | |
344 | mips*-dec-mach3*) | |
345 | targ_defvec=aout_mips_little_vec | |
346 | targ_cflags=-DSTAT_FOR_EXEC | |
347 | ;; | |
348 | mips*-dec-* | mips*el-*-ecoff*) | |
349 | targ_defvec=ecoff_little_vec | |
350 | targ_selvecs=ecoff_big_vec | |
351 | ;; | |
d6d44ef9 SG |
352 | # start-sanitize-gm |
353 | mips*-*-magic*) | |
354 | targ_defvec=ecoff_big_vec | |
bf917766 | 355 | targ_selvecs=bfd_elf32_bigmips_vec |
d6d44ef9 SG |
356 | ;; |
357 | # end-sanitize-gm | |
2b79a104 ILT |
358 | mips*-*-ecoff*) |
359 | targ_defvec=ecoff_big_vec | |
360 | targ_selvecs=ecoff_little_vec | |
361 | ;; | |
e8c249cb ILT |
362 | mips*-*-irix6*) |
363 | targ_defvec=bfd_elf32_bigmips_vec | |
364 | targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" | |
365 | ;; | |
2b79a104 ILT |
366 | mips*-*-irix5*) |
367 | targ_defvec=bfd_elf32_bigmips_vec | |
368 | targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec" | |
369 | ;; | |
370 | mips*-sgi-* | mips*-*-bsd*) | |
371 | targ_defvec=ecoff_big_vec | |
372 | targ_selvecs=ecoff_little_vec | |
373 | ;; | |
374 | mips*-*-mach3*) | |
375 | targ_defvec=aout_mips_little_vec | |
376 | targ_cflags=-DSTAT_FOR_EXEC | |
377 | ;; | |
378 | mips*-*-sysv4*) | |
379 | targ_defvec=bfd_elf32_bigmips_vec | |
380 | targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec" | |
381 | ;; | |
382 | mips*-*-sysv* | mips*-*-riscos*) | |
383 | targ_defvec=ecoff_big_vec | |
384 | targ_selvecs=ecoff_little_vec | |
385 | ;; | |
386 | mips*el-*-elf*) | |
387 | targ_defvec=bfd_elf32_littlemips_vec | |
9b263b79 | 388 | targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" |
2b79a104 ILT |
389 | ;; |
390 | mips*-*-elf*) | |
391 | targ_defvec=bfd_elf32_bigmips_vec | |
9b263b79 | 392 | targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" |
2b79a104 ILT |
393 | ;; |
394 | ||
2a01c351 | 395 | ns32k-pc532-mach* | ns32k-pc532-ux*) |
2b79a104 ILT |
396 | targ_defvec=pc532machaout_vec |
397 | targ_underscore=yes | |
398 | ;; | |
2a01c351 | 399 | ns32k-*-netbsd* | ns32k-*-lites*) |
2b79a104 ILT |
400 | targ_defvec=pc532netbsd_vec |
401 | targ_underscore=yes | |
402 | ;; | |
403 | ||
404 | powerpc-*-aix*) | |
405 | targ_defvec=rs6000coff_vec | |
406 | ;; | |
9b263b79 | 407 | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \ |
50bd50d4 | 408 | powerpc-*-solaris2* | powerpc-*-linux* | powerpc-*-rtems*) |
2b79a104 | 409 | targ_defvec=bfd_elf32_powerpc_vec |
9b263b79 | 410 | targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec ppcboot_vec" |
2b79a104 | 411 | ;; |
2a01c351 KR |
412 | powerpc-*-macos* | powerpc-*-mpw*) |
413 | targ_defvec=pmac_xcoff_vec | |
414 | ;; | |
2b79a104 ILT |
415 | powerpc-*-netware*) |
416 | targ_defvec=bfd_elf32_powerpc_vec | |
417 | targ_selvecs="nlm32_powerpc_vec rs6000coff_vec" | |
418 | ;; | |
419 | powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \ | |
9b263b79 | 420 | powerpcle-*-solaris2* | powerpcle-*-linux*) |
2b79a104 | 421 | targ_defvec=bfd_elf32_powerpcle_vec |
9b263b79 | 422 | targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec ppcboot_vec" |
2b79a104 ILT |
423 | ;; |
424 | ||
3998d526 | 425 | powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin32) |
e0c10737 KK |
426 | targ_defvec=bfd_powerpcle_pe_vec |
427 | targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec" | |
428 | ;; | |
429 | ||
2b79a104 ILT |
430 | rs6000-*-*) |
431 | targ_defvec=rs6000coff_vec | |
432 | ;; | |
433 | ||
434 | sparc-*-lynxos*) | |
435 | targ_defvec=sparclynx_coff_vec | |
436 | targ_selvecs=sparclynx_aout_vec | |
437 | ;; | |
438 | sparc-*-netbsd*) | |
439 | targ_defvec=sparcnetbsd_vec | |
440 | targ_underscore=yes | |
441 | ;; | |
767f22d5 | 442 | sparc-*-elf* | sparc-*-sysv4* | sparc-*-solaris2*) |
2b79a104 ILT |
443 | targ_defvec=bfd_elf32_sparc_vec |
444 | targ_selvecs=sunos_big_vec | |
445 | ;; | |
767f22d5 FF |
446 | sparc64-*-aout*) |
447 | targ_defvec=sunos_big_vec | |
448 | targ_underscore=yes | |
449 | ;; | |
5bc513b4 DE |
450 | sparc64-*-elf*) |
451 | targ_defvec=bfd_elf64_sparc_vec | |
452 | targ_selvecs=bfd_elf32_sparc_vec | |
453 | ;; | |
2b79a104 ILT |
454 | sparc-*-netware*) |
455 | targ_defvec=bfd_elf32_sparc_vec | |
456 | targ_selvecs="nlm32_sparc_vec sunos_big_vec" | |
457 | ;; | |
458 | sparc*-*-coff*) | |
459 | targ_defvec=sparccoff_vec | |
460 | ;; | |
50bd50d4 | 461 | sparc*-*-* | sparc*-*-rtems*) |
2b79a104 ILT |
462 | targ_defvec=sunos_big_vec |
463 | targ_underscore=yes | |
464 | ;; | |
465 | ||
466 | tahoe-*-*) | |
467 | targ_defvec=host_aout_vec | |
468 | targ_underscore=yes | |
469 | ;; | |
470 | ||
471 | vax-*-vms*) | |
472 | echo 1>&2 "*** BFD does not support target ${targ}." | |
473 | echo 1>&2 "*** Look in bfd/config.bfd for supported targets." | |
474 | exit 1 | |
475 | ;; | |
476 | vax-*-*) | |
477 | targ_defvec=host_aout_vec | |
478 | targ_underscore=yes | |
479 | ;; | |
480 | ||
481 | we32k-*-*) | |
482 | targ_defvec=we32kcoff_vec | |
483 | ;; | |
484 | ||
485 | w65-*-*) | |
486 | targ_defvec=w65_vec | |
487 | ;; | |
488 | ||
489 | z8k*-*-*) | |
490 | targ_defvec=z8kcoff_vec | |
491 | targ_underscore=yes | |
492 | ;; | |
493 | ||
494 | *-*-ieee*) | |
495 | targ_defvec=ieee_vec | |
496 | ;; | |
497 | ||
498 | *-adobe-*) | |
499 | targ_defvec=a_aout_adobe_vec | |
500 | targ_underscore=yes | |
501 | ;; | |
502 | ||
503 | *-sony-*) | |
504 | targ_defvec=newsos3_vec | |
505 | targ_underscore=yes | |
506 | ;; | |
507 | ||
508 | *-tandem-*) | |
509 | targ_defvec=m68kcoff_vec | |
510 | targ_selvecs=ieee_vec | |
511 | ;; | |
512 | ||
513 | *) | |
514 | echo 1>&2 "*** BFD does not support target ${targ}." | |
515 | echo 1>&2 "*** Look in bfd/config.bfd for supported targets." | |
516 | exit 1 | |
517 | ;; | |
518 | esac |