X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fconfig.bfd;h=e19e4b37487205b9706d7e1af55fad6267793c48;hb=081e778cb855581fe63a9b26aa582900da5d1a8b;hp=6391f35684edae49b150068fdff90ef33672cbbc;hpb=bb11866d6a635fadb9285d18e2fb819d2de2c28c;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/config.bfd b/bfd/config.bfd index 6391f35684..e19e4b3748 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -1,6 +1,6 @@ # config.bfd # -# Copyright (C) 2012-2018 Free Software Foundation, Inc. +# Copyright (C) 2012-2020 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ case $targ in echo "*** Use or1k-*-elf or or1k-*-linux as the target instead" >&2 exit 1 ;; - powerpc-*-lynxos* | powerpc-*-windiss* | \ + powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin* | \ null) if test "x$enable_obsolete" != xyes; then echo "*** Configuration $targ is obsolete." >&2 @@ -85,6 +85,8 @@ case $targ in arm-*-oabi | \ arm-*-riscix* | \ arm-epoc-pe* | \ + c30-*-*aout* | tic30-*-*aout* | \ + cr16c-*-* | \ h8300*-*-coff | \ h8500*-*-coff | \ hppa*-*-rtems* | \ @@ -139,6 +141,7 @@ case $targ in mips*-dec-* | \ mips*-sgi-* | \ mips*el-*-rtems* | \ + powerpc-*-lynxos* | powerpc-*-windiss* | \ sh*-*-symbianelf* | sh5*-*-* | sh64*-*-* | \ sparc*-*-*aout* | \ sparc*-*-chorus* | \ @@ -170,6 +173,7 @@ c54x*) targ_archs=bfd_tic54x_arch ;; cr16*) targ_archs=bfd_cr16_arch ;; crisv32) targ_archs=bfd_cris_arch ;; crx*) targ_archs=bfd_crx_arch ;; +csky*) targ_archs=bfd_csky_arch ;; dlx*) targ_archs=bfd_dlx_arch ;; fido*) targ_archs=bfd_m68k_arch ;; hppa*) targ_archs=bfd_hppa_arch ;; @@ -204,7 +208,7 @@ wasm32) targ_archs=bfd_wasm32_arch ;; x86_64*) targ_archs=bfd_i386_arch ;; xtensa*) targ_archs=bfd_xtensa_arch ;; xgate) targ_archs=bfd_xgate_arch ;; -z80|r800) targ_archs=bfd_z80_arch ;; +z80*|r800|z180|gbz80|ez80*) targ_archs=bfd_z80_arch ;; z8k*) targ_archs=bfd_z8k_arch ;; *) targ_archs=bfd_${targ_cpu}_arch ;; esac @@ -216,11 +220,6 @@ esac # convention, else the table becomes a real mess to understand and maintain. case "${targ}" in - plugin) - targ_defvec=plugin_vec - targ_selvecs="plugin_vec" - ;; - # START OF targmatch.h #ifdef BFD64 aarch64-*-darwin*) @@ -415,9 +414,6 @@ case "${targ}" in targ_underscore=yes ;; - c30-*-*aout* | tic30-*-*aout*) - targ_defvec=tic30_aout_vec - ;; c30-*-*coff* | tic30-*-*coff*) targ_defvec=tic30_coff_vec ;; @@ -439,11 +435,6 @@ case "${targ}" in targ_underscore=yes ;; - cr16c-*-elf*) - targ_defvec=cr16c_elf32_vec - targ_underscore=yes - ;; - #ifdef BFD64 cris-*-* | crisv32-*-*) targ_defvec=cris_aout_vec @@ -461,6 +452,11 @@ case "${targ}" in targ_underscore=yes ;; + csky-*-elf* | csky-*-linux* ) + targ_defvec=csky_elf32_le_vec + targ_selvecs="csky_elf32_be_vec csky_elf32_le_vec" + ;; + d10v-*-*) targ_defvec=d10v_elf32_vec ;; @@ -474,6 +470,14 @@ case "${targ}" in targ_defvec=d30v_elf32_vec ;; +#ifdef BFD64 + bpf-*-none) + targ_defvec=bpf_elf64_le_vec + targ_selvecs=bpf_elf64_be_vec + targ_underscore=yes + ;; +#endif + epiphany-*-*) targ_defvec=epiphany_elf32_vec targ_underscore=yes @@ -571,10 +575,6 @@ case "${targ}" in want64=true ;; #endif - i[3-7]86-*-kaos*) - targ_defvec=i386_elf32_vec - targ_selvecs=i386_elf32_vec - ;; i[3-7]86-*-nto*) targ_defvec=i386_elf32_vec targ_selvecs="iamcu_elf32_vec i386_coff_vec" @@ -699,7 +699,7 @@ case "${targ}" in ;; x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep | x86_64-*-cygwin) targ_defvec=x86_64_pe_vec - 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" + targ_selvecs="x86_64_pe_vec x86_64_pei_vec x86_64_pe_big_vec x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec i386_pe_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec" want64=true targ_underscore=no ;; @@ -749,17 +749,13 @@ case "${targ}" in ;; i[3-7]86-*-mingw32* | i[3-7]86-*-cygwin* | i[3-7]86-*-winnt | i[3-7]86-*-pe) targ_defvec=i386_pe_vec - targ_selvecs="i386_pe_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec" + targ_selvecs="i386_pe_vec i386_pe_big_vec i386_pei_vec i386_elf32_vec iamcu_elf32_vec" targ_underscore=yes ;; i[3-7]86-*-vxworks*) targ_defvec=i386_elf32_vxworks_vec targ_underscore=yes ;; - i[3-7]86-*-chaos) - targ_defvec=i386_elf32_vec - targ_selfvecs="iamcu_elf32_vec i386chaos_vec" - ;; ia16-*-elf) targ_defvec=i386_elf32_vec @@ -1060,7 +1056,7 @@ case "${targ}" in want64=true ;; #ifdef BFD64 - powerpc64-*-aix5.[01] | rs6000-*-aix5.[01]) + powerpc64-*-aix5.[01]) targ_defvec=rs6000_xcoff64_aix_vec targ_selvecs="rs6000_xcoff_vec" want64=true @@ -1073,7 +1069,7 @@ case "${targ}" in want64=true ;; #ifdef BFD64 - powerpc64-*-aix[5-9]* | rs6000-*-aix[5-9]*) + powerpc64-*-aix[5-9]*) targ_cflags=-DAIX_WEAK_SUPPORT targ_defvec=rs6000_xcoff64_aix_vec targ_selvecs="rs6000_xcoff_vec" @@ -1196,6 +1192,10 @@ case "${targ}" in targ_selvecs="rx_elf32_be_vec rx_elf32_le_vec rx_elf32_be_ns_vec" targ_underscore=yes ;; + rx-*-linux*) + targ_defvec=rx_elf32_linux_le_vec + targ_selvecs="rx_elf32_linux_le_vec" + ;; s390-*-linux*) targ_defvec=s390_elf32_vec @@ -1331,11 +1331,6 @@ case "${targ}" in targ_selvecs="tic6x_elf32_linux_be_vec tic6x_elf32_le_vec tic6x_elf32_be_vec" ;; - tic80*-*-*) - targ_defvec=tic80_coff_vec - targ_underscore=yes - ;; - #ifdef BFD64 tilegx-*-*) targ_defvec=tilegx_elf64_le_vec @@ -1390,6 +1385,10 @@ case "${targ}" in targ_selvecs="wasm_vec" ;; + xc16x-*-elf) + targ_defvec=xc16x_elf32_vec + ;; + xgate-*-*) targ_defvec=xgate_elf32_vec targ_selvecs="xgate_elf32_vec" @@ -1403,21 +1402,29 @@ case "${targ}" in targ_defvec=xtensa_elf32_le_vec targ_selvecs=xtensa_elf32_be_vec ;; - xc16x-*-elf) - targ_defvec=xc16x_elf32_vec - ;; - z80-*-*) + z80-*-coff) targ_defvec=z80_coff_vec targ_underscore=no ;; + z80-*-elf) + targ_defvec=z80_elf32_vec + targ_underscore=no + ;; + z8k*-*-*) targ_defvec=z8k_coff_vec targ_underscore=yes ;; # END OF targmatch.h + bpf-*-*) + echo "*** Configuration $targ is not fully supported." >&2 + echo "*** Use bpf or bpf-*-none as the target instead." >&2 + exit 1 + ;; + *) echo 1>&2 "*** BFD does not support target ${targ}." echo 1>&2 "*** Look in bfd/config.bfd for supported targets."