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