Add missing sanitize markers in last ChangeLog entry.
[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
a3e62cc0
ILT
154 i[3456]86-*-sco3.2v5*coff)
155 targ_defvec=i386coff_vec
156 ;;
f7954d86 157 i[3456]86-*-sysv4* | i[3456]86-*-unixware | i[3456]86-*-solaris2* | \
a3e62cc0 158 i[3456]86-*-elf | i[3456]86-*-sco3.2v5* | i[3456]86-*-freebsdelf* | \
f7954d86 159 i[3456]86-*-dgux*)
2b79a104
ILT
160 targ_defvec=bfd_elf32_i386_vec
161 targ_selvecs=i386coff_vec
162 ;;
0b3fcc1c 163 i[3456]86-*-msdosdjgpp* | i[3456]*-*-go32* | i[3456]86-go32-rtems* )
76af94b9
DE
164 targ_defvec=go32coff_vec
165 targ_selvecs="go32stubbedcoff_vec i386aout_vec"
166 ;;
f7954d86 167 i[3456]86-*-sysv* | i[3456]86-*-isc* | i[3456]86-*-sco* | i[3456]86-*-coff | \
76af94b9 168 i[3456]86-*-aix* | i[3456]86*-*-rtems*)
2b79a104
ILT
169 targ_defvec=i386coff_vec
170 ;;
f7954d86 171 i[3456]86-sequent-bsd*)
2b79a104
ILT
172 targ_defvec=i386dynix_vec
173 targ_underscore=yes
174 ;;
f7954d86 175 i[3456]86-*-bsd*)
2b79a104
ILT
176 targ_defvec=i386bsd_vec
177 targ_underscore=yes
178 ;;
f7954d86 179 i[3456]86-*-freebsd*)
767f22d5
FF
180 targ_defvec=i386freebsd_vec
181 targ_selvecs=i386bsd_vec
182 targ_underscore=yes
183 ;;
6a2922d5 184 i[3456]86-*-netbsd* | i[3456]86-*-openbsd*)
2b79a104
ILT
185 targ_defvec=i386netbsd_vec
186 targ_selvecs=i386bsd_vec
187 targ_underscore=yes
188 ;;
f7954d86 189 i[3456]86-*-netware*)
2b79a104
ILT
190 targ_defvec=bfd_elf32_i386_vec
191 targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec"
192 ;;
6a2922d5 193 i[3456]86-*-linux*aout*)
2b79a104
ILT
194 targ_defvec=i386linux_vec
195 targ_selvecs=bfd_elf32_i386_vec
196 targ_underscore=yes
197 ;;
f7954d86 198 i[3456]86-*-linux*)
2b79a104
ILT
199 targ_defvec=bfd_elf32_i386_vec
200 targ_selvecs=i386linux_vec
2b79a104 201 ;;
f7954d86 202 i[3456]86-*-lynxos*)
2b79a104
ILT
203 targ_defvec=i386lynx_coff_vec
204 targ_selvecs=i386lynx_aout_vec
205 ;;
f7954d86 206 i[3456]86-*-gnu*)
2b79a104 207 targ_defvec=bfd_elf32_i386_vec
2b79a104 208 ;;
f7954d86 209 i[3456]86-*-mach* | i[3456]86-*-osf1mk*)
2b79a104
ILT
210 targ_defvec=i386mach3_vec
211 targ_cflags=-DSTAT_FOR_EXEC
212 targ_underscore=yes
213 ;;
f7954d86 214 i[3456]86-*-os9k)
2b79a104
ILT
215 targ_defvec=i386os9k_vec
216 ;;
f7954d86 217 i[3456]86-*-msdos*)
2b79a104
ILT
218 targ_defvec=i386aout_vec
219 targ_selvecs=i386msdos_vec
220 ;;
f7954d86 221 i[3456]86-*-moss*)
2b79a104
ILT
222 targ_defvec=bfd_elf32_i386_vec
223 targ_selvecs="i386msdos_vec i386aout_vec"
224 ;;
847b9629 225 i[3456]86-*-mingw32* | i[3456]86-*-cygwin32* | i[3456]86-*-winnt | i[3456]86-*-pe)
049df0a8 226 targ_defvec=i386pe_vec
2b79a104
ILT
227 targ_selvecs="i386pe_vec i386pei_vec"
228 ;;
f7954d86 229 i[3456]86-none-*)
2b79a104
ILT
230 targ_defvec=i386coff_vec
231 ;;
f7954d86 232 i[3456]86-*-aout* | i[3456]86*-*-vsta*)
588512c6 233 targ_defvec=i386aout_vec
2b79a104
ILT
234 ;;
235
767f22d5
FF
236 i860-*-mach3* | i860-*-osf1* | i860-*-coff*)
237 targ_defvec=i860coff_vec
238 ;;
239 i860-*-sysv4* | i860-*-elf*)
2b79a104
ILT
240 targ_defvec=bfd_elf32_i860_vec
241 ;;
242
243 i960-*-vxworks4* | i960-*-vxworks5.0)
244 targ_defvec=b_out_vec_little_host
3998d526 245 targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
2b79a104
ILT
246 targ_underscore=yes
247 ;;
50bd50d4 248 i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv* | i960-*-rtems*)
2b79a104 249 targ_defvec=icoff_little_vec
3998d526 250 targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host ieee_vec"
2b79a104
ILT
251 targ_underscore=yes
252 ;;
253 i960-*-vxworks* | i960-*-aout* | i960-*-bout* | i960-*-nindy*)
254 targ_defvec=b_out_vec_little_host
3998d526 255 targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
2b79a104
ILT
256 targ_underscore=yes
257 ;;
49df10b1 258
161ac690
ILT
259 m32r-*-*)
260 targ_defvec=bfd_elf32_m32r_vec
261 ;;
161ac690 262
2b79a104
ILT
263 m68*-apollo-*)
264 targ_defvec=apollocoff_vec
265 ;;
266 m68*-bull-sysv*)
267 targ_defvec=m68kcoffun_vec
268 targ_underscore=yes
269 ;;
ac388f2a
ILT
270 m68*-motorola-sysv*)
271 targ_defvec=m68ksysvcoff_vec
272 ;;
2b79a104
ILT
273 m68*-hp-bsd*)
274 targ_defvec=hp300bsd_vec
275 targ_underscore=yes
276 ;;
277 m68*-*-aout*)
278 targ_defvec=aout0_big_vec
3998d526 279 # We include cisco_core_vec here, rather than making a separate cisco
2b79a104
ILT
280 # configuration, so that cisco-core.c gets routinely tested at
281 # least for compilation.
3998d526 282 targ_selvecs="cisco_core_vec ieee_vec"
2b79a104
ILT
283 targ_underscore=yes
284 ;;
767f22d5 285 m68*-*-elf* | m68*-*-sysv4*)
2b79a104 286 targ_defvec=bfd_elf32_m68k_vec
3998d526 287 targ_selvecs="m68kcoff_vec ieee_vec"
2b79a104 288 ;;
50bd50d4 289 m68*-*-coff* | m68*-*-sysv* | m68*-*-rtems*)
2b79a104 290 targ_defvec=m68kcoff_vec
3998d526 291 targ_selvecs="m68kcoff_vec versados_vec ieee_vec"
2b79a104
ILT
292 ;;
293 m68*-*-hpux*)
294 targ_defvec=hp300hpux_vec
295 targ_underscore=yes
296 ;;
6a2922d5 297 m68*-*-linux*aout*)
3998d526
ILT
298 targ_defvec=m68klinux_vec
299 targ_selvecs=bfd_elf32_m68k_vec
300 targ_underscore=yes
301 ;;
302 m68*-*-linux*)
303 targ_defvec=bfd_elf32_m68k_vec
304 targ_selvecs=m68klinux_vec
305 ;;
2b79a104
ILT
306 m68*-*-lynxos*)
307 targ_defvec=m68klynx_coff_vec
308 targ_selvecs=m68klynx_aout_vec
309 ;;
11ab6da4
NH
310 m68*-hp*-netbsd*)
311 targ_defvec=m68k4knetbsd_vec
312 targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec"
313 targ_underscore=yes
314 ;;
6a2922d5 315 m68*-*-netbsd* | m68*-*-openbsd*)
2b79a104 316 targ_defvec=m68knetbsd_vec
11ab6da4 317 targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec"
2b79a104
ILT
318 targ_underscore=yes
319 ;;
320 m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \
321 m68*-*-bsd* | m68*-*-vsta*)
322 targ_defvec=sunos_big_vec
323 targ_underscore=yes
324 ;;
325 m68*-ericsson-*)
326 targ_defvec=sunos_big_vec
2503987b 327 targ_selvecs="m68kcoff_vec versados_vec tekhex_vec"
2b79a104
ILT
328 targ_underscore=yes
329 ;;
767f22d5
FF
330 m68*-cbm-*)
331 targ_defvec=bfd_elf32_m68k_vec
332 targ_selvecs=m68kcoff_vec
333 ;;
d19df9b5
ILT
334 m68*-apple-aux*)
335 targ_defvec=m68kaux_coff_vec
336 ;;
3998d526
ILT
337 m68*-*-psos*)
338 targ_defvec=bfd_elf32_m68k_vec
339 targ_selvecs=ieee_vec
340 targ_underscore=yes
341 ;;
2b79a104
ILT
342
343 m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*)
344 targ_defvec=bfd_elf32_m88k_vec
345 targ_selvecs=m88kbcs_vec
346 ;;
347 m88*-*-mach3*)
348 targ_defvec=m88kmach3_vec
349 targ_cflags=-DSTAT_FOR_EXEC
350 ;;
351 m88*-*-*)
352 targ_defvec=m88kbcs_vec
353 targ_underscore=yes
354 ;;
355
356 mips*-big-*)
357 targ_defvec=ecoff_big_vec
358 targ_selvecs=ecoff_little_vec
359 ;;
14bf95ea 360 mips-dec-netbsd* | mips*el*-*-netbsd*)
049df0a8 361 targ_defvec=bfd_elf32_littlemips_vec
14bf95ea
ILT
362 targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec"
363 ;;
364 mips*-*-netbsd*)
365 targ_defvec=bfd_elf32_bigmips_vec
366 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
049df0a8 367 ;;
2b79a104
ILT
368 mips*-dec-bsd*)
369 targ_defvec=aout_mips_little_vec
370 targ_underscore=yes
371 ;;
372 mips*-dec-mach3*)
373 targ_defvec=aout_mips_little_vec
374 targ_cflags=-DSTAT_FOR_EXEC
375 ;;
376 mips*-dec-* | mips*el-*-ecoff*)
377 targ_defvec=ecoff_little_vec
378 targ_selvecs=ecoff_big_vec
379 ;;
380 mips*-*-ecoff*)
381 targ_defvec=ecoff_big_vec
382 targ_selvecs=ecoff_little_vec
383 ;;
e8c249cb
ILT
384 mips*-*-irix6*)
385 targ_defvec=bfd_elf32_bigmips_vec
386 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
387 ;;
2b79a104
ILT
388 mips*-*-irix5*)
389 targ_defvec=bfd_elf32_bigmips_vec
390 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
391 ;;
392 mips*-sgi-* | mips*-*-bsd*)
393 targ_defvec=ecoff_big_vec
394 targ_selvecs=ecoff_little_vec
395 ;;
ac388f2a
ILT
396 mips*-*-lnews*)
397 targ_defvec=ecoff_biglittle_vec
398 targ_selvecs="ecoff_little_vec ecoff_big_vec"
399 ;;
2b79a104
ILT
400 mips*-*-mach3*)
401 targ_defvec=aout_mips_little_vec
402 targ_cflags=-DSTAT_FOR_EXEC
403 ;;
404 mips*-*-sysv4*)
405 targ_defvec=bfd_elf32_bigmips_vec
406 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
407 ;;
408 mips*-*-sysv* | mips*-*-riscos*)
409 targ_defvec=ecoff_big_vec
410 targ_selvecs=ecoff_little_vec
411 ;;
412 mips*el-*-elf*)
413 targ_defvec=bfd_elf32_littlemips_vec
9b263b79 414 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
2b79a104 415 ;;
161ac690 416 mips*-*-elf* | mips*-*-rtems*)
2b79a104 417 targ_defvec=bfd_elf32_bigmips_vec
9b263b79 418 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
2b79a104 419 ;;
fd8d7c31
MH
420 mips*-*-none)
421 targ_defvec=bfd_elf32_bigmips_vec
422 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
423 ;;
6a2922d5 424 mips*el*-*-linux* | mips*el*-*-openbsd*)
7c342fc5 425 targ_defvec=bfd_elf32_littlemips_vec
f0315e65 426 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec"
7c342fc5 427 ;;
6a2922d5 428 mips*-*-linux* | mips*-*-openbsd*)
7c342fc5 429 targ_defvec=bfd_elf32_bigmips_vec
f0315e65 430 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec"
7c342fc5 431 ;;
2b79a104 432
ae1b99e4
JL
433 mn10200-*-*)
434 targ_defvec=bfd_elf32_mn10200_vec
435 ;;
436
437 mn10300-*-*)
438 targ_defvec=bfd_elf32_mn10300_vec
efc2b064
JL
439 ;;
440
2a01c351 441 ns32k-pc532-mach* | ns32k-pc532-ux*)
2b79a104
ILT
442 targ_defvec=pc532machaout_vec
443 targ_underscore=yes
444 ;;
6a2922d5 445 ns32k-*-netbsd* | ns32k-*-lites* | ns32k-*-openbsd*)
2b79a104
ILT
446 targ_defvec=pc532netbsd_vec
447 targ_underscore=yes
448 ;;
449
ac388f2a 450 powerpc-*-aix* | powerpc-*-beos*)
2b79a104
ILT
451 targ_defvec=rs6000coff_vec
452 ;;
6a2922d5 453 powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
50bd50d4 454 powerpc-*-solaris2* | powerpc-*-linux* | powerpc-*-rtems*)
2b79a104 455 targ_defvec=bfd_elf32_powerpc_vec
9b263b79 456 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 457 ;;
2a01c351
KR
458 powerpc-*-macos* | powerpc-*-mpw*)
459 targ_defvec=pmac_xcoff_vec
460 ;;
2b79a104
ILT
461 powerpc-*-netware*)
462 targ_defvec=bfd_elf32_powerpc_vec
463 targ_selvecs="nlm32_powerpc_vec rs6000coff_vec"
464 ;;
465 powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \
9b263b79 466 powerpcle-*-solaris2* | powerpcle-*-linux*)
2b79a104 467 targ_defvec=bfd_elf32_powerpcle_vec
9b263b79 468 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
469 ;;
470
847b9629 471 powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin32*)
e0c10737
KK
472 targ_defvec=bfd_powerpcle_pe_vec
473 targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec"
474 ;;
475
2b79a104
ILT
476 rs6000-*-*)
477 targ_defvec=rs6000coff_vec
478 ;;
479
6b5f5d61 480 sh-*-elf* | sh-*-rtems*)
71d7d44f 481 targ_defvec=bfd_elf32_sh_vec
18ed85fd 482 targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
71d7d44f
DE
483 targ_underscore=yes
484 ;;
485 sh-*-*)
486 targ_defvec=shcoff_vec
18ed85fd 487 targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
71d7d44f
DE
488 targ_underscore=yes
489 ;;
490
491 sparclet-*-aout*)
492 targ_defvec=sunos_big_vec
493 targ_selvecs=sparcle_aout_vec
494 targ_underscore=yes
495 ;;
6a2922d5
ILT
496 sparc-*-linux*aout*)
497 targ_defvec=sparclinux_vec
498 targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
499 targ_underscore=yes
500 ;;
501 sparc-*-linux*)
502 targ_defvec=bfd_elf32_sparc_vec
503 targ_selvecs="sparclinux_vec sunos_big_vec"
504 ;;
2b79a104
ILT
505 sparc-*-lynxos*)
506 targ_defvec=sparclynx_coff_vec
507 targ_selvecs=sparclynx_aout_vec
508 ;;
6a2922d5 509 sparc-*-netbsd* | sparc-*-openbsd*)
2b79a104
ILT
510 targ_defvec=sparcnetbsd_vec
511 targ_underscore=yes
512 ;;
f7954d86 513 sparc-*-elf* | sparc-*-solaris2*)
2b79a104
ILT
514 targ_defvec=bfd_elf32_sparc_vec
515 targ_selvecs=sunos_big_vec
516 ;;
f7954d86
MM
517 sparc-*-sysv4*)
518 targ_defvec=bfd_elf32_sparc_vec
519 ;;
0b3fcc1c
ILT
520 sparc-*-netware*)
521 targ_defvec=bfd_elf32_sparc_vec
522 targ_selvecs="nlm32_sparc_vec sunos_big_vec"
523 ;;
524#ifdef BFD64
767f22d5
FF
525 sparc64-*-aout*)
526 targ_defvec=sunos_big_vec
527 targ_underscore=yes
528 ;;
0b3fcc1c
ILT
529 sparc64-*-linux*)
530 targ_defvec=bfd_elf64_sparc_vec
531 targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
532 ;;
5bc513b4
DE
533 sparc64-*-elf*)
534 targ_defvec=bfd_elf64_sparc_vec
535 targ_selvecs=bfd_elf32_sparc_vec
536 ;;
dee99794 537#endif /* BFD64 */
2b79a104
ILT
538 sparc*-*-coff*)
539 targ_defvec=sparccoff_vec
540 ;;
50bd50d4 541 sparc*-*-* | sparc*-*-rtems*)
2b79a104
ILT
542 targ_defvec=sunos_big_vec
543 targ_underscore=yes
544 ;;
545
3baa24ad 546#if HAVE_host_aout_vec
2b79a104
ILT
547 tahoe-*-*)
548 targ_defvec=host_aout_vec
549 targ_underscore=yes
550 ;;
dee99794 551#endif
cd6213ff 552# start-sanitize-tic80
5a08c6a1 553
fd8d7c31 554 tic80*-*-*)
cd6213ff 555 targ_defvec=tic80coff_vec
76af94b9 556 targ_underscore=yes
cd6213ff
FF
557 ;;
558
559# end-sanitize-tic80
20b2c808 560# start-sanitize-sky
5a08c6a1 561
36df40e0
DE
562 dvp-*-*)
563 targ_defvec=bfd_elf32_littlemips_vec
564 targ_selvecs=bfd_elf64_littlemips_vec
20b2c808
DE
565 ;;
566
5a08c6a1 567# end-sanitize-sky
20b2c808 568
f7954d86
MM
569 v850-*-*)
570 targ_defvec=bfd_elf32_v850_vec
571 ;;
8988d935
NC
572# start-sanitize-v850e
573 v850e-*-*)
574 targ_defvec=bfd_elf32_v850_vec
575 ;;
0b3fcc1c 576 v850ea-*-*)
8988d935
NC
577 targ_defvec=bfd_elf32_v850_vec
578 ;;
6b5f5d61 579# end-sanitize-v850e
3baa24ad 580#if HAVE_host_aout_vec
dee99794 581 vax-*-bsd* | vax-*-ultrix*)
2b79a104
ILT
582 targ_defvec=host_aout_vec
583 targ_underscore=yes
584 ;;
dee99794 585#endif
2b79a104
ILT
586
587 we32k-*-*)
588 targ_defvec=we32kcoff_vec
589 ;;
590
591 w65-*-*)
592 targ_defvec=w65_vec
593 ;;
594
595 z8k*-*-*)
596 targ_defvec=z8kcoff_vec
597 targ_underscore=yes
598 ;;
599
600 *-*-ieee*)
601 targ_defvec=ieee_vec
602 ;;
603
604 *-adobe-*)
dee99794 605 targ_defvec=a_out_adobe_vec
2b79a104
ILT
606 targ_underscore=yes
607 ;;
608
609 *-sony-*)
610 targ_defvec=newsos3_vec
611 targ_underscore=yes
612 ;;
613
614 *-tandem-*)
615 targ_defvec=m68kcoff_vec
616 targ_selvecs=ieee_vec
617 ;;
dee99794 618# END OF targmatch.h
2b79a104
ILT
619 *)
620 echo 1>&2 "*** BFD does not support target ${targ}."
621 echo 1>&2 "*** Look in bfd/config.bfd for supported targets."
622 exit 1
623 ;;
624esac
This page took 0.184849 seconds and 4 git commands to generate.