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