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