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