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