Add support for parallel instructions.
[deliverable/binutils-gdb.git] / bfd / config.bfd
CommitLineData
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)
2503987b 10# targ_underscore Whether underscores are used: yes or no
49df10b1 11
dee99794
ILT
12# Part of this file is processed by targmatch.sed to generate the
13# targmatch.h file. The #ifdef and #endif lines that appear below are
14# copied directly into targmatch.h.
15
1fb83be6 16# The binutils c++filt program wants to know whether underscores are
2b79a104
ILT
17# stripped or not. That is why we set targ_underscore. c++filt uses
18# this information to choose a default. This information is
19# duplicated in the symbol_leading_char field of the BFD target
20# vector, but c++filt does not deal with object files and is not
21# linked against libbfd.a. It is not terribly important that c++filt
22# get this right; it is just convenient.
23
24targ_defvec=
25targ_selvecs=
26targ_cflags=
27targ_underscore=no
28
2503987b 29targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2b79a104 30case "${targ_cpu}" in
ba2934ce 31alpha*) targ_archs=bfd_alpha_arch ;;
2b79a104 32arm*) targ_archs=bfd_arm_arch ;;
0b3fcc1c 33thumb*) targ_archs=bfd_arm_arch ;;
2b79a104 34hppa*) targ_archs=bfd_hppa_arch ;;
f7954d86 35i[3456]86) targ_archs=bfd_i386_arch ;;
2b79a104
ILT
36m68*) targ_archs=bfd_m68k_arch ;;
37m88*) targ_archs=bfd_m88k_arch ;;
38mips*) targ_archs=bfd_mips_arch ;;
39powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
40rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
41sparc*) targ_archs=bfd_sparc_arch ;;
8988d935 42v850*) targ_archs=bfd_v850_arch ;;
2b79a104
ILT
43z8k*) targ_archs=bfd_z8k_arch ;;
44*) targ_archs=bfd_${targ_cpu}_arch ;;
45esac
1fb83be6 46
49df10b1
DM
47# WHEN ADDING ENTRIES TO THIS MATRIX:
48# Make sure that the left side always has two dashes. Otherwise you
49# can get spurious matches. Even for unambiguous cases, do this as a
50# convention, else the table becomes a real mess to understand and maintain.
51
2b79a104 52case "${targ}" in
dee99794
ILT
53# START OF targmatch.h
54#ifdef BFD64
6b5f5d61 55 alpha*-*-netware*)
2b79a104
ILT
56 targ_defvec=ecoffalpha_little_vec
57 targ_selvecs=nlm32_alpha_vec
58 ;;
6b5f5d61 59 alpha*-*-linuxecoff*)
e8f46717
ILT
60 targ_defvec=ecoffalpha_little_vec
61 targ_selvecs=bfd_elf64_alpha_vec
62 ;;
6b5f5d61 63 alpha*-*-linux* | alpha*-*-elf*)
e8f46717
ILT
64 targ_defvec=bfd_elf64_alpha_vec
65 targ_selvecs=ecoffalpha_little_vec
66 ;;
6b5f5d61 67 alpha*-*-*vms*)
e8f46717
ILT
68 targ_defvec=evax_alpha_vec
69 ;;
6b5f5d61 70 alpha*-*-*)
2b79a104
ILT
71 targ_defvec=ecoffalpha_little_vec
72 ;;
dee99794 73#endif /* BFD64 */
2b79a104 74
2b79a104
ILT
75 arc-*-elf*)
76 targ_defvec=bfd_elf32_littlearc_vec
50bd50d4 77 targ_selvecs=bfd_elf32_bigarc_vec
2b79a104 78 ;;
76af94b9 79
2b79a104
ILT
80 arm-*-riscix*)
81 targ_defvec=riscix_vec
82 ;;
83 arm-*-pe*)
84 targ_defvec=armpe_little_vec
85 targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec"
86 targ_underscore=yes
87 ;;
bd676d26 88 arm-*-aout | armel-*-aout)
2b79a104
ILT
89 targ_defvec=aout_arm_little_vec
90 targ_selvecs=aout_arm_big_vec
91 ;;
92 armeb-*-aout)
93 targ_defvec=aout_arm_big_vec
94 targ_selvecs=aout_arm_little_vec
95 ;;
a11e10fe
DE
96 arm-*-coff)
97 targ_defvec=armcoff_little_vec
98 targ_selvecs=armcoff_big_vec
99 targ_underscore=yes
100 ;;
0b3fcc1c
ILT
101 thumb-*-coff)
102 targ_defvec=armcoff_little_vec
103 targ_selvecs=armcoff_big_vec
104 targ_underscore=yes
105 ;;
2b79a104
ILT
106 a29k-*-ebmon* | a29k-*-udi* | a29k-*-coff* | a29k-*-sym1* | \
107 a29k-*-vxworks* | a29k-*-sysv*)
108 targ_defvec=a29kcoff_big_vec
109 targ_selvecs=sunos_big_vec
110 targ_underscore=yes
111 ;;
112 a29k-*-aout* | a29k-*-bsd* | a29k-*-vsta*)
113 targ_defvec=sunos_big_vec
114 targ_underscore=yes
115 ;;
116
50bd50d4
MH
117 d10v-*-*)
118 targ_defvec=bfd_elf32_d10v_vec
119 ;;
50bd50d4 120
fd8d7c31
MH
121# start-sanitize-d30v
122 d30v-*-*)
123 targ_defvec=bfd_elf32_d30v_vec
124 ;;
125# end-sanitize-d30v
126
2b79a104
ILT
127 h8300*-*-*)
128 targ_defvec=h8300coff_vec
129 targ_underscore=yes
130 ;;
131
132 h8500-*-*)
133 targ_defvec=h8500coff_vec
134 targ_underscore=yes
135 ;;
136
6a2922d5 137 hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4* | hppa*-*-rtems*)
2b79a104
ILT
138 targ_defvec=bfd_elf32_hppa_vec
139 ;;
dee99794 140#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF)
2b79a104
ILT
141 hppa*-*-bsd*)
142 targ_defvec=som_vec
143 targ_selvecs=bfd_elf32_hppa_vec
144 ;;
145 hppa*-*-hpux* | hppa*-*-hiux*)
146 targ_defvec=som_vec
147 ;;
148 hppa*-*-osf*)
149 targ_defvec=som_vec
150 targ_selvecs=bfd_elf32_hppa_vec
151 ;;
dee99794 152#endif /* defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) */
2b79a104 153
f7954d86
MM
154 i[3456]86-*-sysv4* | i[3456]86-*-unixware | i[3456]86-*-solaris2* | \
155 i[3456]86-*-elf | i[3456]86-*-sco*elf* | i[3456]86-*-freebsdelf* | \
156 i[3456]86-*-dgux*)
2b79a104
ILT
157 targ_defvec=bfd_elf32_i386_vec
158 targ_selvecs=i386coff_vec
159 ;;
0b3fcc1c 160 i[3456]86-*-msdosdjgpp* | i[3456]*-*-go32* | i[3456]86-go32-rtems* )
76af94b9
DE
161 targ_defvec=go32coff_vec
162 targ_selvecs="go32stubbedcoff_vec i386aout_vec"
163 ;;
f7954d86 164 i[3456]86-*-sysv* | i[3456]86-*-isc* | i[3456]86-*-sco* | i[3456]86-*-coff | \
76af94b9 165 i[3456]86-*-aix* | i[3456]86*-*-rtems*)
2b79a104
ILT
166 targ_defvec=i386coff_vec
167 ;;
f7954d86 168 i[3456]86-sequent-bsd*)
2b79a104
ILT
169 targ_defvec=i386dynix_vec
170 targ_underscore=yes
171 ;;
f7954d86 172 i[3456]86-*-bsd*)
2b79a104
ILT
173 targ_defvec=i386bsd_vec
174 targ_underscore=yes
175 ;;
f7954d86 176 i[3456]86-*-freebsd*)
767f22d5
FF
177 targ_defvec=i386freebsd_vec
178 targ_selvecs=i386bsd_vec
179 targ_underscore=yes
180 ;;
6a2922d5 181 i[3456]86-*-netbsd* | i[3456]86-*-openbsd*)
2b79a104
ILT
182 targ_defvec=i386netbsd_vec
183 targ_selvecs=i386bsd_vec
184 targ_underscore=yes
185 ;;
f7954d86 186 i[3456]86-*-netware*)
2b79a104
ILT
187 targ_defvec=bfd_elf32_i386_vec
188 targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec"
189 ;;
6a2922d5 190 i[3456]86-*-linux*aout*)
2b79a104
ILT
191 targ_defvec=i386linux_vec
192 targ_selvecs=bfd_elf32_i386_vec
193 targ_underscore=yes
194 ;;
f7954d86 195 i[3456]86-*-linux*)
2b79a104
ILT
196 targ_defvec=bfd_elf32_i386_vec
197 targ_selvecs=i386linux_vec
2b79a104 198 ;;
f7954d86 199 i[3456]86-*-lynxos*)
2b79a104
ILT
200 targ_defvec=i386lynx_coff_vec
201 targ_selvecs=i386lynx_aout_vec
202 ;;
f7954d86 203 i[3456]86-*-gnu*)
2b79a104 204 targ_defvec=bfd_elf32_i386_vec
2b79a104 205 ;;
f7954d86 206 i[3456]86-*-mach* | i[3456]86-*-osf1mk*)
2b79a104
ILT
207 targ_defvec=i386mach3_vec
208 targ_cflags=-DSTAT_FOR_EXEC
209 targ_underscore=yes
210 ;;
f7954d86 211 i[3456]86-*-os9k)
2b79a104
ILT
212 targ_defvec=i386os9k_vec
213 ;;
f7954d86 214 i[3456]86-*-msdos*)
2b79a104
ILT
215 targ_defvec=i386aout_vec
216 targ_selvecs=i386msdos_vec
217 ;;
f7954d86 218 i[3456]86-*-moss*)
2b79a104
ILT
219 targ_defvec=bfd_elf32_i386_vec
220 targ_selvecs="i386msdos_vec i386aout_vec"
221 ;;
f7954d86 222 i[3456]86-*-cygwin32 | i[3456]86-*-winnt | i[3456]86-*-pe)
049df0a8 223 targ_defvec=i386pe_vec
2b79a104
ILT
224 targ_selvecs="i386pe_vec i386pei_vec"
225 ;;
f7954d86 226 i[3456]86-none-*)
2b79a104
ILT
227 targ_defvec=i386coff_vec
228 ;;
f7954d86 229 i[3456]86-*-aout* | i[3456]86*-*-vsta*)
588512c6 230 targ_defvec=i386aout_vec
2b79a104
ILT
231 ;;
232
767f22d5
FF
233 i860-*-mach3* | i860-*-osf1* | i860-*-coff*)
234 targ_defvec=i860coff_vec
235 ;;
236 i860-*-sysv4* | i860-*-elf*)
2b79a104
ILT
237 targ_defvec=bfd_elf32_i860_vec
238 ;;
239
240 i960-*-vxworks4* | i960-*-vxworks5.0)
241 targ_defvec=b_out_vec_little_host
3998d526 242 targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
2b79a104
ILT
243 targ_underscore=yes
244 ;;
50bd50d4 245 i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv* | i960-*-rtems*)
2b79a104 246 targ_defvec=icoff_little_vec
3998d526 247 targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host ieee_vec"
2b79a104
ILT
248 targ_underscore=yes
249 ;;
250 i960-*-vxworks* | i960-*-aout* | i960-*-bout* | i960-*-nindy*)
251 targ_defvec=b_out_vec_little_host
3998d526 252 targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
2b79a104
ILT
253 targ_underscore=yes
254 ;;
49df10b1 255
161ac690
ILT
256 m32r-*-*)
257 targ_defvec=bfd_elf32_m32r_vec
258 ;;
161ac690 259
2b79a104
ILT
260 m68*-apollo-*)
261 targ_defvec=apollocoff_vec
262 ;;
263 m68*-bull-sysv*)
264 targ_defvec=m68kcoffun_vec
265 targ_underscore=yes
266 ;;
ac388f2a
ILT
267 m68*-motorola-sysv*)
268 targ_defvec=m68ksysvcoff_vec
269 ;;
2b79a104
ILT
270 m68*-hp-bsd*)
271 targ_defvec=hp300bsd_vec
272 targ_underscore=yes
273 ;;
274 m68*-*-aout*)
275 targ_defvec=aout0_big_vec
3998d526 276 # We include cisco_core_vec here, rather than making a separate cisco
2b79a104
ILT
277 # configuration, so that cisco-core.c gets routinely tested at
278 # least for compilation.
3998d526 279 targ_selvecs="cisco_core_vec ieee_vec"
2b79a104
ILT
280 targ_underscore=yes
281 ;;
767f22d5 282 m68*-*-elf* | m68*-*-sysv4*)
2b79a104 283 targ_defvec=bfd_elf32_m68k_vec
3998d526 284 targ_selvecs="m68kcoff_vec ieee_vec"
2b79a104 285 ;;
50bd50d4 286 m68*-*-coff* | m68*-*-sysv* | m68*-*-rtems*)
2b79a104 287 targ_defvec=m68kcoff_vec
3998d526 288 targ_selvecs="m68kcoff_vec versados_vec ieee_vec"
2b79a104
ILT
289 ;;
290 m68*-*-hpux*)
291 targ_defvec=hp300hpux_vec
292 targ_underscore=yes
293 ;;
6a2922d5 294 m68*-*-linux*aout*)
3998d526
ILT
295 targ_defvec=m68klinux_vec
296 targ_selvecs=bfd_elf32_m68k_vec
297 targ_underscore=yes
298 ;;
299 m68*-*-linux*)
300 targ_defvec=bfd_elf32_m68k_vec
301 targ_selvecs=m68klinux_vec
302 ;;
2b79a104
ILT
303 m68*-*-lynxos*)
304 targ_defvec=m68klynx_coff_vec
305 targ_selvecs=m68klynx_aout_vec
306 ;;
11ab6da4
NH
307 m68*-hp*-netbsd*)
308 targ_defvec=m68k4knetbsd_vec
309 targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec"
310 targ_underscore=yes
311 ;;
6a2922d5 312 m68*-*-netbsd* | m68*-*-openbsd*)
2b79a104 313 targ_defvec=m68knetbsd_vec
11ab6da4 314 targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec"
2b79a104
ILT
315 targ_underscore=yes
316 ;;
317 m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \
318 m68*-*-bsd* | m68*-*-vsta*)
319 targ_defvec=sunos_big_vec
320 targ_underscore=yes
321 ;;
322 m68*-ericsson-*)
323 targ_defvec=sunos_big_vec
2503987b 324 targ_selvecs="m68kcoff_vec versados_vec tekhex_vec"
2b79a104
ILT
325 targ_underscore=yes
326 ;;
767f22d5
FF
327 m68*-cbm-*)
328 targ_defvec=bfd_elf32_m68k_vec
329 targ_selvecs=m68kcoff_vec
330 ;;
d19df9b5
ILT
331 m68*-apple-aux*)
332 targ_defvec=m68kaux_coff_vec
333 ;;
3998d526
ILT
334 m68*-*-psos*)
335 targ_defvec=bfd_elf32_m68k_vec
336 targ_selvecs=ieee_vec
337 targ_underscore=yes
338 ;;
2b79a104
ILT
339
340 m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*)
341 targ_defvec=bfd_elf32_m88k_vec
342 targ_selvecs=m88kbcs_vec
343 ;;
344 m88*-*-mach3*)
345 targ_defvec=m88kmach3_vec
346 targ_cflags=-DSTAT_FOR_EXEC
347 ;;
348 m88*-*-*)
349 targ_defvec=m88kbcs_vec
350 targ_underscore=yes
351 ;;
352
353 mips*-big-*)
354 targ_defvec=ecoff_big_vec
355 targ_selvecs=ecoff_little_vec
356 ;;
14bf95ea 357 mips-dec-netbsd* | mips*el*-*-netbsd*)
049df0a8 358 targ_defvec=bfd_elf32_littlemips_vec
14bf95ea
ILT
359 targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec"
360 ;;
361 mips*-*-netbsd*)
362 targ_defvec=bfd_elf32_bigmips_vec
363 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
049df0a8 364 ;;
2b79a104
ILT
365 mips*-dec-bsd*)
366 targ_defvec=aout_mips_little_vec
367 targ_underscore=yes
368 ;;
369 mips*-dec-mach3*)
370 targ_defvec=aout_mips_little_vec
371 targ_cflags=-DSTAT_FOR_EXEC
372 ;;
373 mips*-dec-* | mips*el-*-ecoff*)
374 targ_defvec=ecoff_little_vec
375 targ_selvecs=ecoff_big_vec
376 ;;
377 mips*-*-ecoff*)
378 targ_defvec=ecoff_big_vec
379 targ_selvecs=ecoff_little_vec
380 ;;
e8c249cb
ILT
381 mips*-*-irix6*)
382 targ_defvec=bfd_elf32_bigmips_vec
383 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
384 ;;
2b79a104
ILT
385 mips*-*-irix5*)
386 targ_defvec=bfd_elf32_bigmips_vec
387 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
388 ;;
389 mips*-sgi-* | mips*-*-bsd*)
390 targ_defvec=ecoff_big_vec
391 targ_selvecs=ecoff_little_vec
392 ;;
ac388f2a
ILT
393 mips*-*-lnews*)
394 targ_defvec=ecoff_biglittle_vec
395 targ_selvecs="ecoff_little_vec ecoff_big_vec"
396 ;;
2b79a104
ILT
397 mips*-*-mach3*)
398 targ_defvec=aout_mips_little_vec
399 targ_cflags=-DSTAT_FOR_EXEC
400 ;;
401 mips*-*-sysv4*)
402 targ_defvec=bfd_elf32_bigmips_vec
403 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
404 ;;
405 mips*-*-sysv* | mips*-*-riscos*)
406 targ_defvec=ecoff_big_vec
407 targ_selvecs=ecoff_little_vec
408 ;;
409 mips*el-*-elf*)
410 targ_defvec=bfd_elf32_littlemips_vec
9b263b79 411 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
2b79a104 412 ;;
161ac690 413 mips*-*-elf* | mips*-*-rtems*)
2b79a104 414 targ_defvec=bfd_elf32_bigmips_vec
9b263b79 415 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
2b79a104 416 ;;
fd8d7c31
MH
417 mips*-*-none)
418 targ_defvec=bfd_elf32_bigmips_vec
419 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
420 ;;
6a2922d5 421 mips*el*-*-linux* | mips*el*-*-openbsd*)
7c342fc5 422 targ_defvec=bfd_elf32_littlemips_vec
f0315e65 423 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec"
7c342fc5 424 ;;
6a2922d5 425 mips*-*-linux* | mips*-*-openbsd*)
7c342fc5 426 targ_defvec=bfd_elf32_bigmips_vec
f0315e65 427 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec"
7c342fc5 428 ;;
2b79a104 429
ae1b99e4
JL
430 mn10200-*-*)
431 targ_defvec=bfd_elf32_mn10200_vec
432 ;;
433
434 mn10300-*-*)
435 targ_defvec=bfd_elf32_mn10300_vec
efc2b064
JL
436 ;;
437
2a01c351 438 ns32k-pc532-mach* | ns32k-pc532-ux*)
2b79a104
ILT
439 targ_defvec=pc532machaout_vec
440 targ_underscore=yes
441 ;;
6a2922d5 442 ns32k-*-netbsd* | ns32k-*-lites* | ns32k-*-openbsd*)
2b79a104
ILT
443 targ_defvec=pc532netbsd_vec
444 targ_underscore=yes
445 ;;
446
ac388f2a 447 powerpc-*-aix* | powerpc-*-beos*)
2b79a104
ILT
448 targ_defvec=rs6000coff_vec
449 ;;
6a2922d5 450 powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
50bd50d4 451 powerpc-*-solaris2* | powerpc-*-linux* | powerpc-*-rtems*)
2b79a104 452 targ_defvec=bfd_elf32_powerpc_vec
9b263b79 453 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 454 ;;
2a01c351
KR
455 powerpc-*-macos* | powerpc-*-mpw*)
456 targ_defvec=pmac_xcoff_vec
457 ;;
2b79a104
ILT
458 powerpc-*-netware*)
459 targ_defvec=bfd_elf32_powerpc_vec
460 targ_selvecs="nlm32_powerpc_vec rs6000coff_vec"
461 ;;
462 powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \
9b263b79 463 powerpcle-*-solaris2* | powerpcle-*-linux*)
2b79a104 464 targ_defvec=bfd_elf32_powerpcle_vec
9b263b79 465 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
466 ;;
467
3998d526 468 powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin32)
e0c10737
KK
469 targ_defvec=bfd_powerpcle_pe_vec
470 targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec"
471 ;;
472
2b79a104
ILT
473 rs6000-*-*)
474 targ_defvec=rs6000coff_vec
475 ;;
476
6b5f5d61 477 sh-*-elf* | sh-*-rtems*)
71d7d44f 478 targ_defvec=bfd_elf32_sh_vec
18ed85fd 479 targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
71d7d44f
DE
480 targ_underscore=yes
481 ;;
482 sh-*-*)
483 targ_defvec=shcoff_vec
18ed85fd 484 targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
71d7d44f
DE
485 targ_underscore=yes
486 ;;
487
488 sparclet-*-aout*)
489 targ_defvec=sunos_big_vec
490 targ_selvecs=sparcle_aout_vec
491 targ_underscore=yes
492 ;;
6a2922d5
ILT
493 sparc-*-linux*aout*)
494 targ_defvec=sparclinux_vec
495 targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
496 targ_underscore=yes
497 ;;
498 sparc-*-linux*)
499 targ_defvec=bfd_elf32_sparc_vec
500 targ_selvecs="sparclinux_vec sunos_big_vec"
501 ;;
2b79a104
ILT
502 sparc-*-lynxos*)
503 targ_defvec=sparclynx_coff_vec
504 targ_selvecs=sparclynx_aout_vec
505 ;;
6a2922d5 506 sparc-*-netbsd* | sparc-*-openbsd*)
2b79a104
ILT
507 targ_defvec=sparcnetbsd_vec
508 targ_underscore=yes
509 ;;
f7954d86 510 sparc-*-elf* | sparc-*-solaris2*)
2b79a104
ILT
511 targ_defvec=bfd_elf32_sparc_vec
512 targ_selvecs=sunos_big_vec
513 ;;
f7954d86
MM
514 sparc-*-sysv4*)
515 targ_defvec=bfd_elf32_sparc_vec
516 ;;
0b3fcc1c
ILT
517 sparc-*-netware*)
518 targ_defvec=bfd_elf32_sparc_vec
519 targ_selvecs="nlm32_sparc_vec sunos_big_vec"
520 ;;
521#ifdef BFD64
767f22d5
FF
522 sparc64-*-aout*)
523 targ_defvec=sunos_big_vec
524 targ_underscore=yes
525 ;;
0b3fcc1c
ILT
526 sparc64-*-linux*)
527 targ_defvec=bfd_elf64_sparc_vec
528 targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
529 ;;
5bc513b4
DE
530 sparc64-*-elf*)
531 targ_defvec=bfd_elf64_sparc_vec
532 targ_selvecs=bfd_elf32_sparc_vec
533 ;;
dee99794 534#endif /* BFD64 */
2b79a104
ILT
535 sparc*-*-coff*)
536 targ_defvec=sparccoff_vec
537 ;;
50bd50d4 538 sparc*-*-* | sparc*-*-rtems*)
2b79a104
ILT
539 targ_defvec=sunos_big_vec
540 targ_underscore=yes
541 ;;
542
3baa24ad 543#if HAVE_host_aout_vec
2b79a104
ILT
544 tahoe-*-*)
545 targ_defvec=host_aout_vec
546 targ_underscore=yes
547 ;;
dee99794 548#endif
cd6213ff 549# start-sanitize-tic80
5a08c6a1 550
fd8d7c31 551 tic80*-*-*)
cd6213ff 552 targ_defvec=tic80coff_vec
76af94b9 553 targ_underscore=yes
cd6213ff
FF
554 ;;
555
556# end-sanitize-tic80
20b2c808 557# start-sanitize-sky
5a08c6a1 558
20b2c808
DE
559 txvu-*-*)
560 targ_defvec=bfd_elf32_txvu_vec
561 ;;
562
5a08c6a1 563# end-sanitize-sky
20b2c808 564
f7954d86
MM
565 v850-*-*)
566 targ_defvec=bfd_elf32_v850_vec
567 ;;
8988d935
NC
568# start-sanitize-v850e
569 v850e-*-*)
570 targ_defvec=bfd_elf32_v850_vec
571 ;;
0b3fcc1c 572 v850ea-*-*)
8988d935
NC
573 targ_defvec=bfd_elf32_v850_vec
574 ;;
6b5f5d61 575# end-sanitize-v850e
3baa24ad 576#if HAVE_host_aout_vec
dee99794 577 vax-*-bsd* | vax-*-ultrix*)
2b79a104
ILT
578 targ_defvec=host_aout_vec
579 targ_underscore=yes
580 ;;
dee99794 581#endif
2b79a104
ILT
582
583 we32k-*-*)
584 targ_defvec=we32kcoff_vec
585 ;;
586
587 w65-*-*)
588 targ_defvec=w65_vec
589 ;;
590
591 z8k*-*-*)
592 targ_defvec=z8kcoff_vec
593 targ_underscore=yes
594 ;;
595
596 *-*-ieee*)
597 targ_defvec=ieee_vec
598 ;;
599
600 *-adobe-*)
dee99794 601 targ_defvec=a_out_adobe_vec
2b79a104
ILT
602 targ_underscore=yes
603 ;;
604
605 *-sony-*)
606 targ_defvec=newsos3_vec
607 targ_underscore=yes
608 ;;
609
610 *-tandem-*)
611 targ_defvec=m68kcoff_vec
612 targ_selvecs=ieee_vec
613 ;;
dee99794 614# END OF targmatch.h
2b79a104
ILT
615 *)
616 echo 1>&2 "*** BFD does not support target ${targ}."
617 echo 1>&2 "*** Look in bfd/config.bfd for supported targets."
618 exit 1
619 ;;
620esac
This page took 0.174934 seconds and 4 git commands to generate.