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