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