From 4f6c04da698648c16c8cdb484874de57bd0413b7 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 27 Jun 2022 11:12:57 +0200 Subject: [PATCH] bfd: prune config.bfd's setting of targ_archs The final "match all" case can take care of a few explicit entries: Purge those. Also move s12z* into proper position (the table is otherwise sorted, after all). --- bfd/config.bfd | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bfd/config.bfd b/bfd/config.bfd index 8dcb4e0de3c..a4c6c8e8854 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -198,16 +198,13 @@ fido*) targ_archs=bfd_m68k_arch ;; hppa*) targ_archs=bfd_hppa_arch ;; i[3-7]86) targ_archs=bfd_i386_arch ;; ia16) targ_archs=bfd_i386_arch ;; -lm32) targ_archs=bfd_lm32_arch ;; loongarch*) targ_archs=bfd_loongarch_arch ;; m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;; m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;; m68*) targ_archs=bfd_m68k_arch ;; -s12z*) targ_archs=bfd_s12z_arch ;; microblaze*) targ_archs=bfd_microblaze_arch ;; mips*) targ_archs=bfd_mips_arch ;; nds32*) targ_archs=bfd_nds32_arch ;; -nfp) targ_archs=bfd_nfp_arch ;; nios2*) targ_archs=bfd_nios2_arch ;; or1k*|or1knd*) targ_archs=bfd_or1k_arch ;; pdp11*) targ_archs=bfd_pdp11_arch ;; @@ -216,6 +213,7 @@ powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; pru*) targ_archs=bfd_pru_arch ;; riscv*) targ_archs=bfd_riscv_arch ;; rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; +s12z*) targ_archs=bfd_s12z_arch ;; s390*) targ_archs=bfd_s390_arch ;; sh*) targ_archs=bfd_sh_arch ;; sparc*) targ_archs=bfd_sparc_arch ;; @@ -224,10 +222,8 @@ tilegx*) targ_archs=bfd_tilegx_arch ;; tilepro*) targ_archs=bfd_tilepro_arch ;; v850*) targ_archs="bfd_v850_arch bfd_v850_rh850_arch" ;; visium*) targ_archs=bfd_visium_arch ;; -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|z180|gbz80|ez80*) targ_archs=bfd_z80_arch ;; z8k*) targ_archs=bfd_z8k_arch ;; *) targ_archs=bfd_${targ_cpu}_arch ;; -- 2.39.5