config.bfd revision 104834
1# config.bfd 2# Convert a canonical host type into a BFD host type. 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# targ64_selvecs Vectors to build if --enable-64-bit-bfd is given 9# or if host is 64 bit. 10# targ_archs Architectures for this target 11# targ_cflags $(CFLAGS) for this target (FIXME: pretty bogus) 12# targ_underscore Whether underscores are used: yes or no 13 14# Part of this file is processed by targmatch.sed to generate the 15# targmatch.h file. The #ifdef and #endif lines that appear below are 16# copied directly into targmatch.h. 17 18# The binutils c++filt program wants to know whether underscores are 19# stripped or not. That is why we set targ_underscore. c++filt uses 20# this information to choose a default. This information is 21# duplicated in the symbol_leading_char field of the BFD target 22# vector, but c++filt does not deal with object files and is not 23# linked against libbfd.a. It is not terribly important that c++filt 24# get this right; it is just convenient. 25 26targ_defvec= 27targ_selvecs= 28targ64_selvecs= 29targ_cflags= 30targ_underscore=no 31 32targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 33case "${targ_cpu}" in 34alpha*) targ_archs=bfd_alpha_arch ;; 35arm*) targ_archs=bfd_arm_arch ;; 36c30*) targ_archs=bfd_tic30_arch ;; 37c54x*) targ_archs=bfd_tic54x_arch ;; 38dlx*) targ_archs=bfd_dlx_arch ;; 39hppa*) targ_archs=bfd_hppa_arch ;; 40i[3456]86) targ_archs=bfd_i386_arch ;; 41i370) targ_archs=bfd_i370_arch ;; 42m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch" ;; 43m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch" ;; 44m68*) targ_archs=bfd_m68k_arch ;; 45m88*) targ_archs=bfd_m88k_arch ;; 46mips*) targ_archs=bfd_mips_arch ;; 47or32*) targ_archs=bfd_or32_arch ;; 48pdp11*) targ_archs=bfd_pdp11_arch ;; 49pj*) targ_archs="bfd_pj_arch bfd_i386_arch";; 50powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; 51rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; 52s390*) targ_archs=bfd_s390_arch ;; 53sh*) targ_archs=bfd_sh_arch ;; 54sparc*) targ_archs=bfd_sparc_arch ;; 55strongarm*) targ_archs=bfd_arm_arch ;; 56thumb*) targ_archs=bfd_arm_arch ;; 57v850*) targ_archs=bfd_v850_arch ;; 58x86_64) targ_archs=bfd_i386_arch ;; 59xscale*) targ_archs=bfd_arm_arch ;; 60z8k*) targ_archs=bfd_z8k_arch ;; 61*) targ_archs=bfd_${targ_cpu}_arch ;; 62esac 63 64 65# WHEN ADDING ENTRIES TO THIS MATRIX: 66# Make sure that the left side always has two dashes. Otherwise you 67# can get spurious matches. Even for unambiguous cases, do this as a 68# convention, else the table becomes a real mess to understand and maintain. 69 70case "${targ}" in 71# START OF targmatch.h 72#ifdef BFD64 73 alpha*-*-freebsd*) 74 targ_defvec=bfd_elf64_alpha_freebsd_vec 75 targ_selvecs=ecoffalpha_little_vec 76 # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling. 77 case "${targ}" in 78 alpha*-*-freebsd3* | alpha*-*-freebsd4 | alpha*-*-freebsd4.0*) 79 targ_cflags=-DOLD_FREEBSD_ABI_LABEL ;; 80 esac 81 ;; 82 alpha*-*-netbsd* | alpha*-*-openbsd*) 83 targ_defvec=bfd_elf64_alpha_vec 84 targ_selvecs=ecoffalpha_little_vec 85 ;; 86 alpha*-*-netware*) 87 targ_defvec=ecoffalpha_little_vec 88 targ_selvecs=nlm32_alpha_vec 89 ;; 90 alpha*-*-linuxecoff*) 91 targ_defvec=ecoffalpha_little_vec 92 targ_selvecs=bfd_elf64_alpha_vec 93 ;; 94 alpha*-*-linux-gnu* | alpha*-*-elf*) 95 targ_defvec=bfd_elf64_alpha_vec 96 targ_selvecs=ecoffalpha_little_vec 97 ;; 98 alpha*-*-*vms*) 99 targ_defvec=vms_alpha_vec 100 ;; 101 alpha*-*-*) 102 targ_defvec=ecoffalpha_little_vec 103 ;; 104 ia64*-*-aix*) 105 targ_defvec=bfd_elf64_ia64_aix_little_vec 106 targ_selvecs="bfd_elf64_ia64_aix_big_vec bfd_efi_app_ia64_vec" 107 ;; 108 ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-gnu* | ia64*-*-elf*) 109 targ_defvec=bfd_elf64_ia64_little_vec 110 targ_selvecs="bfd_elf64_ia64_big_vec bfd_efi_app_ia64_vec" 111 ;; 112 ia64*-*-hpux*) 113 targ_defvec=bfd_elf32_ia64_hpux_big_vec 114 targ_selvecs="bfd_elf64_ia64_hpux_big_vec" 115 ;; 116 sparc64-*-freebsd* | sparc64-*-netbsd* | sparc64-*-openbsd*) 117 targ_defvec=bfd_elf64_sparc_vec 118 targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec" 119 ;; 120#endif /* BFD64 */ 121 122 arc-*-elf*) 123 targ_defvec=bfd_elf32_littlearc_vec 124 targ_selvecs=bfd_elf32_bigarc_vec 125 ;; 126 127 armeb-*-netbsdelf*) 128 targ_defvec=bfd_elf32_bigarm_vec 129 targ_selvecs="bfd_elf32_littlearm_vec armnetbsd_vec" 130 ;; 131 arm-*-netbsdelf*) 132 targ_defvec=bfd_elf32_littlearm_vec 133 targ_selvecs="bfd_elf32_bigarm_vec armnetbsd_vec" 134 ;; 135 arm-*-netbsd* | arm-*-openbsd*) 136 targ_defvec=armnetbsd_vec 137 targ_selvecs="bfd_elf32_littlearm_vec bfd_elf32_bigarm_vec" 138 targ_underscore=yes 139 ;; 140 arm-*-riscix*) 141 targ_defvec=riscix_vec 142 ;; 143 arm-epoc-pe*) 144 targ_defvec=arm_epoc_pe_little_vec 145 targ_selvecs="arm_epoc_pe_little_vec arm_epoc_pe_big_vec arm_epoc_pei_little_vec arm_epoc_pei_big_vec" 146 targ_underscore=no 147 targ_cflags=-DARM_COFF_BUGFIX 148 ;; 149 arm-wince-pe | arm-*-wince) 150 targ_defvec=armpe_little_vec 151 targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec" 152 targ_underscore=no 153 targ_cflags=-DARM_WINCE 154 ;; 155 arm-*-pe*) 156 targ_defvec=armpe_little_vec 157 targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec" 158 targ_underscore=yes 159 ;; 160 arm-*-aout | armel-*-aout) 161 targ_defvec=aout_arm_little_vec 162 targ_selvecs=aout_arm_big_vec 163 ;; 164 armeb-*-aout) 165 targ_defvec=aout_arm_big_vec 166 targ_selvecs=aout_arm_little_vec 167 ;; 168 arm-*-vxworks*) 169 targ_defvec=armcoff_little_vec 170 targ_selvecs=armcoff_big_vec 171 targ_underscore=yes 172 targ_cflags=-DARM_COFF_BUGFIX 173 ;; 174 arm-*-coff) 175 targ_defvec=armcoff_little_vec 176 targ_selvecs=armcoff_big_vec 177 targ_underscore=yes 178 ;; 179 arm-*-rtems*) 180 targ_defvec=bfd_elf32_littlearm_vec 181 targ_selvecs=bfd_elf32_bigarm_vec 182 ;; 183 armeb-*-elf | arm*b-*-linux-gnu*) 184 targ_defvec=bfd_elf32_bigarm_vec 185 targ_selvecs=bfd_elf32_littlearm_vec 186 ;; 187 arm-*-elf | arm-*-freebsd* | arm*-*-linux-gnu* | arm*-*-conix* | arm*-*-uclinux*) 188 targ_defvec=bfd_elf32_littlearm_vec 189 targ_selvecs=bfd_elf32_bigarm_vec 190 ;; 191 arm9e-*-elf) 192 targ_defvec=bfd_elf32_littlearm_vec 193 targ_selvecs=bfd_elf32_bigarm_vec 194 ;; 195 arm-*-oabi) 196 targ_defvec=bfd_elf32_littlearm_oabi_vec 197 targ_selvecs=bfd_elf32_bigarm_oabi_vec 198 ;; 199 200 thumb-*-coff) 201 targ_defvec=armcoff_little_vec 202 targ_selvecs=armcoff_big_vec 203 targ_underscore=yes 204 ;; 205 thumb-*-oabi) 206 targ_defvec=bfd_elf32_littlearm_oabi_vec 207 targ_selvecs=bfd_elf32_bigarm_oabi_vec 208 ;; 209 thumb-*-elf) 210 targ_defvec=bfd_elf32_littlearm_vec 211 targ_selvecs=bfd_elf32_bigarm_vec 212 ;; 213 thumb-epoc-pe*) 214 targ_defvec=arm_epoc_pe_little_vec 215 targ_selvecs="arm_epoc_pe_little_vec arm_epoc_pe_big_vec arm_epoc_pei_little_vec arm_epoc_pei_big_vec" 216 targ_underscore=no 217 ;; 218 thumb-*-pe*) 219 targ_defvec=armpe_little_vec 220 targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec" 221 targ_underscore=yes 222 ;; 223 strongarm-*-elf) 224 targ_defvec=bfd_elf32_littlearm_vec 225 targ_selvecs=bfd_elf32_bigarm_vec 226 ;; 227 strongarm-*-coff) 228 targ_defvec=armcoff_little_vec 229 targ_selvecs=armcoff_big_vec 230 targ_underscore=yes 231 ;; 232 xscale-*-elf) 233 targ_defvec=bfd_elf32_littlearm_vec 234 targ_selvecs=bfd_elf32_bigarm_vec 235 ;; 236 xscale-*-coff) 237 targ_defvec=armcoff_little_vec 238 targ_selvecs=armcoff_big_vec 239 targ_underscore=yes 240 ;; 241 242 a29k-*-ebmon* | a29k-*-udi* | a29k-*-coff* | a29k-*-sym1* | \ 243 a29k-*-vxworks* | a29k-*-sysv* | a29k-*rtems*) 244 targ_defvec=a29kcoff_big_vec 245 targ_selvecs=sunos_big_vec 246 targ_underscore=yes 247 ;; 248 a29k-*-aout* | a29k-*-bsd* | a29k-*-vsta*) 249 targ_defvec=sunos_big_vec 250 targ_underscore=yes 251 ;; 252 253 avr-*-*) 254 targ_defvec=bfd_elf32_avr_vec 255 ;; 256 257 c30-*-*aout* | tic30-*-*aout*) 258 targ_defvec=tic30_aout_vec 259 ;; 260 c30-*-*coff* | tic30-*-*coff*) 261 targ_defvec=tic30_coff_vec 262 ;; 263 264 c54x*-*-*coff* | tic54x-*-*coff*) 265 targ_defvec=tic54x_coff1_vec 266 targ_selvecs="tic54x_coff1_beh_vec tic54x_coff2_vec tic54x_coff2_beh_vec tic54x_coff0_vec tic54x_coff0_beh_vec" 267 targ_underscore=yes 268 ;; 269 270 cris-*-*) 271 targ_defvec=cris_aout_vec 272 targ_selvecs="bfd_elf32_us_cris_vec bfd_elf32_cris_vec ieee_vec" 273 targ_underscore=yes # Note: not true for bfd_elf32_cris_vec. 274 ;; 275 276 d10v-*-*) 277 targ_defvec=bfd_elf32_d10v_vec 278 ;; 279 280 dlx-*-elf*) 281 targ_defvec=bfd_elf32_dlx_big_vec 282 targ_selvecs="bfd_elf32_dlx_big_vec" 283 ;; 284 285 d30v-*-*) 286 targ_defvec=bfd_elf32_d30v_vec 287 ;; 288 289 fr30-*-elf) 290 targ_defvec=bfd_elf32_fr30_vec 291 ;; 292 293 frv-*-elf) 294 targ_defvec=bfd_elf32_frv_vec 295 ;; 296 297 298 h8300*-*-elf) 299 targ_defvec=bfd_elf32_h8300_vec 300 targ_underscore=yes 301 ;; 302 303 h8300*-*-*) 304 targ_defvec=h8300coff_vec 305 targ_underscore=yes 306 ;; 307 308 h8500-*-*) 309 targ_defvec=h8500coff_vec 310 targ_underscore=yes 311 ;; 312 313#ifdef BFD64 314 hppa*64*-*-linux-gnu*) 315 targ_defvec=bfd_elf64_hppa_linux_vec 316 targ_selvecs=bfd_elf64_hppa_vec 317 ;; 318 hppa*64*-*-hpux11*) 319 targ_defvec=bfd_elf64_hppa_vec 320 targ_selvecs=bfd_elf64_hppa_linux_vec 321 targ_cflags=-DHPUX_LARGE_AR_IDS 322 ;; 323#endif 324 325 hppa*-*-linux-gnu*) 326 targ_defvec=bfd_elf32_hppa_linux_vec 327 targ_selvecs=bfd_elf32_hppa_vec 328 ;; 329 hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-netbsd* | hppa*-*-sysv4* | hppa*-*-rtems* | hppa*-*-openbsd*) 330 targ_defvec=bfd_elf32_hppa_vec 331 targ_selvecs=bfd_elf32_hppa_linux_vec 332 ;; 333 334#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) || defined (HOST_HPPAMPEIX) 335 hppa*-*-bsd*) 336 targ_defvec=som_vec 337 targ_selvecs=bfd_elf32_hppa_vec 338 ;; 339 hppa*-*-hpux* | hppa*-*-hiux* | hppa*-*-mpeix*) 340 targ_defvec=som_vec 341 ;; 342 hppa*-*-osf*) 343 targ_defvec=som_vec 344 targ_selvecs=bfd_elf32_hppa_vec 345 ;; 346#endif /* defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) */ 347 348 i370-*-*) 349 targ_defvec=bfd_elf32_i370_vec 350 targ_selvecs="bfd_elf32_i370_vec" 351 ;; 352 i[3456]86-*-sco3.2v5*coff) 353 targ_defvec=i386coff_vec 354 targ_selvecs=bfd_elf32_i386_vec 355 ;; 356 i[3456]86-*-sysv4* | i[3456]86-*-unixware* | i[3456]86-*-solaris2* | \ 357 i[3456]86-*-elf | i[3456]86-*-sco3.2v5* | \ 358 i[3456]86-*-dgux* | i[3456]86-*-sysv5*) 359 targ_defvec=bfd_elf32_i386_vec 360 targ_selvecs=i386coff_vec 361 ;; 362 i[3456]86-*-nto-qnx*) 363 targ_defvec=bfd_elf32_i386qnx_vec 364 targ_selvecs=i386coff_vec 365 ;; 366 i[3456]86-*-chorus*) 367 targ_defvec=bfd_elf32_i386_vec 368 ;; 369 *-*-msdosdjgpp* | *-*-go32* | *-go32-rtems* ) 370 targ_defvec=go32coff_vec 371 targ_selvecs="go32stubbedcoff_vec i386aout_vec" 372 ;; 373 i[3456]86-*-sysv* | i[3456]86-*-isc* | i[3456]86-*-sco* | i[3456]86-*-coff | \ 374 i[3456]86-*-aix*) 375 targ_defvec=i386coff_vec 376 ;; 377 i[3456]86*-*-rtemscoff*) 378 targ_defvec=i386coff_vec 379 targ_selvecs="bfd_elf32_i386_vec i386aout_vec" 380 ;; 381 i[3456]86-*-rtemself* | i[3456]86-*-rtems*) 382 targ_defvec=bfd_elf32_i386_vec 383 targ_selvecs="i386coff_vec i386aout_vec" 384 ;; 385 i[3456]86-sequent-bsd*) 386 targ_defvec=i386dynix_vec 387 targ_underscore=yes 388 ;; 389 i[3456]86-*-bsd*) 390 targ_defvec=i386bsd_vec 391 targ_underscore=yes 392 ;; 393 i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | \ 394 i[3456]86-*-freebsd[12]) 395 targ_defvec=i386freebsd_vec 396 targ_selvecs=i386bsd_vec 397 targ_underscore=yes 398 ;; 399 i[3456]86-*-freebsd*) 400 targ_defvec=bfd_elf32_i386_freebsd_vec 401 targ_selvecs=i386coff_vec 402 # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling. 403 case "${targ}" in 404 i[3456]86-*-freebsd3* | i[3456]86-*-freebsd4 | i[3456]86-*-freebsd4.0*) 405 targ_cflags=-DOLD_FREEBSD_ABI_LABEL ;; 406 esac 407 ;; 408 i[3456]86-*-netbsdelf*) 409 targ_defvec=bfd_elf32_i386_vec 410 targ_selvecs=i386netbsd_vec 411 ;; 412 i[3456]86-*-netbsdpe*) 413 targ_defvec=i386pe_vec 414 targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec" 415 ;; 416 i[3456]86-*-netbsdaout* | i[3456]86-*-netbsd* | i[3456]86-*-openbsd*) 417 targ_defvec=i386netbsd_vec 418 targ_selvecs="bfd_elf32_i386_vec i386bsd_vec" 419 targ_underscore=yes 420 ;; 421 i[3456]86-*-netware*) 422 targ_defvec=bfd_elf32_i386_vec 423 targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec" 424 ;; 425 i[3456]86-*-linux*aout*) 426 targ_defvec=i386linux_vec 427 targ_selvecs=bfd_elf32_i386_vec 428 targ_underscore=yes 429 ;; 430 i[3456]86-*-linux-gnu*) 431 targ_defvec=bfd_elf32_i386_vec 432 targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec" 433 ;; 434#ifdef BFD64 435 x86_64-*-freebsd*) 436 targ_defvec=bfd_elf64_x86_64_vec 437 targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec" 438 ;; 439 x86_64-*-netbsd*) 440 targ_defvec=bfd_elf64_x86_64_vec 441 targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec" 442 ;; 443 x86_64-*-linux-gnu*) 444 targ_defvec=bfd_elf64_x86_64_vec 445 targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec" 446 ;; 447#endif 448 i[3456]86-*-lynxos*) 449 targ_defvec=i386lynx_coff_vec 450 targ_selvecs=i386lynx_aout_vec 451 ;; 452 i[3456]86-*-gnu*) 453 targ_defvec=bfd_elf32_i386_vec 454 ;; 455 i[3456]86-*-mach* | i[3456]86-*-osf1mk*) 456 targ_defvec=i386mach3_vec 457 targ_cflags=-DSTAT_FOR_EXEC 458 targ_underscore=yes 459 ;; 460 i[3456]86-*-os9k) 461 targ_defvec=i386os9k_vec 462 ;; 463 i[3456]86-*-msdos*) 464 targ_defvec=i386aout_vec 465 targ_selvecs=i386msdos_vec 466 ;; 467 i[3456]86-*-moss*) 468 targ_defvec=bfd_elf32_i386_vec 469 targ_selvecs="i386msdos_vec i386aout_vec" 470 ;; 471 i[3456]86-*-beospe*) 472 targ_defvec=i386pe_vec 473 targ_selvecs="i386pe_vec i386pei_vec" 474 ;; 475 i[3456]86-*-beoself* | i[3456]86-*-beos*) 476 targ_defvec=bfd_elf32_i386_vec 477 targ_selvecs="i386pe_vec i386pei_vec" 478 ;; 479 i[3456]86-*-interix*) 480 targ_defvec=i386pei_vec 481 targ_selvecs="i386pe_vec" 482 # FIXME: This should eventually be checked at runtime. 483 targ_cflags=-DSTRICT_PE_FORMAT 484 ;; 485 i[3456]86-*-mingw32* | i[3456]86-*-cygwin* | i[3456]86-*-winnt | i[3456]86-*-pe) 486 targ_defvec=i386pe_vec 487 targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec" 488 ;; 489 i[3456]86-none-*) 490 targ_defvec=i386coff_vec 491 ;; 492 i[3456]86-*-aout* | i[3456]86*-*-vsta*) 493 targ_defvec=i386aout_vec 494 ;; 495 i[3456]86-*-vxworks*) 496 targ_defvec=i386aout_vec 497 targ_underscore=yes 498 ;; 499 i[3456]86-*-chaos) 500 targ_defvec=bfd_elf32_i386_vec 501 targ_selfvecs=i386chaos_vec 502 ;; 503 504 i860-*-mach3* | i860-*-osf1* | i860-*-coff*) 505 targ_defvec=i860coff_vec 506 ;; 507 i860-stardent-sysv4* | i860-stardent-elf*) 508 targ_defvec=bfd_elf32_i860_little_vec 509 targ_selvecs="bfd_elf32_i860_vec bfd_elf32_i860_little_vec" 510 ;; 511 i860-*-sysv4* | i860-*-elf*) 512 targ_defvec=bfd_elf32_i860_vec 513 ;; 514 515 i960-*-vxworks4* | i960-*-vxworks5.0) 516 targ_defvec=b_out_vec_little_host 517 targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec" 518 targ_underscore=yes 519 ;; 520 i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv* | i960-*-rtems*) 521 targ_defvec=icoff_little_vec 522 targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host ieee_vec" 523 targ_underscore=yes 524 ;; 525 i960-*-vxworks* | i960-*-aout* | i960-*-bout* | i960-*-nindy*) 526 targ_defvec=b_out_vec_little_host 527 targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec" 528 targ_underscore=yes 529 ;; 530 i960-*-elf*) 531 targ_defvec=bfd_elf32_i960_vec 532 targ_selvecs="icoff_little_vec icoff_big_vec" 533 ;; 534 535 m32r-*-*) 536 targ_defvec=bfd_elf32_m32r_vec 537 ;; 538 539 m68hc11-*-* | m6811-*-*) 540 targ_defvec=bfd_elf32_m68hc11_vec 541 targ_selvecs="bfd_elf32_m68hc11_vec bfd_elf32_m68hc12_vec" 542 ;; 543 m68hc12-*-* | m6812-*-*) 544 targ_defvec=bfd_elf32_m68hc12_vec 545 targ_selvecs="bfd_elf32_m68hc11_vec bfd_elf32_m68hc12_vec" 546 ;; 547 548 m68*-apollo-*) 549 targ_defvec=apollocoff_vec 550 ;; 551 m68*-bull-sysv*) 552 targ_defvec=m68kcoffun_vec 553 targ_underscore=yes 554 ;; 555 m68*-motorola-sysv*) 556 targ_defvec=m68ksysvcoff_vec 557 ;; 558 m68*-hp-bsd*) 559 targ_defvec=hp300bsd_vec 560 targ_underscore=yes 561 ;; 562 m68*-*-aout*) 563 targ_defvec=aout0_big_vec 564 # We include cisco_core_big_vec here, rather than making a separate cisco 565 # configuration, so that cisco-core.c gets routinely tested at 566 # least for compilation. 567 targ_selvecs="cisco_core_big_vec ieee_vec" 568 targ_underscore=yes 569 ;; 570 m68*-*-rtemscoff*) 571 targ_defvec=m68kcoff_vec 572 targ_selvecs="m68kcoff_vec versados_vec ieee_vec aout0_big_vec" 573 ;; 574 m68*-*-elf* | m68*-*-sysv4*) 575 targ_defvec=bfd_elf32_m68k_vec 576 targ_selvecs="m68kcoff_vec ieee_vec" 577 ;; 578 m68*-*-rtems*) 579 targ_defvec=bfd_elf32_m68k_vec 580 targ_selvecs="m68kcoff_vec versados_vec ieee_vec aout0_big_vec" 581 ;; 582 m68*-*-coff* | m68*-*-sysv*) 583 targ_defvec=m68kcoff_vec 584 targ_selvecs="m68kcoff_vec versados_vec ieee_vec" 585 ;; 586 m68*-*-hpux*) 587 targ_defvec=hp300hpux_vec 588 targ_underscore=yes 589 ;; 590 m68*-*-linux*aout*) 591 targ_defvec=m68klinux_vec 592 targ_selvecs=bfd_elf32_m68k_vec 593 targ_underscore=yes 594 ;; 595 m68*-*-linux-gnu*) 596 targ_defvec=bfd_elf32_m68k_vec 597 targ_selvecs=m68klinux_vec 598 ;; 599 m68*-*-gnu*) 600 targ_defvec=bfd_elf32_m68k_vec 601 # targ_selvecs=m68kmach3_vec 602 # targ_cflags=-DSTAT_FOR_EXEC 603 ;; 604 m68*-*-lynxos*) 605 targ_defvec=m68klynx_coff_vec 606 targ_selvecs=m68klynx_aout_vec 607 ;; 608 m68*-hp*-netbsd*) 609 targ_defvec=m68k4knetbsd_vec 610 targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec" 611 targ_underscore=yes 612 ;; 613 m68*-*-netbsdelf*) 614 targ_defvec=bfd_elf32_m68k_vec 615 targ_selvecs="m68knetbsd_vec m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" 616 ;; 617 m68*-*-netbsdaout* | m68*-*-netbsd*) 618 targ_defvec=m68knetbsd_vec 619 targ_selvecs="m68k4knetbsd_vec bfd_elf32_m68k_vec hp300bsd_vec sunos_big_vec" 620 targ_underscore=yes 621 ;; 622 m68*-*-openbsd*) 623 targ_defvec=m68knetbsd_vec 624 targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" 625 targ_underscore=yes 626 ;; 627 m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \ 628 m68*-*-bsd* | m68*-*-vsta*) 629 targ_defvec=sunos_big_vec 630 targ_underscore=yes 631 ;; 632 m68*-ericsson-*) 633 targ_defvec=sunos_big_vec 634 targ_selvecs="m68kcoff_vec versados_vec tekhex_vec" 635 targ_underscore=yes 636 ;; 637 m68*-cbm-*) 638 targ_defvec=bfd_elf32_m68k_vec 639 targ_selvecs=m68kcoff_vec 640 ;; 641 m68*-apple-aux*) 642 targ_defvec=m68kaux_coff_vec 643 ;; 644 m68*-*-psos*) 645 targ_defvec=bfd_elf32_m68k_vec 646 targ_selvecs=ieee_vec 647 targ_underscore=yes 648 ;; 649 650 m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*) 651 targ_defvec=bfd_elf32_m88k_vec 652 targ_selvecs=m88kbcs_vec 653 ;; 654 m88*-*-mach3*) 655 targ_defvec=m88kmach3_vec 656 targ_cflags=-DSTAT_FOR_EXEC 657 ;; 658 m88*-*-*) 659 targ_defvec=m88kbcs_vec 660 targ_underscore=yes 661 ;; 662 663 mcore-*-elf) 664 targ_defvec=bfd_elf32_mcore_big_vec 665 targ_selvecs="bfd_elf32_mcore_big_vec bfd_elf32_mcore_little_vec" 666 ;; 667 mcore-*-pe) 668 targ_defvec=mcore_pe_big_vec 669 targ_selvecs="mcore_pe_big_vec mcore_pe_little_vec mcore_pei_big_vec mcore_pei_little_vec" 670 ;; 671 672 mips*-big-*) 673 targ_defvec=ecoff_big_vec 674 targ_selvecs=ecoff_little_vec 675 ;; 676 mips*el-*-netbsd*) 677 targ_defvec=bfd_elf32_littlemips_vec 678 targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec" 679 ;; 680 mips*-*-netbsd*) 681 targ_defvec=bfd_elf32_bigmips_vec 682 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec" 683 ;; 684 mips*-dec-bsd*) 685 targ_defvec=aout_mips_little_vec 686 targ_underscore=yes 687 ;; 688 mips*-dec-mach3*) 689 targ_defvec=aout_mips_little_vec 690 targ_cflags=-DSTAT_FOR_EXEC 691 ;; 692 mips*-dec-* | mips*el-*-ecoff*) 693 targ_defvec=ecoff_little_vec 694 targ_selvecs=ecoff_big_vec 695 ;; 696 mips*-*-ecoff*) 697 targ_defvec=ecoff_big_vec 698 targ_selvecs=ecoff_little_vec 699 ;; 700#ifdef BFD64 701 mips*-*-irix6*) 702 targ_defvec=bfd_elf32_bigmips_vec 703 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" 704 ;; 705#endif 706 mips*-*-irix5*) 707 targ_defvec=bfd_elf32_bigmips_vec 708 targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec" 709 ;; 710 mips*-sgi-* | mips*-*-bsd*) 711 targ_defvec=ecoff_big_vec 712 targ_selvecs=ecoff_little_vec 713 ;; 714 mips*-*-lnews*) 715 targ_defvec=ecoff_biglittle_vec 716 targ_selvecs="ecoff_little_vec ecoff_big_vec" 717 ;; 718 mips*-*-mach3*) 719 targ_defvec=aout_mips_little_vec 720 targ_cflags=-DSTAT_FOR_EXEC 721 ;; 722 mips*-*-pe*) 723 targ_defvec=mipslpe_vec 724 targ_selvecs="mipslpei_vec mipslpei_vec ecoff_little_vec ecoff_big_vec" 725 targ_underscore=yes 726 ;; 727 mips*-*-sysv4*) 728 targ_defvec=bfd_elf32_tradbigmips_vec 729 targ_selvecs="bfd_elf32_tradlittlemips_vec ecoff_big_vec ecoff_little_vec" 730 ;; 731 mips*-*-sysv* | mips*-*-riscos*) 732 targ_defvec=ecoff_big_vec 733 targ_selvecs=ecoff_little_vec 734 ;; 735 mips*el-*-elf* | mips*el-*-rtems* | mips*el-*-vxworks* | mips*-*-chorus*) 736 targ_defvec=bfd_elf32_littlemips_vec 737 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" 738 ;; 739 mips*-*-elf* | mips*-*-rtems* | mips*-*-vxworks*) 740 targ_defvec=bfd_elf32_bigmips_vec 741 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" 742 ;; 743 mips*-*-none) 744 targ_defvec=bfd_elf32_bigmips_vec 745 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" 746 ;; 747 mips*el-*-openbsd*) 748 targ_defvec=bfd_elf32_littlemips_vec 749 targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec" 750 ;; 751 mips*-*-openbsd*) 752 targ_defvec=bfd_elf32_bigmips_vec 753 targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec" 754 ;; 755#ifdef BFD64 756 mips64*el-*-linux*) 757 targ_defvec=bfd_elf32_tradlittlemips_vec 758 targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec" 759 ;; 760 mips64*-*-linux*) 761 targ_defvec=bfd_elf32_tradbigmips_vec 762 targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec" 763 ;; 764#endif 765 mips*el-*-linux*) 766 targ_defvec=bfd_elf32_tradlittlemips_vec 767 targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec ecoff_little_vec ecoff_big_vec" 768 ;; 769 mips*-*-linux*) 770 targ_defvec=bfd_elf32_tradbigmips_vec 771 targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec" 772 ;; 773#ifdef BFD64 774 mmix-*-*) 775 targ_defvec=bfd_elf64_mmix_vec 776 targ_selvecs=bfd_mmo_vec 777 ;; 778#endif 779 mn10200-*-*) 780 targ_defvec=bfd_elf32_mn10200_vec 781 ;; 782 783 mn10300-*-*) 784 targ_defvec=bfd_elf32_mn10300_vec 785 ;; 786 787 ns32k-pc532-mach* | ns32k-pc532-ux*) 788 targ_defvec=pc532machaout_vec 789 targ_underscore=yes 790 ;; 791 ns32k-*-netbsd* | ns32k-*-lites* | ns32k-*-openbsd*) 792 targ_defvec=pc532netbsd_vec 793 targ_underscore=yes 794 ;; 795 796 openrisc-*-elf) 797 targ_defvec=bfd_elf32_openrisc_vec 798 ;; 799 800 or32-*-coff | or32-*-rtems*) 801 targ_defvec=or32coff_big_vec 802 targ_underscore=yes 803 ;; 804 805 or32-*-elf) 806 targ_defvec=bfd_elf32_or32_big_vec 807 ;; 808 809 pdp11-*-*) 810 targ_defvec=pdp11_aout_vec 811 targ_underscore=yes 812 ;; 813 814 pj-*-*) 815 targ_defvec=bfd_elf32_pj_vec 816 targ_selvecs="bfd_elf32_pj_vec bfd_elf32_pjl_vec" 817 ;; 818 819 pjl-*-*) 820 targ_defvec=bfd_elf32_pjl_vec 821 targ_selvecs="bfd_elf32_pjl_vec bfd_elf32_pj_vec bfd_elf32_i386_vec" 822 ;; 823 824 powerpc-*-aix5*) 825 targ_defvec=rs6000coff_vec 826 targ_selvecs="aix5coff64_vec" 827 want64=true 828 ;; 829#ifdef BFD64 830 powerpc64-*-aix5*) 831 targ_defvec=aix5coff64_vec 832 targ_selvecs="rs6000coff_vec" 833 want64=true 834 ;; 835#endif 836 837 powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*) 838 targ_defvec=rs6000coff_vec 839 targ64_selvecs=rs6000coff64_vec 840 case "${targ}" in 841 *-*-aix4.[3456789]* | *-*-aix[56789]*) 842 want64=true;; 843 844 *) 845 targ_cflags=-DSMALL_ARCHIVE;; 846 esac 847 ;; 848#ifdef BFD64 849 powerpc64-*-aix*) 850 targ_defvec=rs6000coff64_vec 851 targ_selvecs=rs6000coff_vec 852 ;; 853 powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux*) 854 targ_defvec=bfd_elf64_powerpc_vec 855 targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec" 856 ;; 857 powerpc64le-*-elf* | powerpcle-*-elf64*) 858 targ_defvec=bfd_elf64_powerpcle_vec 859 targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec" 860 ;; 861#endif 862 powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \ 863 powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems* | \ 864 powerpc-*-chorus* | powerpc-*-vxworks* | powerpc-*-windiss*) 865 targ_defvec=bfd_elf32_powerpc_vec 866 targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec" 867 targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec" 868 ;; 869 powerpc-*-macos* | powerpc-*-mpw*) 870 targ_defvec=pmac_xcoff_vec 871 ;; 872 powerpc-*-netware*) 873 targ_defvec=bfd_elf32_powerpc_vec 874 targ_selvecs="nlm32_powerpc_vec rs6000coff_vec" 875 ;; 876 powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \ 877 powerpcle-*-solaris2* | powerpcle-*-linux-gnu* | powerpcle-*-vxworks* |\ 878 powerpcle-*-rtems*) 879 targ_defvec=bfd_elf32_powerpcle_vec 880 targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec" 881 targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec" 882 ;; 883 884 powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*) 885 targ_defvec=bfd_powerpcle_pe_vec 886 targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec" 887 ;; 888 889 s390-*-linux*) 890 targ_defvec=bfd_elf32_s390_vec 891 ;; 892#ifdef BFD64 893 s390x-*-linux*) 894 targ_defvec=bfd_elf64_s390_vec 895 ;; 896#endif 897 898#ifdef BFD64 899 sh64l*-*-elf*) 900 targ_defvec=bfd_elf32_sh64l_vec 901 targ_selvecs="bfd_elf32_sh64_vec bfd_elf64_sh64l_vec bfd_elf64_sh64_vec bfd_elf32_shl_vec bfd_elf32_sh_vec" 902 targ_underscore=yes 903 ;; 904 sh64-*-elf*) 905 targ_defvec=bfd_elf32_sh64_vec 906 targ_selvecs="bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec bfd_elf32_sh_vec bfd_elf32_shl_vec" 907 targ_underscore=yes 908 ;; 909 sh64eb-*-linux*) 910 targ_defvec=bfd_elf32_shblin_vec 911 targ_selvecs="bfd_elf32_shblin_vec bfd_elf32_sh64_vec bfd_elf64_sh64_vec bfd_elf32_sh_vec" 912 ;; 913 sh64-*-linux*) 914 targ_defvec=bfd_elf32_shlin_vec 915 targ_selvecs="bfd_elf32_shlin_vec bfd_elf32_sh64l_vec bfd_elf64_sh64l_vec bfd_elf32_shl_vec" 916 ;; 917#endif /* BFD64 */ 918 919 sh-*-linux*) 920 targ_defvec=bfd_elf32_shblin_vec 921 targ_selvecs=bfd_elf32_shlin_vec 922#ifdef BFD64 923 targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" 924#endif 925 ;; 926 sh*eb-*-linux*) 927 targ_defvec=bfd_elf32_shblin_vec 928 ;; 929 sh*-*-linux*) 930 targ_defvec=bfd_elf32_shlin_vec 931 ;; 932 933#ifdef BFD64 934 sh5le-*-netbsd*) 935 targ_defvec=bfd_elf32_sh64lnbsd_vec 936 targ_selvecs="bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec" 937 ;; 938 sh5-*-netbsd*) 939 targ_defvec=bfd_elf32_sh64nbsd_vec 940 targ_selvecs="bfd_elf32_sh64lnbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec" 941 ;; 942 943 sh64le-*-netbsd*) 944 targ_defvec=bfd_elf64_sh64lnbsd_vec 945 targ_selvecs="bfd_elf64_sh64nbsd_vec bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec" 946 ;; 947 sh64-*-netbsd*) 948 targ_defvec=bfd_elf64_sh64nbsd_vec 949 targ_selvecs="bfd_elf64_sh64lnbsd_vec bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec" 950 ;; 951#endif 952 953 shle-*-netbsdelf*) 954 targ_defvec=bfd_elf32_shlnbsd_vec 955 targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec" 956#ifdef BFD64 957 targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" 958#endif 959 ;; 960 sh*le-*-netbsdelf*) 961 targ_defvec=bfd_elf32_shlnbsd_vec 962 targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec" 963 ;; 964 sh-*-netbsdelf*) 965 targ_defvec=bfd_elf32_shnbsd_vec 966 targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec" 967#ifdef BFD64 968 targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" 969#endif 970 ;; 971 sh*-*-netbsdelf*) 972 targ_defvec=bfd_elf32_shnbsd_vec 973 targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec" 974 ;; 975 976 shl*-*-elf* | sh[1234]l*-*-elf* | sh3el*-*-elf*) 977 targ_defvec=bfd_elf32_shl_vec 978 targ_selvecs="bfd_elf32_sh_vec shlcoff_vec shcoff_vec shlcoff_small_vec shcoff_small_vec" 979#ifdef BFD64 980 targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" 981#endif 982 targ_underscore=yes 983 ;; 984 sh-*-elf* | sh[1234]*-elf* | sh-*-rtemself*) 985 targ_defvec=bfd_elf32_sh_vec 986 targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec" 987#ifdef BFD64 988 targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" 989#endif 990 targ_underscore=yes 991 ;; 992 sh-*-pe) 993 targ_defvec=shlpe_vec 994 targ_selvecs="shlpe_vec shlpei_vec" 995 targ_underscore=yes 996 ;; 997 sh-*-* | sh-*-rtems*) 998 targ_defvec=shcoff_vec 999 targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec" 1000 targ_underscore=yes 1001 ;; 1002 1003 sparclet-*-aout*) 1004 targ_defvec=sunos_big_vec 1005 targ_selvecs=sparcle_aout_vec 1006 targ_underscore=yes 1007 ;; 1008 sparc86x-*-aout*) 1009 targ_defvec=sunos_big_vec 1010 targ_underscore=yes 1011 ;; 1012 sparclite-*-elf* | sparc86x-*-elf*) 1013 targ_defvec=bfd_elf32_sparc_vec 1014 ;; 1015 sparc*-*-chorus*) 1016 targ_defvec=bfd_elf32_sparc_vec 1017 ;; 1018 sparc-*-linux*aout*) 1019 targ_defvec=sparclinux_vec 1020 targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec" 1021 targ_underscore=yes 1022 ;; 1023 sparc-*-linux-gnu*) 1024 targ_defvec=bfd_elf32_sparc_vec 1025 targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec" 1026 ;; 1027 sparc-*-lynxos*) 1028 targ_defvec=sparclynx_coff_vec 1029 targ_selvecs=sparclynx_aout_vec 1030 ;; 1031 sparc-*-netbsdelf*) 1032 targ_defvec=bfd_elf32_sparc_vec 1033 targ_selvecs=sparcnetbsd_vec 1034 ;; 1035 sparc-*-netbsdaout* | sparc-*-netbsd*) 1036 targ_defvec=sparcnetbsd_vec 1037 targ_selvecs=bfd_elf32_sparc_vec 1038 targ_underscore=yes 1039 ;; 1040 sparc-*-openbsd*) 1041 targ_defvec=sparcnetbsd_vec 1042 targ_underscore=yes 1043 ;; 1044 sparc-*-elf* | sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) 1045 targ_defvec=bfd_elf32_sparc_vec 1046 targ_selvecs=sunos_big_vec 1047 ;; 1048#ifdef BFD64 1049 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) 1050 targ_defvec=bfd_elf32_sparc_vec 1051 targ_selvecs="bfd_elf64_sparc_vec sunos_big_vec" 1052 ;; 1053#endif 1054 sparc-*-sysv4*) 1055 targ_defvec=bfd_elf32_sparc_vec 1056 ;; 1057 sparc-*-netware*) 1058 targ_defvec=bfd_elf32_sparc_vec 1059 targ_selvecs="nlm32_sparc_vec sunos_big_vec" 1060 ;; 1061#ifdef BFD64 1062 sparc64-*-aout*) 1063 targ_defvec=sunos_big_vec 1064 targ_underscore=yes 1065 ;; 1066 sparc64-*-linux-gnu*) 1067 targ_defvec=bfd_elf64_sparc_vec 1068 targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec" 1069 ;; 1070 sparc64-*-elf*) 1071 targ_defvec=bfd_elf64_sparc_vec 1072 targ_selvecs=bfd_elf32_sparc_vec 1073 ;; 1074#endif /* BFD64 */ 1075 sparc*-*-coff*) 1076 targ_defvec=sparccoff_vec 1077 ;; 1078 sparc*-*-rtemsaout*) 1079 targ_defvec=sunos_big_vec 1080 targ_selvecs="bfd_elf32_sparc_vec sparccoff_vec" 1081 targ_underscore=yes 1082 ;; 1083 sparc*-*-rtems* | sparc*-*-rtemself*) 1084 targ_defvec=bfd_elf32_sparc_vec 1085 targ_selvecs="sunos_big_vec sparccoff_vec" 1086 ;; 1087 sparc*-*-* | sparc*-*-rtems*) 1088 targ_defvec=sunos_big_vec 1089 targ_underscore=yes 1090 ;; 1091 1092#if HAVE_host_aout_vec 1093 tahoe-*-*) 1094 targ_defvec=host_aout_vec 1095 targ_underscore=yes 1096 ;; 1097#endif 1098 1099 tic80*-*-*) 1100 targ_defvec=tic80coff_vec 1101 targ_underscore=yes 1102 ;; 1103 1104 1105 v850-*-*) 1106 targ_defvec=bfd_elf32_v850_vec 1107 ;; 1108 v850e-*-*) 1109 targ_defvec=bfd_elf32_v850_vec 1110 ;; 1111 v850ea-*-*) 1112 targ_defvec=bfd_elf32_v850_vec 1113 ;; 1114 1115 vax-*-netbsdelf*) 1116 targ_defvec=bfd_elf32_vax_vec 1117 targ_selvecs="vaxnetbsd_vec vax1knetbsd_vec" 1118 ;; 1119 1120 vax-*-netbsdaout* | vax-*-netbsd*) 1121 targ_defvec=vaxnetbsd_vec 1122 targ_selvecs="bfd_elf32_vax_vec vax1knetbsd_vec" 1123 targ_underscore=yes 1124 ;; 1125 1126 vax-*-bsd* | vax-*-ultrix*) 1127 targ_defvec=vaxbsd_vec 1128 targ_underscore=yes 1129 ;; 1130 1131 vax*-*-*vms*) 1132 targ_defvec=vms_vax_vec 1133 ;; 1134 1135 we32k-*-*) 1136 targ_defvec=we32kcoff_vec 1137 ;; 1138 1139 w65-*-*) 1140 targ_defvec=w65_vec 1141 ;; 1142 1143 xstormy16-*-elf) 1144 targ_defvec=bfd_elf32_xstormy16_vec 1145 ;; 1146 1147 z8k*-*-*) 1148 targ_defvec=z8kcoff_vec 1149 targ_underscore=yes 1150 ;; 1151 1152 *-*-ieee*) 1153 targ_defvec=ieee_vec 1154 ;; 1155 1156 *-adobe-*) 1157 targ_defvec=a_out_adobe_vec 1158 targ_underscore=yes 1159 ;; 1160 1161 *-sony-*) 1162 targ_defvec=newsos3_vec 1163 targ_underscore=yes 1164 ;; 1165 1166 *-tandem-*) 1167 targ_defvec=m68kcoff_vec 1168 targ_selvecs=ieee_vec 1169 ;; 1170# END OF targmatch.h 1171 *) 1172 echo 1>&2 "*** BFD does not support target ${targ}." 1173 echo 1>&2 "*** Look in bfd/config.bfd for supported targets." 1174 exit 1 1175 ;; 1176esac 1177 1178case "${host64}${want64}" in 1179 *true*) 1180 targ_selvecs="${targ_selvecs} ${targ64_selvecs}" 1181 ;; 1182esac 1183 1184# If we support any ELF target, then automatically add support for the 1185# generic ELF targets. This permits an objdump with some ELF support 1186# to be used on an arbitrary ELF file for anything other than 1187# relocation information. 1188case "${targ_defvec} ${targ_selvecs}" in 1189 *bfd_elf64*) 1190 targ_selvecs="${targ_selvecs} bfd_elf64_little_generic_vec bfd_elf64_big_generic_vec bfd_elf32_little_generic_vec bfd_elf32_big_generic_vec" 1191 ;; 1192 *bfd_elf32*) 1193 targ_selvecs="${targ_selvecs} bfd_elf32_little_generic_vec bfd_elf32_big_generic_vec" 1194 ;; 1195esac 1196