Commit | Line | Data |
---|---|---|
252b5132 | 1 | # config.bfd |
5bf135a7 | 2 | # |
219d1afa | 3 | # Copyright (C) 2012-2018 Free Software Foundation, Inc. |
5bf135a7 NC |
4 | # |
5 | # This file is free software; you can redistribute it and/or modify | |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 3 of the License, or | |
8 | # (at your option) any later version. | |
1b786873 | 9 | # |
5bf135a7 NC |
10 | # This program is distributed in the hope that it will be useful, |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
1b786873 | 14 | # |
5bf135a7 NC |
15 | # You should have received a copy of the GNU General Public License |
16 | # along with this program; see the file COPYING3. If not see | |
17 | # <http://www.gnu.org/licenses/>. | |
18 | # | |
252b5132 RH |
19 | # Convert a canonical host type into a BFD host type. |
20 | # Set shell variable targ to canonical target name, and run | |
21 | # using ``. config.bfd''. | |
22 | # Sets the following shell variables: | |
23 | # targ_defvec Default vector for this target | |
24 | # targ_selvecs Vectors to build for this target | |
e9e69f5a AM |
25 | # targ64_selvecs Vectors to build if --enable-64-bit-bfd is given |
26 | # or if host is 64 bit. | |
252b5132 RH |
27 | # targ_archs Architectures for this target |
28 | # targ_cflags $(CFLAGS) for this target (FIXME: pretty bogus) | |
29 | # targ_underscore Whether underscores are used: yes or no | |
30 | ||
31 | # Part of this file is processed by targmatch.sed to generate the | |
32 | # targmatch.h file. The #ifdef and #endif lines that appear below are | |
33 | # copied directly into targmatch.h. | |
34 | ||
35 | # The binutils c++filt program wants to know whether underscores are | |
36 | # stripped or not. That is why we set targ_underscore. c++filt uses | |
37 | # this information to choose a default. This information is | |
38 | # duplicated in the symbol_leading_char field of the BFD target | |
39 | # vector, but c++filt does not deal with object files and is not | |
40 | # linked against libbfd.a. It is not terribly important that c++filt | |
41 | # get this right; it is just convenient. | |
42 | ||
43 | targ_defvec= | |
44 | targ_selvecs= | |
e9e69f5a | 45 | targ64_selvecs= |
252b5132 RH |
46 | targ_cflags= |
47 | targ_underscore=no | |
48 | ||
91fb2a9d NC |
49 | # Catch obsolete configurations. |
50 | case $targ in | |
73589c9d CS |
51 | openrisc-*-* | or32-*-*) |
52 | echo "*** Configuration $targ is obsolete." >&2 | |
53 | echo "*** Use or1k-*-elf or or1k-*-linux as the target instead" >&2 | |
54 | exit 1 | |
55 | ;; | |
24acfe5e | 56 | powerpc-*-lynxos* | powerpc-*-windiss* | \ |
b2d65c0b | 57 | null) |
91fb2a9d NC |
58 | if test "x$enable_obsolete" != xyes; then |
59 | echo "*** Configuration $targ is obsolete." >&2 | |
60 | echo "*** Specify --enable-obsolete to build it anyway." >&2 | |
61 | echo "*** Support will be REMOVED in the next major release of BINUTILS," >&2 | |
62 | echo "*** unless a maintainer comes forward." >&2 | |
63 | exit 1 | |
64 | fi;; | |
65 | esac | |
66 | ||
7f266840 | 67 | case $targ in |
3596d8ce AM |
68 | *-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu | \ |
69 | mips*-*-irix5* | mips*-*-irix6*) | |
dc12032b AM |
70 | # Not obsolete |
71 | ;; | |
a8eb42a8 | 72 | *-adobe-* | \ |
73589c9d | 73 | *-go32-rtems* | \ |
5972ac73 | 74 | *-sony-* | \ |
de96689e | 75 | *-tandem-* | \ |
fdef3943 | 76 | *-*-ieee* | \ |
b4b594e3 | 77 | *-*-netware* | \ |
4a7324e1 | 78 | *-*-rtemsaout* | \ |
850d84f6 | 79 | *-*-rtemscoff* | \ |
c17ae8a2 | 80 | a29k-* | \ |
2ac93be7 AM |
81 | arm*-*-aout | \ |
82 | arm-*-coff | \ | |
83 | arm-*-netbsd* | \ | |
84 | arm-*-openbsd* | \ | |
73589c9d | 85 | arm-*-oabi | \ |
2ac93be7 | 86 | arm-*-riscix* | \ |
ddb00039 | 87 | arm-epoc-pe* | \ |
fe0bf0fd | 88 | h8300*-*-coff | \ |
e82aa794 | 89 | h8500*-*-coff | \ |
7e4e2059 | 90 | hppa*-*-rtems* | \ |
c65c21e1 AM |
91 | i[3-7]86-*-unixware* | \ |
92 | i[3-7]86-*-dgux* | \ | |
93 | i[3-7]86-*-chorus* | \ | |
94 | i[3-7]86-*-sysv* | \ | |
95 | i[3-7]86-*-isc* | \ | |
96 | i[3-7]86-*-sco* | \ | |
97 | i[3-7]86-*-coff | \ | |
98 | i[3-7]86-*-aix* | \ | |
99 | i[3-7]86-sequent-bsd* | \ | |
100 | i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12] | \ | |
101 | i[3-7]86-*-netbsdaout* | i[3-7]86-*-netbsd* | \ | |
102 | i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3] | \ | |
103 | i[3-7]86-*-linux*aout* | \ | |
104 | i[3-7]86-*-mach* | i[3-7]86-*-osf1mk* | \ | |
105 | i[3-7]86-*-os9k | \ | |
106 | i[3-7]86-none-* | \ | |
107 | i[3-7]86-*-aout* | i[3-7]86*-*-vsta* | \ | |
6793974d | 108 | i370-* | \ |
a8eb42a8 AM |
109 | i860-*-* | \ |
110 | i960-*-* | \ | |
dc12032b AM |
111 | m68*-*-*bsd* | \ |
112 | m68*-*-aout* | \ | |
113 | m68*-*-coff* | \ | |
114 | m68*-*-hpux* | \ | |
115 | m68*-*-linux*aout* | \ | |
73589c9d | 116 | m68*-*-lynxos* | \ |
dc12032b AM |
117 | m68*-*-os68k* | \ |
118 | m68*-*-psos* | \ | |
119 | m68*-*-sunos* | \ | |
120 | m68*-*-sysv* | \ | |
121 | m68*-*-vsta* | \ | |
122 | m68*-*-vxworks* | \ | |
73589c9d CS |
123 | m68*-apollo-* | \ |
124 | m68*-apple-aux* | \ | |
125 | m68*-bull-sysv* | \ | |
dc12032b AM |
126 | m68*-ericsson-* | \ |
127 | m68*-motorola-sysv* | \ | |
128 | m68*-netx-* | \ | |
c2bf1eec | 129 | m88*-*-* | \ |
73589c9d | 130 | maxq-*-coff | \ |
3596d8ce AM |
131 | mips*-*-bsd* | \ |
132 | mips*-*-ecoff* | \ | |
133 | mips*-*-lnews* | \ | |
134 | mips*-*-mach3* | \ | |
135 | mips*-*-pe* | \ | |
136 | mips*-*-riscos* | \ | |
137 | mips*-*-sysv* | \ | |
138 | mips*-big-* | \ | |
139 | mips*-dec-* | \ | |
140 | mips*-sgi-* | \ | |
7e4e2059 | 141 | mips*el-*-rtems* | \ |
211dc24b | 142 | sh*-*-symbianelf* | sh5*-*-* | sh64*-*-* | \ |
c9098af4 AM |
143 | sparc*-*-*aout* | \ |
144 | sparc*-*-chorus* | \ | |
145 | sparc*-*-coff* | \ | |
73589c9d | 146 | sparc-*-lynxos* | \ |
c9098af4 | 147 | sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1] | \ |
fceadf09 | 148 | tahoe-*-* | \ |
9f5d1593 | 149 | vax-*-bsd* | vax-*-ultrix* | vax-*-vms* | \ |
a9a4b302 | 150 | w65-*-* | \ |
04cb01fd | 151 | we32k-*-* | \ |
7f266840 DJ |
152 | null) |
153 | echo "*** Configuration $targ is obsolete." >&2 | |
154 | echo "*** Support has been REMOVED." >&2 | |
155 | exit 1 | |
156 | ;; | |
157 | esac | |
91fb2a9d | 158 | |
252b5132 RH |
159 | targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
160 | case "${targ_cpu}" in | |
a06ea964 | 161 | aarch64*) targ_archs="bfd_aarch64_arch bfd_arm_arch";; |
7d3f158f | 162 | alpha*) targ_archs=bfd_alpha_arch ;; |
6b200de0 | 163 | am33_2.0*) targ_archs=bfd_mn10300_arch ;; |
886a2506 | 164 | arc*) targ_archs=bfd_arc_arch ;; |
7d3f158f | 165 | arm*) targ_archs=bfd_arm_arch ;; |
0f64bb02 | 166 | bfin*) targ_archs=bfd_bfin_arch ;; |
7d3f158f AM |
167 | c30*) targ_archs=bfd_tic30_arch ;; |
168 | c4x*) targ_archs=bfd_tic4x_arch ;; | |
169 | c54x*) targ_archs=bfd_tic54x_arch ;; | |
3d3d428f | 170 | cr16*) targ_archs=bfd_cr16_arch ;; |
bac23f82 | 171 | crisv32) targ_archs=bfd_cris_arch ;; |
7d3f158f | 172 | crx*) targ_archs=bfd_crx_arch ;; |
b8891f8d | 173 | csky*) targ_archs=bfd_csky_arch ;; |
d172d4ba | 174 | dlx*) targ_archs=bfd_dlx_arch ;; |
ebff6cd5 | 175 | fido*) targ_archs=bfd_m68k_arch ;; |
7d3f158f AM |
176 | hppa*) targ_archs=bfd_hppa_arch ;; |
177 | i[3-7]86) targ_archs=bfd_i386_arch ;; | |
2f5f29ca | 178 | ia16) targ_archs=bfd_i386_arch ;; |
84e94c90 | 179 | lm32) targ_archs=bfd_lm32_arch ;; |
6927f982 NC |
180 | m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;; |
181 | m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;; | |
7d3f158f | 182 | m68*) targ_archs=bfd_m68k_arch ;; |
7b4ae824 | 183 | s12z*) targ_archs=bfd_s12z_arch ;; |
7ba29e2a | 184 | microblaze*) targ_archs=bfd_microblaze_arch ;; |
7d3f158f | 185 | mips*) targ_archs=bfd_mips_arch ;; |
35c08157 | 186 | nds32*) targ_archs=bfd_nds32_arch ;; |
fe944acf | 187 | nfp) targ_archs=bfd_nfp_arch ;; |
36591ba1 | 188 | nios2*) targ_archs=bfd_nios2_arch ;; |
73589c9d | 189 | or1k*|or1knd*) targ_archs=bfd_or1k_arch ;; |
7d3f158f AM |
190 | pdp11*) targ_archs=bfd_pdp11_arch ;; |
191 | pj*) targ_archs="bfd_pj_arch bfd_i386_arch";; | |
192 | powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; | |
889294f6 | 193 | pru*) targ_archs=bfd_pru_arch ;; |
e23eba97 | 194 | riscv*) targ_archs=bfd_riscv_arch ;; |
7d3f158f AM |
195 | rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; |
196 | s390*) targ_archs=bfd_s390_arch ;; | |
197 | sh*) targ_archs=bfd_sh_arch ;; | |
198 | sparc*) targ_archs=bfd_sparc_arch ;; | |
e9f53129 | 199 | spu*) targ_archs=bfd_spu_arch ;; |
aa137e4d NC |
200 | tilegx*) targ_archs=bfd_tilegx_arch ;; |
201 | tilepro*) targ_archs=bfd_tilepro_arch ;; | |
de863c74 | 202 | v850*) targ_archs="bfd_v850_arch bfd_v850_rh850_arch" ;; |
d924db55 | 203 | visium*) targ_archs=bfd_visium_arch ;; |
8fb740dd | 204 | wasm32) targ_archs=bfd_wasm32_arch ;; |
99ad8390 | 205 | x86_64*) targ_archs=bfd_i386_arch ;; |
7d3f158f | 206 | xtensa*) targ_archs=bfd_xtensa_arch ;; |
f6c1a2d5 | 207 | xgate) targ_archs=bfd_xgate_arch ;; |
3c9b82ba | 208 | z80|r800) targ_archs=bfd_z80_arch ;; |
7d3f158f | 209 | z8k*) targ_archs=bfd_z8k_arch ;; |
7d3f158f | 210 | *) targ_archs=bfd_${targ_cpu}_arch ;; |
252b5132 RH |
211 | esac |
212 | ||
213 | ||
214 | # WHEN ADDING ENTRIES TO THIS MATRIX: | |
215 | # Make sure that the left side always has two dashes. Otherwise you | |
216 | # can get spurious matches. Even for unambiguous cases, do this as a | |
217 | # convention, else the table becomes a real mess to understand and maintain. | |
218 | ||
219 | case "${targ}" in | |
ce3c775b NC |
220 | plugin) |
221 | targ_defvec=plugin_vec | |
222 | targ_selvecs="plugin_vec" | |
223 | ;; | |
224 | ||
252b5132 RH |
225 | # START OF targmatch.h |
226 | #ifdef BFD64 | |
f075eb5e TG |
227 | aarch64-*-darwin*) |
228 | targ_defvec=aarch64_mach_o_vec | |
229 | targ_selvecs="arm_mach_o_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec" | |
230 | targ_archs="$targ_archs bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch" | |
231 | want64=true | |
232 | ;; | |
12a132db | 233 | aarch64-*-elf | aarch64-*-rtems*) |
6d00b590 AM |
234 | targ_defvec=aarch64_elf64_le_vec |
235 | targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec" | |
a06ea964 NC |
236 | want64=true |
237 | ;; | |
238 | aarch64_be-*-elf) | |
6d00b590 AM |
239 | targ_defvec=aarch64_elf64_be_vec |
240 | targ_selvecs="aarch64_elf64_le_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_be_vec arm_elf32_le_vec" | |
a06ea964 NC |
241 | want64=true |
242 | ;; | |
15c7659f AT |
243 | aarch64-*-freebsd*) |
244 | targ_defvec=aarch64_elf64_le_vec | |
245 | targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec" | |
246 | want64=true | |
247 | ;; | |
d5451cd4 JC |
248 | aarch64-*-fuchsia*) |
249 | targ_defvec=aarch64_elf64_le_vec | |
250 | targ_selvecs="aarch64_elf64_be_vec arm_elf32_le_vec arm_elf32_be_vec" | |
251 | want64=true | |
252 | ;; | |
a75cf613 ES |
253 | aarch64-*-cloudabi*) |
254 | targ_defvec=aarch64_elf64_le_cloudabi_vec | |
255 | targ_selvecs=aarch64_elf64_be_cloudabi_vec | |
256 | want64=true | |
257 | ;; | |
a06ea964 | 258 | aarch64-*-linux*) |
6d00b590 AM |
259 | targ_defvec=aarch64_elf64_le_vec |
260 | targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec" | |
a06ea964 NC |
261 | want64=true |
262 | ;; | |
263 | aarch64_be-*-linux*) | |
6d00b590 AM |
264 | targ_defvec=aarch64_elf64_be_vec |
265 | targ_selvecs="aarch64_elf64_le_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_be_vec arm_elf32_le_vec" | |
a06ea964 NC |
266 | want64=true |
267 | ;; | |
13dfd2d0 | 268 | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) |
6d00b590 AM |
269 | targ_defvec=alpha_elf64_fbsd_vec |
270 | targ_selvecs="alpha_elf64_vec alpha_ecoff_le_vec" | |
314e9a4e | 271 | want64=true |
4ada7262 DB |
272 | # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling. |
273 | case "${targ}" in | |
274 | alpha*-*-freebsd3* | alpha*-*-freebsd4 | alpha*-*-freebsd4.0*) | |
275 | targ_cflags=-DOLD_FREEBSD_ABI_LABEL ;; | |
276 | esac | |
277 | ;; | |
278 | alpha*-*-netbsd* | alpha*-*-openbsd*) | |
6d00b590 AM |
279 | targ_defvec=alpha_elf64_vec |
280 | targ_selvecs=alpha_ecoff_le_vec | |
314e9a4e | 281 | want64=true |
252b5132 | 282 | ;; |
df26367c | 283 | alpha*-*-linux*ecoff*) |
6d00b590 AM |
284 | targ_defvec=alpha_ecoff_le_vec |
285 | targ_selvecs=alpha_elf64_vec | |
314e9a4e | 286 | want64=true |
252b5132 | 287 | ;; |
ed84e695 | 288 | alpha*-*-linux-* | alpha*-*-elf*) |
6d00b590 AM |
289 | targ_defvec=alpha_elf64_vec |
290 | targ_selvecs=alpha_ecoff_le_vec | |
314e9a4e | 291 | want64=true |
252b5132 RH |
292 | ;; |
293 | alpha*-*-*vms*) | |
6d00b590 AM |
294 | targ_defvec=alpha_vms_vec |
295 | targ_selvecs=alpha_vms_lib_txt_vec | |
314e9a4e | 296 | want64=true |
252b5132 RH |
297 | ;; |
298 | alpha*-*-*) | |
6d00b590 | 299 | targ_defvec=alpha_ecoff_le_vec |
314e9a4e | 300 | want64=true |
252b5132 | 301 | ;; |
ed84e695 | 302 | ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu) |
6d00b590 AM |
303 | targ_defvec=ia64_elf64_le_vec |
304 | targ_selvecs="ia64_elf64_be_vec ia64_pei_vec" | |
314e9a4e | 305 | want64=true |
800eeca4 | 306 | ;; |
bbe66d08 | 307 | ia64*-*-hpux*) |
6d00b590 AM |
308 | targ_defvec=ia64_elf32_hpux_be_vec |
309 | targ_selvecs="ia64_elf64_hpux_be_vec" | |
314e9a4e | 310 | want64=true |
bbe66d08 | 311 | ;; |
01e1a5bc | 312 | ia64*-*-*vms*) |
6d00b590 AM |
313 | targ_defvec=ia64_elf64_vms_vec |
314 | targ_selvecs=alpha_vms_lib_txt_vec | |
01e1a5bc NC |
315 | want64=true |
316 | ;; | |
252b5132 RH |
317 | #endif /* BFD64 */ |
318 | ||
6b200de0 | 319 | am33_2.0-*-linux*) |
6d00b590 | 320 | targ_defvec=am33_elf32_linux_vec |
73c3cd1c | 321 | ;; |
bfff1642 | 322 | |
f7e8b360 NC |
323 | arc*eb-*-elf* | arc*eb-*-linux*) |
324 | targ_defvec=arc_elf32_be_vec | |
325 | targ_selvecs=arc_elf32_le_vec | |
326 | ;; | |
327 | ||
4ad0bb5f | 328 | arc*-*-elf* | arc*-*-linux*) |
6d00b590 AM |
329 | targ_defvec=arc_elf32_le_vec |
330 | targ_selvecs=arc_elf32_be_vec | |
252b5132 RH |
331 | ;; |
332 | ||
f075eb5e TG |
333 | arm-*-darwin*) |
334 | targ_defvec=arm_mach_o_vec | |
335 | targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec" | |
336 | targ_archs="$targ_archs bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch" | |
337 | ;; | |
d5451cd4 JC |
338 | arm-*-fuchsia*) |
339 | targ_defvec=arm_elf32_le_vec | |
340 | targ_selvecs="arm_elf32_be_vec" | |
341 | ;; | |
b38cadfb | 342 | arm-*-nacl*) |
6d00b590 AM |
343 | targ_defvec=arm_elf32_nacl_le_vec |
344 | targ_selvecs="arm_elf32_nacl_be_vec i386_elf32_nacl_vec" | |
345 | targ64_selvecs="x86_64_elf32_nacl_vec x86_64_elf64_nacl_vec" | |
b38cadfb NC |
346 | targ_archs="$targ_archs bfd_i386_arch" |
347 | ;; | |
348 | armeb-*-nacl*) | |
6d00b590 AM |
349 | targ_defvec=arm_elf32_nacl_be_vec |
350 | targ_selvecs="arm_elf32_nacl_le_vec i386_elf32_nacl_vec" | |
351 | targ64_selvecs="x86_64_elf32_nacl_vec x86_64_elf64_nacl_vec" | |
b38cadfb NC |
352 | targ_archs="$targ_archs bfd_i386_arch" |
353 | ;; | |
658f2588 | 354 | armeb-*-netbsdelf*) |
6d00b590 | 355 | targ_defvec=arm_elf32_be_vec |
2ac93be7 | 356 | targ_selvecs="arm_elf32_le_vec" |
658f2588 | 357 | ;; |
61d0bc33 | 358 | arm-*-netbsdelf*) |
6d00b590 | 359 | targ_defvec=arm_elf32_le_vec |
2ac93be7 | 360 | targ_selvecs="arm_elf32_be_vec" |
021e3cc0 | 361 | ;; |
7e392df6 | 362 | arm-*-nto* | nto*arm*) |
6d00b590 AM |
363 | targ_defvec=arm_elf32_le_vec |
364 | targ_selvecs=arm_elf32_be_vec | |
a7c7b2ba | 365 | targ_cflags=-D__QNXTARGET__ |
7e392df6 | 366 | ;; |
361dff73 | 367 | arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*) |
6d00b590 AM |
368 | targ_defvec=arm_pe_wince_le_vec |
369 | targ_selvecs="arm_pe_wince_le_vec arm_pe_wince_be_vec arm_pei_wince_le_vec arm_pei_wince_be_vec" | |
17505c5c | 370 | targ_underscore=no |
ac4b3dd8 | 371 | targ_cflags="-DARM_WINCE -DARM_COFF_BUGFIX" |
17505c5c | 372 | ;; |
252b5132 | 373 | arm-*-pe*) |
6d00b590 AM |
374 | targ_defvec=arm_pe_le_vec |
375 | targ_selvecs="arm_pe_le_vec arm_pe_be_vec arm_pei_le_vec arm_pei_be_vec" | |
252b5132 RH |
376 | targ_underscore=yes |
377 | ;; | |
a2bea324 KS |
378 | arm-*-phoenix*) |
379 | targ_defvec=arm_elf32_le_vec | |
380 | targ_selvecs=arm_elf32_be_vec | |
381 | ;; | |
01e6c1a4 | 382 | armeb-*-elf | arm*b-*-freebsd* | arm*b-*-linux-* | armeb-*-eabi*) |
6d00b590 AM |
383 | targ_defvec=arm_elf32_be_vec |
384 | targ_selvecs=arm_elf32_le_vec | |
1bde2d57 | 385 | ;; |
8c5fc800 | 386 | arm-*-kaos*) |
6d00b590 AM |
387 | targ_defvec=arm_elf32_le_vec |
388 | targ_selvecs=arm_elf32_be_vec | |
42b5d0ea | 389 | ;; |
e59bc75b | 390 | arm-*-elf | arm*-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \ |
4e7fd91e | 391 | arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \ |
617a5ada | 392 | arm*-*-eabi* | arm-*-rtems* | arm*-*-uclinuxfdpiceabi) |
6d00b590 | 393 | targ_defvec=arm_elf32_le_vec |
617a5ada | 394 | targ_selvecs="arm_elf32_fdpic_le_vec arm_elf32_be_vec arm_elf32_fdpic_be_vec" |
252b5132 | 395 | ;; |
4e7fd91e | 396 | arm*-*-vxworks | arm*-*-windiss) |
6d00b590 AM |
397 | targ_defvec=arm_elf32_vxworks_le_vec |
398 | targ_selvecs=arm_elf32_vxworks_be_vec | |
4e7fd91e | 399 | ;; |
e5a52504 | 400 | arm*-*-symbianelf*) |
6d00b590 AM |
401 | targ_defvec=arm_elf32_symbian_le_vec |
402 | targ_selvecs=arm_elf32_symbian_be_vec | |
e5a52504 | 403 | ;; |
24c603fa | 404 | arm9e-*-elf) |
6d00b590 AM |
405 | targ_defvec=arm_elf32_le_vec |
406 | targ_selvecs=arm_elf32_be_vec | |
24c603fa | 407 | ;; |
252b5132 | 408 | |
adde6300 | 409 | avr-*-*) |
6d00b590 | 410 | targ_defvec=avr_elf32_vec |
adde6300 AM |
411 | ;; |
412 | ||
0f64bb02 | 413 | bfin-*-*) |
6d00b590 AM |
414 | targ_defvec=bfin_elf32_vec |
415 | targ_selvecs=bfin_elf32_fdpic_vec | |
48d502e1 | 416 | targ_underscore=yes |
0f64bb02 CM |
417 | ;; |
418 | ||
252b5132 RH |
419 | c30-*-*aout* | tic30-*-*aout*) |
420 | targ_defvec=tic30_aout_vec | |
421 | ;; | |
422 | c30-*-*coff* | tic30-*-*coff*) | |
423 | targ_defvec=tic30_coff_vec | |
424 | ;; | |
425 | ||
850d84f6 | 426 | c4x-*-*coff* | tic4x-*-*coff*) |
026df7c5 NC |
427 | targ_defvec=tic4x_coff1_vec |
428 | targ_selvecs="tic4x_coff1_beh_vec tic4x_coff2_vec tic4x_coff2_beh_vec tic4x_coff0_vec tic4x_coff0_beh_vec" | |
429 | targ_underscore=yes | |
430 | ;; | |
431 | ||
81635ce4 TW |
432 | c54x*-*-*coff* | tic54x-*-*coff*) |
433 | targ_defvec=tic54x_coff1_vec | |
434 | targ_selvecs="tic54x_coff1_beh_vec tic54x_coff2_vec tic54x_coff2_beh_vec tic54x_coff0_vec tic54x_coff0_beh_vec" | |
435 | targ_underscore=yes | |
436 | ;; | |
437 | ||
bab4becb | 438 | cr16-*-elf* | cr16*-*-uclinux*) |
6d00b590 | 439 | targ_defvec=cr16_elf32_vec |
3d3d428f NC |
440 | targ_underscore=yes |
441 | ;; | |
442 | ||
0949843d | 443 | cr16c-*-elf*) |
6d00b590 | 444 | targ_defvec=cr16c_elf32_vec |
0949843d NC |
445 | targ_underscore=yes |
446 | ;; | |
447 | ||
56fbd041 | 448 | #ifdef BFD64 |
875ffa3e | 449 | cris-*-* | crisv32-*-*) |
06c15ad7 | 450 | targ_defvec=cris_aout_vec |
fdef3943 | 451 | targ_selvecs="cris_elf32_us_vec cris_elf32_vec" |
875ffa3e AM |
452 | case "${targ}" in |
453 | *-*-linux*) ;; | |
454 | *) targ_underscore=yes ;; | |
455 | esac | |
56fbd041 | 456 | want64=true |
06c15ad7 | 457 | ;; |
56fbd041 | 458 | #endif |
06c15ad7 | 459 | |
1fe1f39c | 460 | crx-*-elf*) |
6d00b590 | 461 | targ_defvec=crx_elf32_vec |
1fe1f39c NC |
462 | targ_underscore=yes |
463 | ;; | |
464 | ||
b8891f8d AJ |
465 | csky-*-elf* | csky-*-linux* ) |
466 | targ_defvec=csky_elf32_be_vec | |
467 | targ_selvecs="csky_elf32_be_vec csky_elf32_le_vec" | |
468 | ;; | |
469 | ||
252b5132 | 470 | d10v-*-*) |
6d00b590 | 471 | targ_defvec=d10v_elf32_vec |
252b5132 RH |
472 | ;; |
473 | ||
d172d4ba | 474 | dlx-*-elf*) |
6d00b590 AM |
475 | targ_defvec=dlx_elf32_be_vec |
476 | targ_selvecs="dlx_elf32_be_vec" | |
d172d4ba NC |
477 | ;; |
478 | ||
252b5132 | 479 | d30v-*-*) |
6d00b590 | 480 | targ_defvec=d30v_elf32_vec |
252b5132 RH |
481 | ;; |
482 | ||
319c2dbe | 483 | epiphany-*-*) |
6d00b590 | 484 | targ_defvec=epiphany_elf32_vec |
bdd32e03 | 485 | targ_underscore=yes |
cfb8c092 NC |
486 | ;; |
487 | ||
ebff6cd5 | 488 | fido-*-elf* ) |
6d00b590 | 489 | targ_defvec=m68k_elf32_vec |
ebff6cd5 KH |
490 | ;; |
491 | ||
252b5132 | 492 | fr30-*-elf) |
6d00b590 | 493 | targ_defvec=fr30_elf32_vec |
252b5132 RH |
494 | ;; |
495 | ||
43850d5b | 496 | frv-*-elf) |
6d00b590 AM |
497 | targ_defvec=frv_elf32_vec |
498 | targ_selvecs=frv_elf32_fdpic_vec | |
4e5ba5b7 DB |
499 | ;; |
500 | ||
43850d5b | 501 | frv-*-*linux*) |
6d00b590 AM |
502 | targ_defvec=frv_elf32_fdpic_vec |
503 | targ_selvecs=frv_elf32_vec | |
43850d5b | 504 | ;; |
252b5132 | 505 | |
730fbaf8 | 506 | moxie-*-elf | moxie-*-rtems* | moxie-*-uclinux) |
6d00b590 AM |
507 | targ_defvec=moxie_elf32_be_vec |
508 | targ_selvecs=moxie_elf32_le_vec | |
20135e4c NC |
509 | ;; |
510 | ||
48494700 AG |
511 | moxie-*-moxiebox*) |
512 | targ_defvec=moxie_elf32_le_vec | |
513 | ;; | |
514 | ||
9a813b7a | 515 | h8300*-*-elf | h8300*-*-rtems*) |
6d00b590 | 516 | targ_defvec=h8300_elf32_vec |
e01b0e69 JR |
517 | targ_underscore=yes |
518 | ;; | |
519 | ||
5518c738 YS |
520 | h8300*-*-linux*) |
521 | targ_defvec=h8300_elf32_linux_vec | |
522 | ;; | |
523 | ||
60bcf0fa | 524 | #ifdef BFD64 |
ed84e695 | 525 | hppa*64*-*-linux-*) |
6d00b590 AM |
526 | targ_defvec=hppa_elf64_linux_vec |
527 | targ_selvecs=hppa_elf64_vec | |
314e9a4e | 528 | want64=true |
edd21aca | 529 | ;; |
d1dab720 | 530 | hppa*64*-*-hpux11*) |
6d00b590 AM |
531 | targ_defvec=hppa_elf64_vec |
532 | targ_selvecs=hppa_elf64_linux_vec | |
e59db122 | 533 | targ_cflags=-DHPUX_LARGE_AR_IDS |
314e9a4e | 534 | want64=true |
e59db122 JL |
535 | ;; |
536 | #endif | |
edd21aca | 537 | |
ed84e695 | 538 | hppa*-*-linux-*) |
6d00b590 AM |
539 | targ_defvec=hppa_elf32_linux_vec |
540 | targ_selvecs=hppa_elf32_vec | |
d952f17a | 541 | ;; |
e7fbc2bf | 542 | hppa*-*-netbsd*) |
6d00b590 AM |
543 | targ_defvec=hppa_elf32_nbsd_vec |
544 | targ_selvecs="hppa_elf32_vec hppa_elf32_linux_vec" | |
e7fbc2bf | 545 | ;; |
7e4e2059 | 546 | hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4* | hppa*-*-openbsd*) |
6d00b590 AM |
547 | targ_defvec=hppa_elf32_vec |
548 | targ_selvecs=hppa_elf32_linux_vec | |
edd21aca AM |
549 | ;; |
550 | ||
252b5132 | 551 | hppa*-*-bsd*) |
6d00b590 AM |
552 | targ_defvec=hppa_som_vec |
553 | targ_selvecs=hppa_elf32_vec | |
e59db122 | 554 | ;; |
252b5132 | 555 | hppa*-*-hpux* | hppa*-*-hiux* | hppa*-*-mpeix*) |
6d00b590 | 556 | targ_defvec=hppa_som_vec |
252b5132 RH |
557 | ;; |
558 | hppa*-*-osf*) | |
6d00b590 AM |
559 | targ_defvec=hppa_som_vec |
560 | targ_selvecs=hppa_elf32_vec | |
e59db122 | 561 | ;; |
252b5132 | 562 | |
c65c21e1 | 563 | i[3-7]86-*-elf* | i[3-7]86-*-rtems*) |
6d00b590 | 564 | targ_defvec=i386_elf32_vec |
bf64a951 | 565 | targ_selvecs="iamcu_elf32_vec i386_coff_vec" |
252b5132 | 566 | ;; |
d2b2c203 | 567 | i[3-7]86-*-solaris2*) |
6d00b590 | 568 | targ_defvec=i386_elf32_sol2_vec |
d00c2bc9 L |
569 | targ_selvecs="iamcu_elf32_vec i386_coff_vec i386_pei_vec" |
570 | targ64_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec x86_64_pei_vec" | |
d2b2c203 DJ |
571 | want64=true |
572 | ;; | |
00b2bfc1 NC |
573 | #ifdef BFD64 |
574 | x86_64-*-solaris2*) | |
6d00b590 | 575 | targ_defvec=i386_elf32_sol2_vec |
d00c2bc9 | 576 | targ_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec" |
00b2bfc1 NC |
577 | want64=true |
578 | ;; | |
579 | #endif | |
80c7c40a | 580 | i[3-7]86-*-kaos*) |
6d00b590 AM |
581 | targ_defvec=i386_elf32_vec |
582 | targ_selvecs=i386_elf32_vec | |
42b5d0ea | 583 | ;; |
80c7c40a | 584 | i[3-7]86-*-nto*) |
6d00b590 | 585 | targ_defvec=i386_elf32_vec |
bf64a951 | 586 | targ_selvecs="iamcu_elf32_vec i386_coff_vec" |
caf47ea6 | 587 | ;; |
80c7c40a | 588 | i[3-7]86-*-aros*) |
6d00b590 | 589 | targ_defvec=i386_elf32_vec |
bf64a951 | 590 | targ_selvecs=iamcu_elf32_vec |
da896d3f | 591 | ;; |
18c1668c | 592 | i[3-7]86-*-dicos*) |
6d00b590 | 593 | targ_defvec=i386_elf32_vec |
bf64a951 | 594 | targ_selvecs=iamcu_elf32_vec |
6d00b590 | 595 | targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec" |
18c1668c | 596 | ;; |
7e4e2059 | 597 | *-*-msdosdjgpp* | *-*-go32* ) |
6d00b590 AM |
598 | targ_defvec=i386_coff_go32_vec |
599 | targ_selvecs="i386_coff_go32stubbed_vec i386_aout_vec" | |
252b5132 | 600 | ;; |
80c7c40a | 601 | i[3-7]86-*-darwin* | i[3-7]86-*-macos10* | i[3-7]86-*-rhapsody*) |
6d00b590 | 602 | targ_defvec=i386_mach_o_vec |
618b7301 | 603 | targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec" |
6d00b590 | 604 | targ64_selvecs=x86_64_mach_o_vec |
618b7301 | 605 | targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch" |
b1c58715 | 606 | ;; |
80c7c40a | 607 | i[3-7]86-*-bsd*) |
6d00b590 | 608 | targ_defvec=i386_aout_bsd_vec |
252b5132 RH |
609 | targ_underscore=yes |
610 | ;; | |
5b806d27 | 611 | i[3-7]86-*-dragonfly*) |
6d00b590 | 612 | targ_defvec=i386_elf32_vec |
bf64a951 | 613 | targ_selvecs=iamcu_elf32_vec |
6d00b590 | 614 | targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec" |
5b806d27 | 615 | ;; |
5b806d27 | 616 | i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu) |
6d00b590 | 617 | targ_defvec=i386_elf32_fbsd_vec |
bf64a951 | 618 | targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_pei_vec i386_coff_vec" |
6d00b590 | 619 | targ64_selvecs="x86_64_elf64_fbsd_vec x86_64_elf64_vec x86_64_pei_vec l1om_elf64_vec l1om_elf64_fbsd_vec k1om_elf64_vec k1om_elf64_fbsd_vec" |
4ada7262 DB |
620 | # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling. |
621 | case "${targ}" in | |
80c7c40a | 622 | i[3-7]86-*-freebsd3* | i[3-7]86-*-freebsd4 | i[3-7]86-*-freebsd4.0*) |
4ada7262 DB |
623 | targ_cflags=-DOLD_FREEBSD_ABI_LABEL ;; |
624 | esac | |
7a50d4ac | 625 | ;; |
4615568e | 626 | i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu) |
6d00b590 | 627 | targ_defvec=i386_elf32_vec |
c65c21e1 | 628 | targ_selvecs="iamcu_elf32_vec" |
6d00b590 | 629 | targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec" |
0af288f3 | 630 | ;; |
80c7c40a | 631 | i[3-7]86-*-netbsdpe*) |
6d00b590 | 632 | targ_defvec=i386_pe_vec |
bf64a951 | 633 | targ_selvecs="i386_pe_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec" |
436e8db0 | 634 | ;; |
7d3f158f | 635 | i[3-7]86-*-openbsd*) |
6d00b590 | 636 | targ_defvec=i386_elf32_vec |
c65c21e1 | 637 | targ_selvecs="iamcu_elf32_vec" |
252b5132 | 638 | ;; |
ed84e695 | 639 | i[3-7]86-*-linux-*) |
6d00b590 | 640 | targ_defvec=i386_elf32_vec |
c65c21e1 | 641 | targ_selvecs="iamcu_elf32_vec i386_pei_vec" |
6d00b590 | 642 | targ64_selvecs="x86_64_elf64_vec x86_64_elf32_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec" |
252b5132 | 643 | ;; |
a27e4371 | 644 | i[3-7]86-*-nacl*) |
6d00b590 AM |
645 | targ_defvec=i386_elf32_nacl_vec |
646 | targ_selvecs="arm_elf32_nacl_be_vec arm_elf32_nacl_le_vec" | |
647 | targ64_selvecs="x86_64_elf64_nacl_vec x86_64_elf32_nacl_vec" | |
b38cadfb | 648 | targ_archs="$targ_archs bfd_arm_arch" |
a27e4371 | 649 | ;; |
f2e2d2f5 JS |
650 | i[3-7]86-*-redox*) |
651 | targ_defvec=i386_elf32_vec | |
652 | targ_selvecs= | |
653 | targ64_selvecs=x86_64_elf64_vec | |
654 | ;; | |
956cd1d6 | 655 | #ifdef BFD64 |
6036f486 ES |
656 | x86_64-*-cloudabi*) |
657 | targ_defvec=x86_64_elf64_cloudabi_vec | |
658 | want64=true | |
659 | ;; | |
f96fc22a | 660 | x86_64-*-darwin*) |
6d00b590 AM |
661 | targ_defvec=x86_64_mach_o_vec |
662 | targ_selvecs="i386_mach_o_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec" | |
618b7301 | 663 | targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch" |
f96fc22a TG |
664 | want64=true |
665 | ;; | |
18c1668c | 666 | x86_64-*-dicos*) |
6d00b590 | 667 | targ_defvec=x86_64_elf64_vec |
bf64a951 | 668 | targ_selvecs="i386_elf32_vec iamcu_elf32_vec l1om_elf64_vec k1om_elf64_vec" |
18c1668c PA |
669 | want64=true |
670 | ;; | |
d5451cd4 | 671 | x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia) |
6d00b590 | 672 | targ_defvec=x86_64_elf64_vec |
bf64a951 | 673 | targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec" |
421acf18 AC |
674 | case "${targ}" in |
675 | x86_64-*-rtems*) | |
676 | targ_selvecs="${targ_selvecs} x86_64_pei_vec" | |
677 | esac | |
314e9a4e | 678 | want64=true |
34723071 | 679 | ;; |
5b806d27 | 680 | x86_64-*-dragonfly*) |
6d00b590 | 681 | targ_defvec=x86_64_elf64_vec |
bf64a951 | 682 | targ_selvecs="i386_elf32_vec iamcu_elf32_vec l1om_elf64_vec k1om_elf64_vec" |
5b806d27 NC |
683 | want64=true |
684 | ;; | |
13dfd2d0 | 685 | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) |
6d00b590 | 686 | targ_defvec=x86_64_elf64_fbsd_vec |
bf64a951 | 687 | targ_selvecs="i386_elf32_fbsd_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec i386_elf32_vec x86_64_elf64_vec l1om_elf64_vec l1om_elf64_fbsd_vec k1om_elf64_vec k1om_elf64_fbsd_vec" |
314e9a4e | 688 | want64=true |
8a8b2d4b | 689 | ;; |
85cfd8d3 | 690 | x86_64-*-netbsd* | x86_64-*-openbsd*) |
6d00b590 | 691 | targ_defvec=x86_64_elf64_vec |
c65c21e1 | 692 | targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec" |
314e9a4e | 693 | want64=true |
d4af9775 | 694 | ;; |
ed84e695 | 695 | x86_64-*-linux-*) |
6d00b590 | 696 | targ_defvec=x86_64_elf64_vec |
c65c21e1 | 697 | targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec" |
314e9a4e | 698 | want64=true |
8d88c4ca | 699 | ;; |
8059fb19 | 700 | x86_64-*-nacl*) |
6d00b590 AM |
701 | targ_defvec=x86_64_elf32_nacl_vec |
702 | targ_selvecs="i386_elf32_nacl_vec x86_64_elf64_nacl_vec arm_elf32_nacl_be_vec arm_elf32_nacl_le_vec" | |
b38cadfb | 703 | targ_archs="$targ_archs bfd_arm_arch" |
8059fb19 RM |
704 | want64=true |
705 | ;; | |
48385e38 | 706 | x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep | x86_64-*-cygwin) |
6d00b590 | 707 | targ_defvec=x86_64_pe_vec |
bf64a951 | 708 | targ_selvecs="x86_64_pe_vec x86_64_pei_vec x86_64_pe_be_vec x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec i386_pe_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec" |
99ad8390 | 709 | want64=true |
ef72a554 | 710 | targ_underscore=no |
99ad8390 | 711 | ;; |
79056107 | 712 | x86_64-*-rdos*) |
6d00b590 | 713 | targ_defvec=x86_64_elf64_vec |
79056107 AM |
714 | want64=true |
715 | ;; | |
f2e2d2f5 JS |
716 | x86_64-*-redox*) |
717 | targ_defvec=x86_64_elf64_vec | |
718 | targ_selvecs=i386_elf32_vec | |
719 | want64=true | |
720 | ;; | |
8d88c4ca | 721 | #endif |
80c7c40a | 722 | i[3-7]86-*-lynxos*) |
6d00b590 | 723 | targ_defvec=i386_elf32_vec |
bf64a951 | 724 | targ_selvecs="iamcu_elf32_vec i386_coff_lynx_vec i386_aout_lynx_vec" |
252b5132 | 725 | ;; |
80c7c40a | 726 | i[3-7]86-*-gnu*) |
6d00b590 | 727 | targ_defvec=i386_elf32_vec |
bf64a951 | 728 | targ_selvecs=iamcu_elf32_vec |
252b5132 | 729 | ;; |
80c7c40a | 730 | i[3-7]86-*-msdos*) |
6d00b590 AM |
731 | targ_defvec=i386_aout_vec |
732 | targ_selvecs=i386_msdos_vec | |
252b5132 | 733 | ;; |
80c7c40a | 734 | i[3-7]86-*-moss*) |
6d00b590 | 735 | targ_defvec=i386_elf32_vec |
bf64a951 | 736 | targ_selvecs="iamcu_elf32_vec i386_msdos_vec i386_aout_vec" |
252b5132 | 737 | ;; |
80c7c40a | 738 | i[3-7]86-*-beospe*) |
6d00b590 AM |
739 | targ_defvec=i386_pe_vec |
740 | targ_selvecs="i386_pe_vec i386_pei_vec" | |
252b5132 | 741 | ;; |
80c7c40a | 742 | i[3-7]86-*-beoself* | i[3-7]86-*-beos*) |
6d00b590 | 743 | targ_defvec=i386_elf32_vec |
bf64a951 | 744 | targ_selvecs="iamcu_elf32_vec i386_pe_vec i386_pei_vec" |
252b5132 | 745 | ;; |
80c7c40a | 746 | i[3-7]86-*-interix*) |
6d00b590 AM |
747 | targ_defvec=i386_pei_vec |
748 | targ_selvecs="i386_pe_vec" | |
0717ebb7 ILT |
749 | # FIXME: This should eventually be checked at runtime. |
750 | targ_cflags=-DSTRICT_PE_FORMAT | |
7d923127 | 751 | ;; |
b59bea8a | 752 | i[3-7]86-*-rdos*) |
6d00b590 | 753 | targ_defvec=i386_elf32_vec |
bf64a951 | 754 | targ_selvecs="iamcu_elf32_vec i386_coff_vec" |
b59bea8a | 755 | ;; |
80c7c40a | 756 | i[3-7]86-*-mingw32* | i[3-7]86-*-cygwin* | i[3-7]86-*-winnt | i[3-7]86-*-pe) |
6d00b590 | 757 | targ_defvec=i386_pe_vec |
bf64a951 | 758 | targ_selvecs="i386_pe_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec" |
db3d41a8 | 759 | targ_underscore=yes |
252b5132 | 760 | ;; |
e26f8bd9 | 761 | i[3-7]86-*-vxworks*) |
6d00b590 | 762 | targ_defvec=i386_elf32_vxworks_vec |
957ccf44 | 763 | targ_underscore=yes |
ac352105 | 764 | ;; |
80c7c40a | 765 | i[3-7]86-*-chaos) |
6d00b590 | 766 | targ_defvec=i386_elf32_vec |
bf64a951 | 767 | targ_selfvecs="iamcu_elf32_vec i386chaos_vec" |
59ff2774 | 768 | ;; |
252b5132 | 769 | |
2f5f29ca AJ |
770 | ia16-*-elf) |
771 | targ_defvec=i386_elf32_vec | |
772 | targ_selvecs="i386_msdos_vec i386_aout_vec" | |
773 | ;; | |
774 | ||
cf88bb9f | 775 | ip2k-*-elf) |
6d00b590 | 776 | targ_defvec=ip2k_elf32_vec |
bdd32e03 | 777 | targ_underscore=yes |
cf88bb9f NC |
778 | ;; |
779 | ||
a75473eb | 780 | iq2000-*-elf) |
6d00b590 | 781 | targ_defvec=iq2000_elf32_vec |
a75473eb SC |
782 | ;; |
783 | ||
3baa454d | 784 | lm32-*-elf | lm32-*-rtems*) |
6d00b590 AM |
785 | targ_defvec=lm32_elf32_vec |
786 | targ_selvecs=lm32_elf32_fdpic_vec | |
84e94c90 | 787 | ;; |
a27e4371 | 788 | |
84e94c90 | 789 | lm32-*-*linux*) |
6d00b590 AM |
790 | targ_defvec=lm32_elf32_fdpic_vec |
791 | targ_selvecs=lm32_elf32_vec | |
84e94c90 | 792 | ;; |
a27e4371 | 793 | |
8a2a2dbb | 794 | m32c-*-elf | m32c-*-rtems*) |
6d00b590 | 795 | targ_defvec=m32c_elf32_vec |
bdd32e03 | 796 | targ_underscore=yes |
e729279b NC |
797 | ;; |
798 | ||
6edf0760 | 799 | m32r*le-*-linux*) |
6d00b590 AM |
800 | targ_defvec=m32r_elf32_linux_le_vec |
801 | targ_selvecs="m32r_elf32_linux_vec m32r_elf32_linux_le_vec" | |
6edf0760 | 802 | ;; |
6edf0760 | 803 | m32r*-*-linux*) |
6d00b590 AM |
804 | targ_defvec=m32r_elf32_linux_vec |
805 | targ_selvecs="m32r_elf32_linux_vec m32r_elf32_linux_le_vec" | |
6edf0760 | 806 | ;; |
6edf0760 | 807 | m32r*le-*-*) |
6d00b590 AM |
808 | targ_defvec=m32r_elf32_le_vec |
809 | targ_selvecs="m32r_elf32_vec m32r_elf32_le_vec" | |
6edf0760 | 810 | ;; |
252b5132 | 811 | m32r-*-*) |
6d00b590 | 812 | targ_defvec=m32r_elf32_vec |
252b5132 RH |
813 | ;; |
814 | ||
60bcf0fa | 815 | m68hc11-*-* | m6811-*-*) |
6d00b590 AM |
816 | targ_defvec=m68hc11_elf32_vec |
817 | targ_selvecs="m68hc11_elf32_vec m68hc12_elf32_vec" | |
60bcf0fa NC |
818 | ;; |
819 | m68hc12-*-* | m6812-*-*) | |
6d00b590 AM |
820 | targ_defvec=m68hc12_elf32_vec |
821 | targ_selvecs="m68hc11_elf32_vec m68hc12_elf32_vec" | |
60bcf0fa NC |
822 | ;; |
823 | ||
dc12032b | 824 | m68*-*-*) |
6d00b590 | 825 | targ_defvec=m68k_elf32_vec |
252b5132 RH |
826 | ;; |
827 | ||
7b4ae824 JD |
828 | s12z-*-*) |
829 | targ_defvec=s12z_elf32_vec | |
830 | ;; | |
252b5132 | 831 | mcore-*-elf) |
6d00b590 AM |
832 | targ_defvec=mcore_elf32_be_vec |
833 | targ_selvecs="mcore_elf32_be_vec mcore_elf32_le_vec" | |
252b5132 RH |
834 | ;; |
835 | mcore-*-pe) | |
6d00b590 AM |
836 | targ_defvec=mcore_pe_be_vec |
837 | targ_selvecs="mcore_pe_be_vec mcore_pe_le_vec mcore_pei_be_vec mcore_pei_le_vec" | |
252b5132 RH |
838 | ;; |
839 | ||
d9352518 | 840 | mep-*-elf) |
6d00b590 AM |
841 | targ_defvec=mep_elf32_vec |
842 | targ_selvecs=mep_elf32_le_vec | |
d9352518 DB |
843 | ;; |
844 | ||
a3c62988 | 845 | metag-*-*) |
6d00b590 | 846 | targ_defvec=metag_elf32_vec |
a3c62988 NC |
847 | targ_underscore=yes |
848 | ;; | |
849 | ||
f23200ad | 850 | microblazeel*-*) |
6d00b590 AM |
851 | targ_defvec=microblaze_elf32_le_vec |
852 | targ_selvecs=microblaze_elf32_vec | |
f23200ad ME |
853 | ;; |
854 | ||
7ba29e2a | 855 | microblaze*-*) |
6d00b590 AM |
856 | targ_defvec=microblaze_elf32_vec |
857 | targ_selvecs=microblaze_elf32_le_vec | |
7ba29e2a NC |
858 | ;; |
859 | ||
42429eac | 860 | #ifdef BFD64 |
3cb60568 | 861 | mips*el-*-netbsd*) |
6d00b590 | 862 | targ_defvec=mips_elf32_trad_le_vec |
8e415ce8 | 863 | targ_selvecs="mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" |
252b5132 | 864 | ;; |
102ab332 | 865 | mips*-*-netbsd*) |
6d00b590 | 866 | targ_defvec=mips_elf32_trad_be_vec |
8e415ce8 | 867 | targ_selvecs="mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" |
252b5132 | 868 | ;; |
252b5132 | 869 | mips*-*-irix6*) |
6d00b590 AM |
870 | targ_defvec=mips_elf32_n_be_vec |
871 | targ_selvecs="mips_elf32_n_le_vec mips_elf32_be_vec mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec" | |
252b5132 | 872 | ;; |
e407c74b | 873 | mips64*-ps2-elf*) |
6d00b590 AM |
874 | targ_defvec=mips_elf32_n_le_vec |
875 | targ_selvecs="mips_elf32_n_le_vec mips_elf32_n_be_vec mips_elf32_be_vec mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec" | |
e407c74b | 876 | ;; |
e407c74b | 877 | mips*-ps2-elf*) |
6d00b590 AM |
878 | targ_defvec=mips_elf32_le_vec |
879 | targ_selvecs="mips_elf32_be_vec mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec" | |
e407c74b | 880 | ;; |
252b5132 | 881 | mips*-*-irix5*) |
6d00b590 | 882 | targ_defvec=mips_elf32_be_vec |
8e415ce8 | 883 | targ_selvecs="mips_elf32_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" |
252b5132 | 884 | ;; |
0a44bf69 | 885 | mips*el-*-vxworks*) |
6d00b590 AM |
886 | targ_defvec=mips_elf32_vxworks_le_vec |
887 | targ_selvecs="mips_elf32_le_vec mips_elf32_vxworks_be_vec mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec" | |
0a44bf69 RS |
888 | ;; |
889 | mips*-*-vxworks*) | |
6d00b590 AM |
890 | targ_defvec=mips_elf32_vxworks_be_vec |
891 | targ_selvecs="mips_elf32_be_vec mips_elf32_vxworks_le_vec mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec" | |
0a44bf69 | 892 | ;; |
a27e4371 | 893 | mips*el-sde-elf*) |
6d00b590 AM |
894 | targ_defvec=mips_elf32_trad_le_vec |
895 | targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" | |
a27e4371 | 896 | ;; |
a9d58c06 | 897 | mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) |
6d00b590 AM |
898 | targ_defvec=mips_elf32_trad_be_vec |
899 | targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" | |
4be041b2 | 900 | ;; |
9cc0123f | 901 | mips*el-*-elf* | mips*-*-chorus*) |
6d00b590 AM |
902 | targ_defvec=mips_elf32_le_vec |
903 | targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec" | |
252b5132 | 904 | ;; |
9cc0123f | 905 | mips*-*-elf* | mips*-*-rtems* | mips*-*-windiss | mips*-*-none) |
6d00b590 AM |
906 | targ_defvec=mips_elf32_be_vec |
907 | targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec" | |
252b5132 | 908 | ;; |
5f417ca3 | 909 | mips64*-*-openbsd*) |
6d00b590 AM |
910 | targ_defvec=mips_elf64_trad_be_vec |
911 | targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec" | |
5f417ca3 | 912 | ;; |
4008bd9b | 913 | mips*el-*-openbsd*) |
6d00b590 | 914 | targ_defvec=mips_elf32_le_vec |
8e415ce8 | 915 | targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_le_vec mips_ecoff_be_vec" |
252b5132 | 916 | ;; |
fdbafa10 | 917 | mips*-*-openbsd*) |
6d00b590 | 918 | targ_defvec=mips_elf32_be_vec |
8e415ce8 | 919 | targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec" |
252b5132 | 920 | ;; |
4008bd9b | 921 | mips64*el-*-linux*) |
6d00b590 AM |
922 | targ_defvec=mips_elf32_ntrad_le_vec |
923 | targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec" | |
4008bd9b | 924 | ;; |
4008bd9b | 925 | mips64*-*-linux*) |
6d00b590 AM |
926 | targ_defvec=mips_elf32_ntrad_be_vec |
927 | targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" | |
4008bd9b | 928 | ;; |
36b45482 | 929 | mips*el-*-linux*) |
6d00b590 | 930 | targ_defvec=mips_elf32_trad_le_vec |
8e415ce8 | 931 | targ_selvecs="mips_elf32_trad_be_vec mips_ecoff_le_vec mips_ecoff_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec" |
36b45482 | 932 | ;; |
4008bd9b | 933 | mips*-*-linux*) |
6d00b590 | 934 | targ_defvec=mips_elf32_trad_be_vec |
8e415ce8 | 935 | targ_selvecs="mips_elf32_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec" |
fdbafa10 | 936 | ;; |
aeffff67 RS |
937 | mips64*el-*-freebsd* | mips64*el-*-kfreebsd*-gnu) |
938 | # FreeBSD vectors | |
6d00b590 AM |
939 | targ_defvec=mips_elf32_ntradfbsd_le_vec |
940 | targ_selvecs="mips_elf32_ntradfbsd_be_vec mips_elf32_tradfbsd_le_vec mips_elf32_tradfbsd_be_vec mips_elf64_tradfbsd_le_vec mips_elf64_tradfbsd_be_vec" | |
aeffff67 | 941 | # Generic vectors |
6d00b590 | 942 | targ_selvecs="${targ_selvecs} mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec" |
aeffff67 RS |
943 | ;; |
944 | mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu) | |
945 | # FreeBSD vectors | |
6d00b590 AM |
946 | targ_defvec=mips_elf32_ntradfbsd_be_vec |
947 | targ_selvecs="mips_elf32_ntradfbsd_le_vec mips_elf32_tradfbsd_be_vec mips_elf32_tradfbsd_le_vec mips_elf64_tradfbsd_be_vec mips_elf64_tradfbsd_le_vec" | |
aeffff67 | 948 | # Generic vectors |
6d00b590 | 949 | targ_selvecs="${targ_selvecs} mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec" |
aeffff67 | 950 | ;; |
aeffff67 RS |
951 | mips*el-*-freebsd* | mips*el-*-kfreebsd*-gnu) |
952 | # FreeBSD vectors | |
6d00b590 AM |
953 | targ_defvec=mips_elf32_tradfbsd_le_vec |
954 | targ_selvecs="mips_elf32_tradfbsd_be_vec mips_elf32_ntradfbsd_le_vec mips_elf64_tradfbsd_le_vec mips_elf32_ntradfbsd_be_vec mips_elf64_tradfbsd_be_vec" | |
aeffff67 | 955 | # Generic vectors |
6d00b590 | 956 | targ_selvecs="${targ_selvecs} mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec" |
aeffff67 RS |
957 | ;; |
958 | mips*-*-freebsd* | mips*-*-kfreebsd*-gnu) | |
959 | # FreeBSD vectors | |
6d00b590 AM |
960 | targ_defvec=mips_elf32_tradfbsd_be_vec |
961 | targ_selvecs="mips_elf32_tradfbsd_le_vec mips_elf32_ntradfbsd_be_vec mips_elf64_tradfbsd_be_vec mips_elf32_ntradfbsd_le_vec mips_elf64_tradfbsd_le_vec" | |
aeffff67 | 962 | # Generic vectors |
6d00b590 | 963 | targ_selvecs="${targ_selvecs} mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec" |
aeffff67 | 964 | ;; |
3c3bdf30 | 965 | mmix-*-*) |
6d00b590 AM |
966 | targ_defvec=mmix_elf64_vec |
967 | targ_selvecs=mmix_mmo_vec | |
314e9a4e | 968 | want64=true |
3c3bdf30 NC |
969 | ;; |
970 | #endif | |
252b5132 | 971 | mn10200-*-*) |
6d00b590 | 972 | targ_defvec=mn10200_elf32_vec |
bdd32e03 | 973 | targ_underscore=yes |
252b5132 RH |
974 | ;; |
975 | ||
976 | mn10300-*-*) | |
6d00b590 | 977 | targ_defvec=mn10300_elf32_vec |
73c3cd1c | 978 | targ_underscore=yes |
252b5132 RH |
979 | ;; |
980 | ||
4970f871 | 981 | mt-*-elf) |
6d00b590 | 982 | targ_defvec=mt_elf32_vec |
de33e640 AH |
983 | ;; |
984 | ||
2469cfa2 | 985 | msp430-*-*) |
6d00b590 AM |
986 | targ_defvec=msp430_elf32_vec |
987 | targ_selvecs=msp430_elf32_ti_vec | |
2469cfa2 NC |
988 | ;; |
989 | ||
35c08157 | 990 | nds32*le-*-linux*) |
6d00b590 AM |
991 | targ_defvec=nds32_elf32_linux_le_vec |
992 | targ_selvecs=nds32_elf32_linux_be_vec | |
35c08157 KLC |
993 | ;; |
994 | ||
995 | nds32*be-*-linux*) | |
6d00b590 AM |
996 | targ_defvec=nds32_elf32_linux_be_vec |
997 | targ_selvecs=nds32_elf32_linux_le_vec | |
35c08157 KLC |
998 | ;; |
999 | ||
1000 | nds32*le-*-*) | |
6d00b590 AM |
1001 | targ_defvec=nds32_elf32_le_vec |
1002 | targ_selvecs=nds32_elf32_be_vec | |
35c08157 KLC |
1003 | ;; |
1004 | ||
1005 | nds32*be-*-*) | |
6d00b590 AM |
1006 | targ_defvec=nds32_elf32_be_vec |
1007 | targ_selvecs=nds32_elf32_le_vec | |
35c08157 KLC |
1008 | ;; |
1009 | ||
fe944acf FT |
1010 | #ifdef BFD64 |
1011 | nfp-*-*) | |
1012 | targ_defvec=nfp_elf64_vec | |
1013 | ;; | |
1014 | #endif | |
1015 | ||
252b5132 | 1016 | ns32k-pc532-mach* | ns32k-pc532-ux*) |
6d00b590 | 1017 | targ_defvec=ns32k_aout_pc532mach_vec |
252b5132 RH |
1018 | targ_underscore=yes |
1019 | ;; | |
1020 | ns32k-*-netbsd* | ns32k-*-lites* | ns32k-*-openbsd*) | |
6d00b590 | 1021 | targ_defvec=ns32k_aout_pc532nbsd_vec |
252b5132 RH |
1022 | targ_underscore=yes |
1023 | ;; | |
1024 | ||
36591ba1 | 1025 | nios2eb-*-*) |
6d00b590 AM |
1026 | targ_defvec=nios2_elf32_be_vec |
1027 | targ_selvecs=nios2_elf32_le_vec | |
36591ba1 SL |
1028 | ;; |
1029 | ||
1030 | nios2el-*-*) | |
6d00b590 AM |
1031 | targ_defvec=nios2_elf32_le_vec |
1032 | targ_selvecs=nios2_elf32_be_vec | |
36591ba1 SL |
1033 | ;; |
1034 | ||
1035 | nios2-*-*) | |
6d00b590 AM |
1036 | targ_defvec=nios2_elf32_le_vec |
1037 | targ_selvecs=nios2_elf32_be_vec | |
36591ba1 SL |
1038 | ;; |
1039 | ||
3d52a869 | 1040 | or1k-*-elf | or1k-*-linux* | or1k-*-rtems*) |
6d00b590 | 1041 | targ_defvec=or1k_elf32_vec |
3b16e843 NC |
1042 | ;; |
1043 | ||
0d6d4c82 | 1044 | or1knd-*-elf | or1knd-*-linux* | or1knd-*-rtems*) |
6d00b590 | 1045 | targ_defvec=or1k_elf32_vec |
3b16e843 NC |
1046 | ;; |
1047 | ||
e135f41b NC |
1048 | pdp11-*-*) |
1049 | targ_defvec=pdp11_aout_vec | |
1050 | targ_underscore=yes | |
1051 | ;; | |
1052 | ||
0bcb993b | 1053 | pj-*-*) |
6d00b590 AM |
1054 | targ_defvec=pj_elf32_vec |
1055 | targ_selvecs="pj_elf32_vec pj_elf32_le_vec" | |
0bcb993b ILT |
1056 | ;; |
1057 | ||
1058 | pjl-*-*) | |
6d00b590 | 1059 | targ_defvec=pj_elf32_le_vec |
bf64a951 | 1060 | targ_selvecs="pj_elf32_le_vec pj_elf32_vec i386_elf32_vec iamcu_elf32_vec" |
0bcb993b ILT |
1061 | ;; |
1062 | ||
9a9e2ca3 | 1063 | powerpc-*-aix5.[01] | rs6000-*-aix5.[01]) |
6d00b590 AM |
1064 | targ_defvec=rs6000_xcoff_vec |
1065 | targ_selvecs="rs6000_xcoff64_aix_vec" | |
f8fc3443 NC |
1066 | want64=true |
1067 | ;; | |
1068 | #ifdef BFD64 | |
9a9e2ca3 | 1069 | powerpc64-*-aix5.[01] | rs6000-*-aix5.[01]) |
6d00b590 AM |
1070 | targ_defvec=rs6000_xcoff64_aix_vec |
1071 | targ_selvecs="rs6000_xcoff_vec" | |
f8fc3443 NC |
1072 | want64=true |
1073 | ;; | |
1074 | #endif | |
9a9e2ca3 | 1075 | powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*) |
f8fc3443 | 1076 | targ_cflags=-DAIX_WEAK_SUPPORT |
6d00b590 AM |
1077 | targ_defvec=rs6000_xcoff_vec |
1078 | targ_selvecs="rs6000_xcoff64_aix_vec" | |
eb1e0e80 NC |
1079 | want64=true |
1080 | ;; | |
8f28b845 | 1081 | #ifdef BFD64 |
9a9e2ca3 | 1082 | powerpc64-*-aix[5-9]* | rs6000-*-aix[5-9]*) |
f8fc3443 | 1083 | targ_cflags=-DAIX_WEAK_SUPPORT |
6d00b590 AM |
1084 | targ_defvec=rs6000_xcoff64_aix_vec |
1085 | targ_selvecs="rs6000_xcoff_vec" | |
eb1e0e80 NC |
1086 | want64=true |
1087 | ;; | |
680f9d5c | 1088 | #endif |
eb1e0e80 | 1089 | |
4603e845 | 1090 | powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*) |
6d00b590 AM |
1091 | targ_defvec=rs6000_xcoff_vec |
1092 | targ64_selvecs=rs6000_xcoff64_vec | |
102ab332 | 1093 | case "${targ}" in |
7d3f158f | 1094 | *-*-aix4.[3456789]* | *-*-aix[56789]*) |
102ab332 | 1095 | want64=true;; |
3e36d993 TR |
1096 | *) |
1097 | targ_cflags=-DSMALL_ARCHIVE;; | |
102ab332 | 1098 | esac |
252b5132 | 1099 | ;; |
a5ac692b | 1100 | #ifdef BFD64 |
beb1bf64 | 1101 | powerpc64-*-aix*) |
6d00b590 AM |
1102 | targ_defvec=rs6000_xcoff64_vec |
1103 | targ_selvecs=rs6000_xcoff_vec | |
314e9a4e | 1104 | want64=true |
beb1bf64 | 1105 | ;; |
7b8e7dad | 1106 | powerpc64-*-freebsd*) |
6d00b590 AM |
1107 | targ_defvec=powerpc_elf64_fbsd_vec |
1108 | targ_selvecs="powerpc_elf64_vec powerpc_elf32_vec powerpc_elf32_fbsd_vec powerpc_elf32_le_vec rs6000_xcoff_vec rs6000_xcoff64_vec rs6000_xcoff64_aix_vec" | |
7b8e7dad AM |
1109 | want64=true |
1110 | ;; | |
db4ed121 NC |
1111 | powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux* | \ |
1112 | powerpc64-*-*bsd*) | |
6d00b590 AM |
1113 | targ_defvec=powerpc_elf64_vec |
1114 | targ_selvecs="powerpc_elf64_le_vec powerpc_elf32_vec powerpc_elf32_le_vec rs6000_xcoff_vec rs6000_xcoff64_vec rs6000_xcoff64_aix_vec" | |
314e9a4e | 1115 | want64=true |
5bd4f169 | 1116 | ;; |
49926cd0 AM |
1117 | powerpc64le-*-elf* | powerpcle-*-elf64* | powerpc64le-*-linux* | \ |
1118 | powerpc64le-*-*bsd*) | |
6d00b590 AM |
1119 | targ_defvec=powerpc_elf64_le_vec |
1120 | targ_selvecs="powerpc_elf64_vec powerpc_elf32_le_vec powerpc_elf32_vec rs6000_xcoff_vec rs6000_xcoff64_vec rs6000_xcoff64_aix_vec" | |
314e9a4e | 1121 | want64=true |
5bd4f169 | 1122 | ;; |
a5ac692b | 1123 | #endif |
7b8e7dad | 1124 | powerpc-*-*freebsd*) |
6d00b590 AM |
1125 | targ_defvec=powerpc_elf32_fbsd_vec |
1126 | targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_elf32_le_vec powerpc_boot_vec" | |
1127 | targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec powerpc_elf64_fbsd_vec" | |
7b8e7dad | 1128 | ;; |
252b5132 | 1129 | powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \ |
ed84e695 | 1130 | powerpc-*-solaris2* | powerpc-*-linux-* | powerpc-*-rtems* | \ |
9d8504b1 | 1131 | powerpc-*-chorus*) |
6d00b590 AM |
1132 | targ_defvec=powerpc_elf32_vec |
1133 | targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec powerpc_boot_vec" | |
1134 | targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec" | |
252b5132 | 1135 | ;; |
42b5d0ea | 1136 | powerpc-*-kaos*) |
6d00b590 AM |
1137 | targ_defvec=powerpc_elf32_vec |
1138 | targ_selvecs="powerpc_elf32_le_vec powerpc_boot_vec" | |
1139 | targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec" | |
42b5d0ea | 1140 | ;; |
b1c58715 AM |
1141 | powerpc-*-darwin* | powerpc-*-macos10* | powerpc-*-rhapsody*) |
1142 | targ_defvec=mach_o_be_vec | |
1143 | targ_selvecs="mach_o_be_vec mach_o_le_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec" | |
618b7301 | 1144 | targ_archs="$targ_archs bfd_i386_arch" |
b1c58715 | 1145 | ;; |
14bde378 | 1146 | powerpc-*-macos*) |
6d00b590 | 1147 | targ_defvec=powerpc_xcoff_vec |
252b5132 | 1148 | ;; |
b2d65c0b | 1149 | powerpc-*-lynxos*) |
6d00b590 AM |
1150 | targ_defvec=powerpc_elf32_vec |
1151 | targ_selvecs="rs6000_xcoff_vec" | |
b2d65c0b | 1152 | targ_cflags=-DSMALL_ARCHIVE |
7d3f158f | 1153 | ;; |
59bc061d | 1154 | powerpc-*-nto*) |
6d00b590 AM |
1155 | targ_defvec=powerpc_elf32_vec |
1156 | targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec powerpc_boot_vec" | |
59bc061d | 1157 | ;; |
9d8504b1 | 1158 | powerpc-*-vxworks* | powerpc-*-windiss*) |
6d00b590 AM |
1159 | targ_defvec=powerpc_elf32_vxworks_vec |
1160 | targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_elf32_le_vec powerpc_boot_vec" | |
1161 | targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec" | |
9d8504b1 | 1162 | ;; |
59bc061d | 1163 | powerpcle-*-nto*) |
6d00b590 AM |
1164 | targ_defvec=powerpc_elf32_le_vec |
1165 | targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_boot_vec" | |
59bc061d | 1166 | ;; |
252b5132 | 1167 | powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \ |
7e4e2059 | 1168 | powerpcle-*-solaris2* | powerpcle-*-linux-* | powerpcle-*-vxworks*) |
6d00b590 AM |
1169 | targ_defvec=powerpc_elf32_le_vec |
1170 | targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_boot_vec" | |
1171 | targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec" | |
252b5132 | 1172 | ;; |
252b5132 | 1173 | powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*) |
6d00b590 AM |
1174 | targ_defvec=powerpc_pe_le_vec |
1175 | targ_selvecs="powerpc_pei_le_vec powerpc_pei_vec powerpc_pe_le_vec powerpc_pe_vec" | |
252b5132 RH |
1176 | ;; |
1177 | ||
889294f6 DD |
1178 | pru-*-*) |
1179 | targ_defvec=pru_elf32_vec | |
889294f6 DD |
1180 | ;; |
1181 | ||
e23eba97 | 1182 | #ifdef BFD64 |
bb11866d | 1183 | riscv-*-* | riscv32*-*-*) |
e23eba97 | 1184 | targ_defvec=riscv_elf32_vec |
763a5fa4 | 1185 | targ_selvecs="riscv_elf32_vec riscv_elf64_vec" |
e23eba97 NC |
1186 | want64=true |
1187 | ;; | |
bb11866d | 1188 | riscv64*-*-*) |
e23eba97 NC |
1189 | targ_defvec=riscv_elf64_vec |
1190 | targ_selvecs="riscv_elf32_vec riscv_elf64_vec" | |
1191 | want64=true | |
1192 | ;; | |
1193 | #endif | |
1194 | ||
99c513f6 | 1195 | rl78-*-elf) |
6d00b590 | 1196 | targ_defvec=rl78_elf32_vec |
bdd32e03 | 1197 | targ_underscore=yes |
99c513f6 DD |
1198 | ;; |
1199 | ||
c7927a3c | 1200 | rx-*-elf) |
6d00b590 AM |
1201 | targ_defvec=rx_elf32_le_vec |
1202 | targ_selvecs="rx_elf32_be_vec rx_elf32_le_vec rx_elf32_be_ns_vec" | |
bdd32e03 | 1203 | targ_underscore=yes |
c7927a3c NC |
1204 | ;; |
1205 | ||
a85d7ed0 | 1206 | s390-*-linux*) |
6d00b590 AM |
1207 | targ_defvec=s390_elf32_vec |
1208 | targ64_selvecs=s390_elf64_vec | |
06f2f6af | 1209 | want64=true |
a85d7ed0 NC |
1210 | ;; |
1211 | #ifdef BFD64 | |
1212 | s390x-*-linux*) | |
6d00b590 AM |
1213 | targ_defvec=s390_elf64_vec |
1214 | targ_selvecs=s390_elf32_vec | |
314e9a4e | 1215 | want64=true |
a85d7ed0 | 1216 | ;; |
2fbd2a87 | 1217 | s390x-*-tpf*) |
6d00b590 | 1218 | targ_defvec=s390_elf64_vec |
314e9a4e | 1219 | want64=true |
2fbd2a87 | 1220 | ;; |
a85d7ed0 | 1221 | |
1c0d3aa6 | 1222 | score*-*-elf*) |
6d00b590 AM |
1223 | targ_defvec=score_elf32_be_vec |
1224 | targ_selvecs=score_elf32_le_vec | |
1c0d3aa6 | 1225 | ;; |
6566b43c L |
1226 | #endif /* BFD64 */ |
1227 | ||
7649aa50 | 1228 | sh*eb-*-linux*) |
6d00b590 AM |
1229 | targ_defvec=sh_elf32_linux_be_vec |
1230 | targ_selvecs=sh_elf32_linux_vec | |
de48f481 | 1231 | targ_selvecs="${targ_selvecs} sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec" |
7649aa50 NC |
1232 | ;; |
1233 | sh*-*-linux*) | |
6d00b590 AM |
1234 | targ_defvec=sh_elf32_linux_vec |
1235 | targ_selvecs=sh_elf32_linux_be_vec | |
de48f481 | 1236 | targ_selvecs="${targ_selvecs} sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec" |
7649aa50 | 1237 | ;; |
b129bfef | 1238 | |
ed6ba298 | 1239 | sh-*-uclinux* | sh[12]-*-uclinux*) |
6d00b590 AM |
1240 | targ_defvec=sh_elf32_vec |
1241 | targ_selvecs="sh_elf32_le_vec sh_elf32_linux_be_vec sh_elf32_linux_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec" | |
5b0e55b6 | 1242 | ;; |
5b0e55b6 | 1243 | |
cea3d58d | 1244 | sh*l*-*-netbsdelf*) |
6d00b590 | 1245 | targ_defvec=sh_elf32_nbsd_le_vec |
211dc24b | 1246 | targ_selvecs="sh_elf32_nbsd_vec sh_coff_vec sh_coff_le_vec" |
e58ee0cd | 1247 | ;; |
8d05742f | 1248 | sh*-*-netbsdelf*) |
6d00b590 AM |
1249 | targ_defvec=sh_elf32_nbsd_vec |
1250 | targ_selvecs="sh_elf32_nbsd_le_vec sh_coff_vec sh_coff_le_vec" | |
8d05742f | 1251 | ;; |
6566b43c | 1252 | |
42b5d0ea | 1253 | shl*-*-elf* | sh[1234]l*-*-elf* | sh3el*-*-elf* | shl*-*-kaos*) |
6d00b590 | 1254 | targ_defvec=sh_elf32_le_vec |
211dc24b | 1255 | targ_selvecs="sh_elf32_vec sh_coff_le_vec sh_coff_vec sh_coff_small_le_vec sh_coff_small_vec" |
7a33bc10 JR |
1256 | targ_underscore=yes |
1257 | ;; | |
6566b43c | 1258 | |
9183ed4b | 1259 | sh-*-elf* | sh[1234]*-elf* | sh-*-rtems* | sh-*-kaos*) |
6d00b590 | 1260 | targ_defvec=sh_elf32_vec |
211dc24b | 1261 | targ_selvecs="sh_elf32_le_vec sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec" |
252b5132 RH |
1262 | targ_underscore=yes |
1263 | ;; | |
6566b43c | 1264 | |
ed71e111 | 1265 | sh-*-nto*) |
6d00b590 AM |
1266 | targ_defvec=sh_elf32_vec |
1267 | targ_selvecs="sh_elf32_le_vec sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec" | |
ed71e111 NC |
1268 | targ_underscore=yes |
1269 | ;; | |
a38b2659 | 1270 | sh*-*-openbsd*) |
6d00b590 AM |
1271 | targ_defvec=sh_elf32_nbsd_le_vec |
1272 | targ_selvecs="sh_elf32_nbsd_vec sh_coff_vec sh_coff_le_vec" | |
a38b2659 | 1273 | ;; |
17505c5c | 1274 | sh-*-pe) |
6d00b590 AM |
1275 | targ_defvec=sh_pe_le_vec |
1276 | targ_selvecs="sh_pe_le_vec sh_pei_le_vec" | |
17505c5c NC |
1277 | targ_underscore=yes |
1278 | ;; | |
257e20bc | 1279 | sh-*-vxworks) |
6d00b590 AM |
1280 | targ_defvec=sh_elf32_vxworks_vec |
1281 | targ_selvecs="sh_elf32_vxworks_le_vec" | |
257e20bc NC |
1282 | # FIXME None of the following are actually used on this target, but |
1283 | # they're necessary for coff-sh.c (which is unconditionally used) to be | |
1284 | # compiled correctly. | |
6d00b590 | 1285 | targ_selvecs="$targ_selvecs sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec" |
2f964f43 | 1286 | targ_underscore=yes |
257e20bc | 1287 | ;; |
9183ed4b | 1288 | sh-*-*) |
6d00b590 AM |
1289 | targ_defvec=sh_coff_vec |
1290 | targ_selvecs="sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec" | |
252b5132 RH |
1291 | targ_underscore=yes |
1292 | ;; | |
1293 | ||
1360ba76 | 1294 | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) |
6d00b590 | 1295 | targ_defvec=sparc_elf32_sol2_vec |
1360ba76 | 1296 | ;; |
246c6687 AO |
1297 | #ifdef BFD64 |
1298 | sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) | |
6d00b590 | 1299 | targ_defvec=sparc_elf32_sol2_vec |
c9098af4 | 1300 | targ_selvecs="sparc_elf64_sol2_vec" |
314e9a4e | 1301 | want64=true |
246c6687 | 1302 | ;; |
c9098af4 AM |
1303 | sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) |
1304 | targ_defvec=sparc_elf64_fbsd_vec | |
1305 | targ_selvecs="sparc_elf64_vec sparc_elf32_vec" | |
252b5132 | 1306 | ;; |
c9098af4 | 1307 | sparc64*-*-*) |
6d00b590 | 1308 | targ_defvec=sparc_elf64_vec |
c9098af4 | 1309 | targ_selvecs="sparc_elf32_vec" |
314e9a4e | 1310 | want64=true |
60bcf0fa | 1311 | ;; |
c9098af4 AM |
1312 | #endif |
1313 | sparc-*-linux-* | sparcv*-*-linux-*) | |
6d00b590 | 1314 | targ_defvec=sparc_elf32_vec |
c9098af4 AM |
1315 | targ_selvecs="sparc_elf64_vec" |
1316 | ;; | |
1317 | sparc-*-vxworks*) | |
1318 | targ_defvec=sparc_elf32_vxworks_vec | |
1319 | targ_selvecs="sparc_elf32_vec" | |
ddcfc5fc | 1320 | ;; |
9f971fcb | 1321 | sparc*-*-*) |
c9098af4 | 1322 | targ_defvec=sparc_elf32_vec |
252b5132 RH |
1323 | ;; |
1324 | ||
e9f53129 | 1325 | spu-*-elf) |
6d00b590 | 1326 | targ_defvec=spu_elf32_vec |
78b8434d | 1327 | want64=true |
e9f53129 AM |
1328 | ;; |
1329 | ||
2a616379 | 1330 | tic6x-*-elf) |
6d00b590 AM |
1331 | targ_defvec=tic6x_elf32_c6000_le_vec |
1332 | targ_selvecs="tic6x_elf32_c6000_be_vec tic6x_elf32_le_vec tic6x_elf32_be_vec" | |
2a616379 BS |
1333 | ;; |
1334 | ||
1335 | tic6x-*-uclinux) | |
6d00b590 AM |
1336 | targ_defvec=tic6x_elf32_linux_le_vec |
1337 | targ_selvecs="tic6x_elf32_linux_be_vec tic6x_elf32_le_vec tic6x_elf32_be_vec" | |
40b36596 JM |
1338 | ;; |
1339 | ||
252b5132 | 1340 | tic80*-*-*) |
6d00b590 | 1341 | targ_defvec=tic80_coff_vec |
252b5132 RH |
1342 | targ_underscore=yes |
1343 | ;; | |
1344 | ||
aa137e4d NC |
1345 | #ifdef BFD64 |
1346 | tilegx-*-*) | |
6d00b590 AM |
1347 | targ_defvec=tilegx_elf64_le_vec |
1348 | targ_selvecs="tilegx_elf64_be_vec tilegx_elf32_be_vec tilegx_elf32_le_vec" | |
fb6cedde WL |
1349 | ;; |
1350 | tilegxbe-*-*) | |
6d00b590 AM |
1351 | targ_defvec=tilegx_elf64_be_vec |
1352 | targ_selvecs="tilegx_elf64_le_vec tilegx_elf32_be_vec tilegx_elf32_le_vec" | |
aa137e4d NC |
1353 | ;; |
1354 | #endif | |
1355 | ||
1356 | tilepro-*-*) | |
6d00b590 | 1357 | targ_defvec=tilepro_elf32_vec |
aa137e4d NC |
1358 | ;; |
1359 | ||
3f8107ab AM |
1360 | ft32*-*-*) |
1361 | targ_defvec=ft32_elf32_vec | |
1362 | ;; | |
1363 | ||
1cd986c5 | 1364 | v850*-*-*) |
6d00b590 AM |
1365 | targ_defvec=v850_elf32_vec |
1366 | targ_selvecs="v800_elf32_vec" | |
bdd32e03 | 1367 | targ_underscore=yes |
252b5132 | 1368 | ;; |
252b5132 | 1369 | |
90ace9e9 | 1370 | vax-*-netbsdelf*) |
6d00b590 AM |
1371 | targ_defvec=vax_elf32_vec |
1372 | targ_selvecs="vax_aout_nbsd_vec vax_aout_1knbsd_vec" | |
90ace9e9 JT |
1373 | ;; |
1374 | ||
1375 | vax-*-netbsdaout* | vax-*-netbsd*) | |
6d00b590 AM |
1376 | targ_defvec=vax_aout_nbsd_vec |
1377 | targ_selvecs="vax_elf32_vec vax_aout_1knbsd_vec" | |
90ace9e9 JT |
1378 | targ_underscore=yes |
1379 | ;; | |
1380 | ||
7d1ebfb2 | 1381 | vax-*-openbsd*) |
6d00b590 | 1382 | targ_defvec=vax_aout_nbsd_vec |
7d1ebfb2 NC |
1383 | targ_underscore=yes |
1384 | ;; | |
1385 | ||
ed84e695 | 1386 | vax-*-linux-*) |
6d00b590 | 1387 | targ_defvec=vax_elf32_vec |
f8fc3443 NC |
1388 | ;; |
1389 | ||
d924db55 EB |
1390 | visium-*-elf) |
1391 | targ_defvec=visium_elf32_vec | |
1392 | ;; | |
1b786873 | 1393 | |
8fb740dd PC |
1394 | wasm32-*-*) |
1395 | targ_defvec=wasm32_elf32_vec | |
a6be0538 | 1396 | targ_selvecs="wasm_vec" |
8fb740dd PC |
1397 | ;; |
1398 | ||
f6c1a2d5 | 1399 | xgate-*-*) |
6d00b590 AM |
1400 | targ_defvec=xgate_elf32_vec |
1401 | targ_selvecs="xgate_elf32_vec" | |
f6c1a2d5 | 1402 | ;; |
1b786873 | 1403 | |
93fbbb04 | 1404 | xstormy16-*-elf) |
6d00b590 | 1405 | targ_defvec=xstormy16_elf32_vec |
93fbbb04 GK |
1406 | ;; |
1407 | ||
f8a52b59 | 1408 | xtensa*-*-*) |
6d00b590 AM |
1409 | targ_defvec=xtensa_elf32_le_vec |
1410 | targ_selvecs=xtensa_elf32_be_vec | |
e0001a05 | 1411 | ;; |
d70c5fc7 | 1412 | xc16x-*-elf) |
6d00b590 | 1413 | targ_defvec=xc16x_elf32_vec |
d70c5fc7 | 1414 | ;; |
a27e4371 | 1415 | |
3c9b82ba | 1416 | z80-*-*) |
6d00b590 | 1417 | targ_defvec=z80_coff_vec |
3c9b82ba NC |
1418 | targ_underscore=no |
1419 | ;; | |
1420 | ||
252b5132 | 1421 | z8k*-*-*) |
6d00b590 | 1422 | targ_defvec=z8k_coff_vec |
252b5132 RH |
1423 | targ_underscore=yes |
1424 | ;; | |
1425 | ||
252b5132 RH |
1426 | # END OF targmatch.h |
1427 | *) | |
1428 | echo 1>&2 "*** BFD does not support target ${targ}." | |
1429 | echo 1>&2 "*** Look in bfd/config.bfd for supported targets." | |
1430 | exit 1 | |
1431 | ;; | |
1432 | esac | |
1433 | ||
42429eac RS |
1434 | # All MIPS ELF targets need a 64-bit bfd_vma. |
1435 | case "${targ_defvec} ${targ_selvecs}" in | |
6d00b590 | 1436 | *mips_elf*) |
42429eac RS |
1437 | want64=true |
1438 | ;; | |
1439 | esac | |
1440 | ||
e9e69f5a AM |
1441 | case "${host64}${want64}" in |
1442 | *true*) | |
1443 | targ_selvecs="${targ_selvecs} ${targ64_selvecs}" | |
1444 | ;; | |
1445 | esac | |
1446 | ||
252b5132 RH |
1447 | # If we support any ELF target, then automatically add support for the |
1448 | # generic ELF targets. This permits an objdump with some ELF support | |
1449 | # to be used on an arbitrary ELF file for anything other than | |
1450 | # relocation information. | |
1451 | case "${targ_defvec} ${targ_selvecs}" in | |
6d00b590 AM |
1452 | *elf64* | *mips_elf32_n*) |
1453 | targ_selvecs="${targ_selvecs} elf64_le_vec elf64_be_vec elf32_le_vec elf32_be_vec" | |
252b5132 | 1454 | ;; |
6d00b590 AM |
1455 | *elf32*) |
1456 | targ_selvecs="${targ_selvecs} elf32_le_vec elf32_be_vec" | |
252b5132 RH |
1457 | ;; |
1458 | esac | |
8a9036a4 | 1459 | |
bf64a951 L |
1460 | # If we support Intel MCU target, then add support for bfd_iamcu_arch. |
1461 | case "${targ_defvec} ${targ_selvecs}" in | |
1462 | *iamcu_elf32*) | |
1463 | targ_archs="$targ_archs bfd_iamcu_arch" | |
1464 | ;; | |
1465 | esac | |
1466 | ||
8a9036a4 L |
1467 | # If we support Intel L1OM target, then add support for bfd_l1om_arch. |
1468 | case "${targ_defvec} ${targ_selvecs}" in | |
6d00b590 | 1469 | *l1om_elf64*) |
8a9036a4 L |
1470 | targ_archs="$targ_archs bfd_l1om_arch" |
1471 | ;; | |
1472 | esac | |
7a9068fe L |
1473 | |
1474 | # If we support Intel K1OM target, then add support for bfd_k1om_arch. | |
1475 | case "${targ_defvec} ${targ_selvecs}" in | |
6d00b590 | 1476 | *k1om_elf64*) |
7a9068fe L |
1477 | targ_archs="$targ_archs bfd_k1om_arch" |
1478 | ;; | |
1479 | esac |