diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-03-24 12:06:04 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-03-31 18:58:53 -0700 |
commit | 801a7eab11e9050c64a229c6a24d2994df3ca0d4 (patch) | |
tree | 9fb4525a60d7d7c200a96fa9a9b376843a78cd37 /opcodes | |
parent | 89ab947e7fa451380e7fcbb236c600f4ebb14f0a (diff) | |
download | fsf-binutils-gdb-801a7eab11e9050c64a229c6a24d2994df3ca0d4.zip fsf-binutils-gdb-801a7eab11e9050c64a229c6a24d2994df3ca0d4.tar.gz fsf-binutils-gdb-801a7eab11e9050c64a229c6a24d2994df3ca0d4.tar.bz2 |
x86: Remove bfd_arch_l1om and bfd_arch_k1om
Remove bfd_arch_l1om and bfd_arch_k1om since L1OM/K1OM support has been
removed from gas, ld and opcodes.
bfd/
* Makefile.am (ALL_MACHINES): Remove cpu-l1om.lo and cpu-k1om.lo.
(ALL_MACHINES_CFILES): Remove cpu-l1om.c and cpu-k1om.c.
* archures.c (bfd_mach_l1om): Removed.
(bfd_mach_l1om_intel_syntax): Likewise.
(bfd_mach_k1om): Likewise.
(bfd_mach_k1om_intel_syntax): Likewise.
(bfd_k1om_arch): Likewise.
(bfd_l1om_arch): Likewise.
(bfd_archures_list): Remove bfd_k1om_arch and bfd_l1om_arch
references.
* config.bfd (targ_selvecs): Remove l1om_elf64_vec.
l1om_elf64_fbsd_vec, k1om_elf64_vec and k1om_elf64_fbsd_vec.
(targ_archs): Remove bfd_l1om_arch and bfd_k1om_arch.
* configure.ac (k1om_elf64_vec): Removed.
(k1om_elf64_fbsd_vec): Likewise.
(l1om_elf64_vec): Likewise.
(l1om_elf64_fbsd_vec): Likewise.
* cpu-k1om.c: Removed.
* cpu-l1om.c: Likewise.
* elf64-x86-64.c (elf64_l1om_elf_object_p): Removed.
(elf64_k1om_elf_object_p): Likewise.
(l1om_elf64_vec): Removed.
(l1om_elf64_fbsd_vec): Likewise.
(k1om_elf64_vec): Likewise.
(k1om_elf64_fbsd_vec): Likewise.
(ELF_TARGET_OS): Undefine.
* targets.c (_bfd_target_vector): Remove k1om_elf64_vec,
k1om_elf64_fbsd_vec, l1om_elf64_vec and l1om_elf64_fbsd_vec.
* Makefile.in: Regenerate.
* bfd-in2.h: Likewise.
* configure: Likewise.
opcodes/
* configure.ac: Remove bfd_arch_l1om/bfd_arch_k1om references.
* disassemble.c (disassembler): Likewise.
* configure: Regenerate.
Diffstat (limited to 'opcodes')
-rwxr-xr-x | opcodes/configure | 2 | ||||
-rw-r--r-- | opcodes/configure.ac | 2 | ||||
-rw-r--r-- | opcodes/disassemble.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/opcodes/configure b/opcodes/configure index 740d541..792c863 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -12515,7 +12515,7 @@ if test x${all_targets} = xfalse ; then bfd_moxie_arch) ta="$ta moxie-dis.lo moxie-opc.lo" ;; bfd_h8300_arch) ta="$ta h8300-dis.lo" ;; bfd_hppa_arch) ta="$ta hppa-dis.lo" ;; - bfd_i386_arch|bfd_iamcu_arch|bfd_l1om_arch|bfd_k1om_arch) + bfd_i386_arch|bfd_iamcu_arch) ta="$ta i386-dis.lo i386-opc.lo" ;; bfd_ia64_arch) ta="$ta ia64-dis.lo ia64-opc.lo" ;; bfd_ip2k_arch) ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;; diff --git a/opcodes/configure.ac b/opcodes/configure.ac index dc340c4..006a95d 100644 --- a/opcodes/configure.ac +++ b/opcodes/configure.ac @@ -281,7 +281,7 @@ if test x${all_targets} = xfalse ; then bfd_moxie_arch) ta="$ta moxie-dis.lo moxie-opc.lo" ;; bfd_h8300_arch) ta="$ta h8300-dis.lo" ;; bfd_hppa_arch) ta="$ta hppa-dis.lo" ;; - bfd_i386_arch|bfd_iamcu_arch|bfd_l1om_arch|bfd_k1om_arch) + bfd_i386_arch|bfd_iamcu_arch) ta="$ta i386-dis.lo i386-opc.lo" ;; bfd_ia64_arch) ta="$ta ia64-dis.lo ia64-opc.lo" ;; bfd_ip2k_arch) ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;; diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index e613935..1f1fde7 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -229,8 +229,6 @@ disassembler (enum bfd_architecture a, #ifdef ARCH_i386 case bfd_arch_i386: case bfd_arch_iamcu: - case bfd_arch_l1om: - case bfd_arch_k1om: disassemble = print_insn_i386; break; #endif |