]>
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 | ||
2b79a104 ILT |
120 | hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4*) |
121 | targ_defvec=bfd_elf32_hppa_vec | |
122 | ;; | |
123 | hppa*-*-bsd*) | |
124 | targ_defvec=som_vec | |
125 | targ_selvecs=bfd_elf32_hppa_vec | |
126 | ;; | |
127 | hppa*-*-hpux* | hppa*-*-hiux*) | |
128 | targ_defvec=som_vec | |
129 | ;; | |
130 | hppa*-*-osf*) | |
131 | targ_defvec=som_vec | |
132 | targ_selvecs=bfd_elf32_hppa_vec | |
133 | ;; | |
134 | ||
f7954d86 MM |
135 | i[3456]86-*-sysv4* | i[3456]86-*-unixware | i[3456]86-*-solaris2* | \ |
136 | i[3456]86-*-elf | i[3456]86-*-sco*elf* | i[3456]86-*-freebsdelf* | \ | |
137 | i[3456]86-*-dgux*) | |
2b79a104 ILT |
138 | targ_defvec=bfd_elf32_i386_vec |
139 | targ_selvecs=i386coff_vec | |
140 | ;; | |
f7954d86 MM |
141 | i[3456]86-*-sysv* | i[3456]86-*-isc* | i[3456]86-*-sco* | i[3456]86-*-coff | \ |
142 | i[3456]86-*-aix* | i[3456]86-*-go32* | i[3456]86*-*-rtems*) | |
2b79a104 ILT |
143 | targ_defvec=i386coff_vec |
144 | ;; | |
f7954d86 | 145 | i[3456]86-sequent-bsd*) |
2b79a104 ILT |
146 | targ_defvec=i386dynix_vec |
147 | targ_underscore=yes | |
148 | ;; | |
f7954d86 | 149 | i[3456]86-*-bsd*) |
2b79a104 ILT |
150 | targ_defvec=i386bsd_vec |
151 | targ_underscore=yes | |
152 | ;; | |
f7954d86 | 153 | i[3456]86-*-freebsd*) |
767f22d5 FF |
154 | targ_defvec=i386freebsd_vec |
155 | targ_selvecs=i386bsd_vec | |
156 | targ_underscore=yes | |
157 | ;; | |
f7954d86 | 158 | i[3456]86-*-netbsd*) |
2b79a104 ILT |
159 | targ_defvec=i386netbsd_vec |
160 | targ_selvecs=i386bsd_vec | |
161 | targ_underscore=yes | |
162 | ;; | |
f7954d86 | 163 | i[3456]86-*-netware*) |
2b79a104 ILT |
164 | targ_defvec=bfd_elf32_i386_vec |
165 | targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec" | |
166 | ;; | |
f7954d86 | 167 | i[3456]86-*-linuxaout*) |
2b79a104 ILT |
168 | targ_defvec=i386linux_vec |
169 | targ_selvecs=bfd_elf32_i386_vec | |
170 | targ_underscore=yes | |
171 | ;; | |
f7954d86 | 172 | i[3456]86-*-linux*) |
2b79a104 ILT |
173 | targ_defvec=bfd_elf32_i386_vec |
174 | targ_selvecs=i386linux_vec | |
175 | targ_underscore=yes | |
176 | ;; | |
f7954d86 | 177 | i[3456]86-*-lynxos*) |
2b79a104 ILT |
178 | targ_defvec=i386lynx_coff_vec |
179 | targ_selvecs=i386lynx_aout_vec | |
180 | ;; | |
f7954d86 | 181 | i[3456]86-*-gnu*) |
2b79a104 ILT |
182 | targ_defvec=bfd_elf32_i386_vec |
183 | targ_selvecs=i386mach3_vec | |
184 | targ_cflags=-DSTAT_FOR_EXEC | |
185 | targ_underscore=yes | |
186 | ;; | |
f7954d86 | 187 | i[3456]86-*-mach* | i[3456]86-*-osf1mk*) |
2b79a104 ILT |
188 | targ_defvec=i386mach3_vec |
189 | targ_cflags=-DSTAT_FOR_EXEC | |
190 | targ_underscore=yes | |
191 | ;; | |
f7954d86 | 192 | i[3456]86-*-os9k) |
2b79a104 ILT |
193 | targ_defvec=i386os9k_vec |
194 | ;; | |
f7954d86 | 195 | i[3456]86-*-msdos*) |
2b79a104 ILT |
196 | targ_defvec=i386aout_vec |
197 | targ_selvecs=i386msdos_vec | |
198 | ;; | |
f7954d86 | 199 | i[3456]86-*-moss*) |
2b79a104 ILT |
200 | targ_defvec=bfd_elf32_i386_vec |
201 | targ_selvecs="i386msdos_vec i386aout_vec" | |
202 | ;; | |
f7954d86 | 203 | i[3456]86-*-cygwin32 | i[3456]86-*-winnt | i[3456]86-*-pe) |
049df0a8 | 204 | targ_defvec=i386pe_vec |
2b79a104 ILT |
205 | targ_selvecs="i386pe_vec i386pei_vec" |
206 | ;; | |
f7954d86 | 207 | i[3456]86-none-*) |
2b79a104 ILT |
208 | targ_defvec=i386coff_vec |
209 | ;; | |
f7954d86 | 210 | i[3456]86-*-aout* | i[3456]86*-*-vsta*) |
588512c6 | 211 | targ_defvec=i386aout_vec |
2b79a104 ILT |
212 | ;; |
213 | ||
767f22d5 FF |
214 | i860-*-mach3* | i860-*-osf1* | i860-*-coff*) |
215 | targ_defvec=i860coff_vec | |
216 | ;; | |
217 | i860-*-sysv4* | i860-*-elf*) | |
2b79a104 ILT |
218 | targ_defvec=bfd_elf32_i860_vec |
219 | ;; | |
220 | ||
221 | i960-*-vxworks4* | i960-*-vxworks5.0) | |
222 | targ_defvec=b_out_vec_little_host | |
3998d526 | 223 | targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec" |
2b79a104 ILT |
224 | targ_underscore=yes |
225 | ;; | |
50bd50d4 | 226 | i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv* | i960-*-rtems*) |
2b79a104 | 227 | targ_defvec=icoff_little_vec |
3998d526 | 228 | targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host ieee_vec" |
2b79a104 ILT |
229 | targ_underscore=yes |
230 | ;; | |
231 | i960-*-vxworks* | i960-*-aout* | i960-*-bout* | i960-*-nindy*) | |
232 | targ_defvec=b_out_vec_little_host | |
3998d526 | 233 | targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec" |
2b79a104 ILT |
234 | targ_underscore=yes |
235 | ;; | |
49df10b1 | 236 | |
2b79a104 ILT |
237 | m68*-apollo-*) |
238 | targ_defvec=apollocoff_vec | |
239 | ;; | |
240 | m68*-bull-sysv*) | |
241 | targ_defvec=m68kcoffun_vec | |
242 | targ_underscore=yes | |
243 | ;; | |
244 | m68*-hp-bsd*) | |
245 | targ_defvec=hp300bsd_vec | |
246 | targ_underscore=yes | |
247 | ;; | |
248 | m68*-*-aout*) | |
249 | targ_defvec=aout0_big_vec | |
3998d526 | 250 | # We include cisco_core_vec here, rather than making a separate cisco |
2b79a104 ILT |
251 | # configuration, so that cisco-core.c gets routinely tested at |
252 | # least for compilation. | |
3998d526 | 253 | targ_selvecs="cisco_core_vec ieee_vec" |
2b79a104 ILT |
254 | targ_underscore=yes |
255 | ;; | |
767f22d5 | 256 | m68*-*-elf* | m68*-*-sysv4*) |
2b79a104 | 257 | targ_defvec=bfd_elf32_m68k_vec |
3998d526 | 258 | targ_selvecs="m68kcoff_vec ieee_vec" |
2b79a104 | 259 | ;; |
50bd50d4 | 260 | m68*-*-coff* | m68*-*-sysv* | m68*-*-rtems*) |
2b79a104 | 261 | targ_defvec=m68kcoff_vec |
3998d526 | 262 | targ_selvecs="m68kcoff_vec versados_vec ieee_vec" |
2b79a104 ILT |
263 | ;; |
264 | m68*-*-hpux*) | |
265 | targ_defvec=hp300hpux_vec | |
266 | targ_underscore=yes | |
267 | ;; | |
3998d526 ILT |
268 | m68*-*-linuxaout*) |
269 | targ_defvec=m68klinux_vec | |
270 | targ_selvecs=bfd_elf32_m68k_vec | |
271 | targ_underscore=yes | |
272 | ;; | |
273 | m68*-*-linux*) | |
274 | targ_defvec=bfd_elf32_m68k_vec | |
275 | targ_selvecs=m68klinux_vec | |
276 | ;; | |
2b79a104 ILT |
277 | m68*-*-lynxos*) |
278 | targ_defvec=m68klynx_coff_vec | |
279 | targ_selvecs=m68klynx_aout_vec | |
280 | ;; | |
11ab6da4 NH |
281 | m68*-hp*-netbsd*) |
282 | targ_defvec=m68k4knetbsd_vec | |
283 | targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec" | |
284 | targ_underscore=yes | |
285 | ;; | |
2b79a104 ILT |
286 | m68*-*-netbsd*) |
287 | targ_defvec=m68knetbsd_vec | |
11ab6da4 | 288 | targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" |
2b79a104 ILT |
289 | targ_underscore=yes |
290 | ;; | |
291 | m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \ | |
292 | m68*-*-bsd* | m68*-*-vsta*) | |
293 | targ_defvec=sunos_big_vec | |
294 | targ_underscore=yes | |
295 | ;; | |
296 | m68*-ericsson-*) | |
297 | targ_defvec=sunos_big_vec | |
298 | targ_selvecs="m68kcoff_vec tekhex_vec" | |
299 | targ_underscore=yes | |
300 | ;; | |
767f22d5 FF |
301 | m68*-cbm-*) |
302 | targ_defvec=bfd_elf32_m68k_vec | |
303 | targ_selvecs=m68kcoff_vec | |
304 | ;; | |
d19df9b5 ILT |
305 | m68*-apple-aux*) |
306 | targ_defvec=m68kaux_coff_vec | |
307 | ;; | |
3998d526 ILT |
308 | m68*-*-psos*) |
309 | targ_defvec=bfd_elf32_m68k_vec | |
310 | targ_selvecs=ieee_vec | |
311 | targ_underscore=yes | |
312 | ;; | |
2b79a104 ILT |
313 | |
314 | m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*) | |
315 | targ_defvec=bfd_elf32_m88k_vec | |
316 | targ_selvecs=m88kbcs_vec | |
317 | ;; | |
318 | m88*-*-mach3*) | |
319 | targ_defvec=m88kmach3_vec | |
320 | targ_cflags=-DSTAT_FOR_EXEC | |
321 | ;; | |
322 | m88*-*-*) | |
323 | targ_defvec=m88kbcs_vec | |
324 | targ_underscore=yes | |
325 | ;; | |
326 | ||
327 | mips*-big-*) | |
328 | targ_defvec=ecoff_big_vec | |
329 | targ_selvecs=ecoff_little_vec | |
330 | ;; | |
049df0a8 ILT |
331 | mips-dec-netbsd*) |
332 | targ_defvec=bfd_elf32_littlemips_vec | |
333 | targ_selvecs=bfd_elf32_bigmips_vec | |
334 | ;; | |
2b79a104 ILT |
335 | mips*-dec-bsd*) |
336 | targ_defvec=aout_mips_little_vec | |
337 | targ_underscore=yes | |
338 | ;; | |
339 | mips*-dec-mach3*) | |
340 | targ_defvec=aout_mips_little_vec | |
341 | targ_cflags=-DSTAT_FOR_EXEC | |
342 | ;; | |
343 | mips*-dec-* | mips*el-*-ecoff*) | |
344 | targ_defvec=ecoff_little_vec | |
345 | targ_selvecs=ecoff_big_vec | |
346 | ;; | |
d6d44ef9 SG |
347 | # start-sanitize-gm |
348 | mips*-*-magic*) | |
349 | targ_defvec=ecoff_big_vec | |
bf917766 | 350 | targ_selvecs=bfd_elf32_bigmips_vec |
d6d44ef9 SG |
351 | ;; |
352 | # end-sanitize-gm | |
2b79a104 ILT |
353 | mips*-*-ecoff*) |
354 | targ_defvec=ecoff_big_vec | |
355 | targ_selvecs=ecoff_little_vec | |
356 | ;; | |
e8c249cb ILT |
357 | mips*-*-irix6*) |
358 | targ_defvec=bfd_elf32_bigmips_vec | |
359 | targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" | |
360 | ;; | |
2b79a104 ILT |
361 | mips*-*-irix5*) |
362 | targ_defvec=bfd_elf32_bigmips_vec | |
363 | targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec" | |
364 | ;; | |
365 | mips*-sgi-* | mips*-*-bsd*) | |
366 | targ_defvec=ecoff_big_vec | |
367 | targ_selvecs=ecoff_little_vec | |
368 | ;; | |
369 | mips*-*-mach3*) | |
370 | targ_defvec=aout_mips_little_vec | |
371 | targ_cflags=-DSTAT_FOR_EXEC | |
372 | ;; | |
373 | mips*-*-sysv4*) | |
374 | targ_defvec=bfd_elf32_bigmips_vec | |
375 | targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec" | |
376 | ;; | |
377 | mips*-*-sysv* | mips*-*-riscos*) | |
378 | targ_defvec=ecoff_big_vec | |
379 | targ_selvecs=ecoff_little_vec | |
380 | ;; | |
381 | mips*el-*-elf*) | |
382 | targ_defvec=bfd_elf32_littlemips_vec | |
9b263b79 | 383 | targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" |
2b79a104 ILT |
384 | ;; |
385 | mips*-*-elf*) | |
386 | targ_defvec=bfd_elf32_bigmips_vec | |
9b263b79 | 387 | targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" |
2b79a104 ILT |
388 | ;; |
389 | ||
2a01c351 | 390 | ns32k-pc532-mach* | ns32k-pc532-ux*) |
2b79a104 ILT |
391 | targ_defvec=pc532machaout_vec |
392 | targ_underscore=yes | |
393 | ;; | |
2a01c351 | 394 | ns32k-*-netbsd* | ns32k-*-lites*) |
2b79a104 ILT |
395 | targ_defvec=pc532netbsd_vec |
396 | targ_underscore=yes | |
397 | ;; | |
398 | ||
399 | powerpc-*-aix*) | |
400 | targ_defvec=rs6000coff_vec | |
401 | ;; | |
9b263b79 | 402 | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \ |
50bd50d4 | 403 | powerpc-*-solaris2* | powerpc-*-linux* | powerpc-*-rtems*) |
2b79a104 | 404 | targ_defvec=bfd_elf32_powerpc_vec |
9b263b79 | 405 | 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 | 406 | ;; |
2a01c351 KR |
407 | powerpc-*-macos* | powerpc-*-mpw*) |
408 | targ_defvec=pmac_xcoff_vec | |
409 | ;; | |
2b79a104 ILT |
410 | powerpc-*-netware*) |
411 | targ_defvec=bfd_elf32_powerpc_vec | |
412 | targ_selvecs="nlm32_powerpc_vec rs6000coff_vec" | |
413 | ;; | |
414 | powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \ | |
9b263b79 | 415 | powerpcle-*-solaris2* | powerpcle-*-linux*) |
2b79a104 | 416 | targ_defvec=bfd_elf32_powerpcle_vec |
9b263b79 | 417 | 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 |
418 | ;; |
419 | ||
3998d526 | 420 | powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin32) |
e0c10737 KK |
421 | targ_defvec=bfd_powerpcle_pe_vec |
422 | targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec" | |
423 | ;; | |
424 | ||
2b79a104 ILT |
425 | rs6000-*-*) |
426 | targ_defvec=rs6000coff_vec | |
427 | ;; | |
428 | ||
71d7d44f DE |
429 | sh-*-elf*) |
430 | targ_defvec=bfd_elf32_sh_vec | |
431 | targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec" | |
432 | targ_underscore=yes | |
433 | ;; | |
434 | sh-*-*) | |
435 | targ_defvec=shcoff_vec | |
436 | targ_selvecs="shcoff_vec shlcoff_vec" | |
437 | targ_underscore=yes | |
438 | ;; | |
439 | ||
440 | sparclet-*-aout*) | |
441 | targ_defvec=sunos_big_vec | |
442 | targ_selvecs=sparcle_aout_vec | |
443 | targ_underscore=yes | |
444 | ;; | |
2b79a104 ILT |
445 | sparc-*-lynxos*) |
446 | targ_defvec=sparclynx_coff_vec | |
447 | targ_selvecs=sparclynx_aout_vec | |
448 | ;; | |
449 | sparc-*-netbsd*) | |
450 | targ_defvec=sparcnetbsd_vec | |
451 | targ_underscore=yes | |
452 | ;; | |
f7954d86 | 453 | sparc-*-elf* | sparc-*-solaris2*) |
2b79a104 ILT |
454 | targ_defvec=bfd_elf32_sparc_vec |
455 | targ_selvecs=sunos_big_vec | |
456 | ;; | |
f7954d86 MM |
457 | sparc-*-sysv4*) |
458 | targ_defvec=bfd_elf32_sparc_vec | |
459 | ;; | |
767f22d5 FF |
460 | sparc64-*-aout*) |
461 | targ_defvec=sunos_big_vec | |
462 | targ_underscore=yes | |
463 | ;; | |
5bc513b4 DE |
464 | sparc64-*-elf*) |
465 | targ_defvec=bfd_elf64_sparc_vec | |
466 | targ_selvecs=bfd_elf32_sparc_vec | |
467 | ;; | |
2b79a104 ILT |
468 | sparc-*-netware*) |
469 | targ_defvec=bfd_elf32_sparc_vec | |
470 | targ_selvecs="nlm32_sparc_vec sunos_big_vec" | |
471 | ;; | |
472 | sparc*-*-coff*) | |
473 | targ_defvec=sparccoff_vec | |
474 | ;; | |
50bd50d4 | 475 | sparc*-*-* | sparc*-*-rtems*) |
2b79a104 ILT |
476 | targ_defvec=sunos_big_vec |
477 | targ_underscore=yes | |
478 | ;; | |
479 | ||
480 | tahoe-*-*) | |
481 | targ_defvec=host_aout_vec | |
482 | targ_underscore=yes | |
483 | ;; | |
484 | ||
f7954d86 MM |
485 | # start-sanitize-v850 |
486 | v850-*-*) | |
487 | targ_defvec=bfd_elf32_v850_vec | |
488 | ;; | |
489 | ||
490 | # end-sanitize-v850 | |
2b79a104 ILT |
491 | vax-*-vms*) |
492 | echo 1>&2 "*** BFD does not support target ${targ}." | |
493 | echo 1>&2 "*** Look in bfd/config.bfd for supported targets." | |
494 | exit 1 | |
495 | ;; | |
496 | vax-*-*) | |
497 | targ_defvec=host_aout_vec | |
498 | targ_underscore=yes | |
499 | ;; | |
500 | ||
501 | we32k-*-*) | |
502 | targ_defvec=we32kcoff_vec | |
503 | ;; | |
504 | ||
505 | w65-*-*) | |
506 | targ_defvec=w65_vec | |
507 | ;; | |
508 | ||
509 | z8k*-*-*) | |
510 | targ_defvec=z8kcoff_vec | |
511 | targ_underscore=yes | |
512 | ;; | |
513 | ||
514 | *-*-ieee*) | |
515 | targ_defvec=ieee_vec | |
516 | ;; | |
517 | ||
518 | *-adobe-*) | |
519 | targ_defvec=a_aout_adobe_vec | |
520 | targ_underscore=yes | |
521 | ;; | |
522 | ||
523 | *-sony-*) | |
524 | targ_defvec=newsos3_vec | |
525 | targ_underscore=yes | |
526 | ;; | |
527 | ||
528 | *-tandem-*) | |
529 | targ_defvec=m68kcoff_vec | |
530 | targ_selvecs=ieee_vec | |
531 | ;; | |
532 | ||
533 | *) | |
534 | echo 1>&2 "*** BFD does not support target ${targ}." | |
535 | echo 1>&2 "*** Look in bfd/config.bfd for supported targets." | |
536 | exit 1 | |
537 | ;; | |
538 | esac |