Remove we32k support
authorAlan Modra <amodra@gmail.com>
Mon, 16 Apr 2018 05:54:43 +0000 (15:24 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Apr 2018 05:54:43 +0000 (15:24 +0930)
include/
* coff/we32k.h: Delete.
bfd/
* Makefile.am: Remove we32k support.
* archures.c: Likewise.
* coffcode.h: Likewise.
* config.bfd: Likewise.
* configure.ac: Likewise.
* targets.c: Likewise.
* coff-we32k.c: Delete.
* cpu-we32k.c: Delete.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
opcodes/
* configure.ac: Remove we32k support.
* configure: Regenerate.
bintuils/
* testsuite/binutils-all/objdump.exp: Remove we32k support.

20 files changed:
bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
bfd/archures.c
bfd/bfd-in2.h
bfd/coff-we32k.c [deleted file]
bfd/coffcode.h
bfd/config.bfd
bfd/configure
bfd/configure.ac
bfd/cpu-we32k.c [deleted file]
bfd/po/SRC-POTFILES.in
bfd/targets.c
binutils/ChangeLog
binutils/testsuite/binutils-all/objdump.exp
include/ChangeLog
include/coff/we32k.h [deleted file]
opcodes/ChangeLog
opcodes/configure
opcodes/configure.ac

index 9746112..4e81da9 100644 (file)
@@ -1,5 +1,20 @@
 2018-04-16  Alan Modra  <amodra@gmail.com>
 
+       * Makefile.am: Remove we32k support.
+       * archures.c: Likewise.
+       * coffcode.h: Likewise.
+       * config.bfd: Likewise.
+       * configure.ac: Likewise.
+       * targets.c: Likewise.
+       * coff-we32k.c: Delete.
+       * cpu-we32k.c: Delete.
+       * Makefile.in: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * configure: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
+2018-04-16  Alan Modra  <amodra@gmail.com>
+
        * Makefile.am: Remove m88k support.
        * aoutx.h: Likewise.
        * archures.c: Likewise.
index b9dfa98..9a097b1 100644 (file)
@@ -165,7 +165,6 @@ ALL_MACHINES = \
        cpu-visium.lo \
        cpu-w65.lo \
        cpu-wasm32.lo \
-       cpu-we32k.lo \
        cpu-xc16x.lo \
        cpu-xgate.lo \
        cpu-xstormy16.lo \
@@ -250,7 +249,6 @@ ALL_MACHINES_CFILES = \
        cpu-visium.c \
        cpu-wasm32.c \
        cpu-w65.c \
-       cpu-we32k.c \
        cpu-xc16x.c \
        cpu-xgate.c \
        cpu-xstormy16.c \
@@ -289,7 +287,6 @@ BFD32_BACKENDS = \
        coff-tic80.lo \
        coff-u68k.lo \
        coff-w65.lo \
-       coff-we32k.lo \
        coff-z80.lo \
        coff-z8k.lo \
        coffgen.lo \
@@ -466,7 +463,6 @@ BFD32_BACKENDS_CFILES = \
        coff-tic80.c \
        coff-u68k.c \
        coff-w65.c \
-       coff-we32k.c \
        coff-z80.c \
        coff-z8k.c \
        coffgen.c \
index 05ee2aa..fe87949 100644 (file)
@@ -498,7 +498,6 @@ ALL_MACHINES = \
        cpu-visium.lo \
        cpu-w65.lo \
        cpu-wasm32.lo \
-       cpu-we32k.lo \
        cpu-xc16x.lo \
        cpu-xgate.lo \
        cpu-xstormy16.lo \
@@ -583,7 +582,6 @@ ALL_MACHINES_CFILES = \
        cpu-visium.c \
        cpu-wasm32.c \
        cpu-w65.c \
-       cpu-we32k.c \
        cpu-xc16x.c \
        cpu-xgate.c \
        cpu-xstormy16.c \
@@ -623,7 +621,6 @@ BFD32_BACKENDS = \
        coff-tic80.lo \
        coff-u68k.lo \
        coff-w65.lo \
-       coff-we32k.lo \
        coff-z80.lo \
        coff-z8k.lo \
        coffgen.lo \
@@ -800,7 +797,6 @@ BFD32_BACKENDS_CFILES = \
        coff-tic80.c \
        coff-u68k.c \
        coff-w65.c \
-       coff-we32k.c \
        coff-z80.c \
        coff-z8k.c \
        coffgen.c \
@@ -1308,7 +1304,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coff-tic80.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coff-u68k.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coff-w65.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coff-we32k.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coff-x86_64.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coff-z80.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coff-z8k.Plo@am__quote@
@@ -1393,7 +1388,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-visium.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-w65.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-wasm32.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-we32k.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-xc16x.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-xgate.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-xstormy16.Plo@am__quote@
index 083d684..1c5bfdf 100644 (file)
@@ -217,7 +217,6 @@ DESCRIPTION
 .#define bfd_mach_iamcu                        (1 << 8)
 .#define bfd_mach_i386_iamcu           (bfd_mach_i386_i386 | bfd_mach_iamcu)
 .#define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax)
-.  bfd_arch_we32k,     {* AT&T WE32xxx.  *}
 .  bfd_arch_romp,      {* IBM ROMP PC/RT.  *}
 .  bfd_arch_convex,    {* Convex.  *}
 .  bfd_arch_m98k,      {* Motorola 98xxx.  *}
@@ -635,7 +634,6 @@ extern const bfd_arch_info_type bfd_vax_arch;
 extern const bfd_arch_info_type bfd_visium_arch;
 extern const bfd_arch_info_type bfd_wasm32_arch;
 extern const bfd_arch_info_type bfd_w65_arch;
-extern const bfd_arch_info_type bfd_we32k_arch;
 extern const bfd_arch_info_type bfd_xstormy16_arch;
 extern const bfd_arch_info_type bfd_xtensa_arch;
 extern const bfd_arch_info_type bfd_xc16x_arch;
@@ -722,7 +720,6 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
     &bfd_visium_arch,
     &bfd_w65_arch,
     &bfd_wasm32_arch,
-    &bfd_we32k_arch,
     &bfd_xstormy16_arch,
     &bfd_xtensa_arch,
     &bfd_xc16x_arch,
@@ -1208,10 +1205,6 @@ bfd_default_scan (const bfd_arch_info_type *info, const char *string)
       number = bfd_mach_mcf_isa_aplus_emac;
       break;
 
-    case 32000:
-      arch = bfd_arch_we32k;
-      break;
-
     case 3000:
       arch = bfd_arch_mips;
       number = bfd_mach_mips3000;
index aa804d7..9ebe628 100644 (file)
@@ -2092,7 +2092,6 @@ enum bfd_architecture
 #define bfd_mach_iamcu                 (1 << 8)
 #define bfd_mach_i386_iamcu            (bfd_mach_i386_i386 | bfd_mach_iamcu)
 #define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax)
-  bfd_arch_we32k,     /* AT&T WE32xxx.  */
   bfd_arch_romp,      /* IBM ROMP PC/RT.  */
   bfd_arch_convex,    /* Convex.  */
   bfd_arch_m98k,      /* Motorola 98xxx.  */
diff --git a/bfd/coff-we32k.c b/bfd/coff-we32k.c
deleted file mode 100644 (file)
index a71e0ad..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/* BFD back-end for we32k COFF files.
-   Copyright (C) 1992-2018 Free Software Foundation, Inc.
-   Contributed by Brendan Kehoe (brendan@cs.widener.edu).
-
-   This file is part of BFD, the Binary File Descriptor library.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
-   MA 02110-1301, USA.  */
-
-#include "sysdep.h"
-#include "bfd.h"
-#include "libbfd.h"
-#include "coff/we32k.h"
-#include "coff/internal.h"
-#include "libcoff.h"
-
-#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER (3)
-
-static reloc_howto_type howto_table[] =
-{
-    EMPTY_HOWTO (0),
-    EMPTY_HOWTO (1),
-    EMPTY_HOWTO (2),
-    EMPTY_HOWTO (3),
-    EMPTY_HOWTO (4),
-    EMPTY_HOWTO (5),
-  HOWTO(R_DIR32,              0,  2,   32, FALSE, 0,complain_overflow_bitfield, 0, "dir32",    TRUE, 0xffffffff,0xffffffff, FALSE),
-    EMPTY_HOWTO (7),
-    EMPTY_HOWTO (010),
-    EMPTY_HOWTO (011),
-    EMPTY_HOWTO (012),
-    EMPTY_HOWTO (013),
-    EMPTY_HOWTO (014),
-    EMPTY_HOWTO (015),
-    EMPTY_HOWTO (016),
-  HOWTO(R_RELBYTE,            0,  0,   8,  FALSE, 0, complain_overflow_bitfield, 0, "8",       TRUE, 0x000000ff,0x000000ff, FALSE),
-  HOWTO(R_RELWORD,            0,  1,   16, FALSE, 0, complain_overflow_bitfield, 0, "16",      TRUE, 0x0000ffff,0x0000ffff, FALSE),
-  HOWTO(R_RELLONG,            0,  2,   32, FALSE, 0, complain_overflow_bitfield, 0, "32",      TRUE, 0xffffffff,0xffffffff, FALSE),
-  HOWTO(R_PCRBYTE,            0,  0,   8,  TRUE,  0, complain_overflow_signed, 0, "DISP8",    TRUE, 0x000000ff,0x000000ff, FALSE),
-  HOWTO(R_PCRWORD,            0,  1,   16, TRUE,  0, complain_overflow_signed, 0, "DISP16",   TRUE, 0x0000ffff,0x0000ffff, FALSE),
-  HOWTO(R_PCRLONG,            0,  2,   32, TRUE,  0, complain_overflow_signed, 0, "DISP32",   TRUE, 0xffffffff,0xffffffff, FALSE),
-};
-
-#define NUM_HOWTOS (sizeof (howto_table) / sizeof (howto_table[0]))
-
-/* Turn a howto into a reloc  nunmber */
-
-#define SELECT_RELOC(x,howto) { x.r_type = howto->type; }
-#define BADMAG(x) WE32KBADMAG(x)
-#define WE32K  1
-
-#define RTYPE2HOWTO(cache_ptr, dst)                            \
-  ((cache_ptr)->howto =                                                \
-   ((dst)->r_type < NUM_HOWTOS                                 \
-    ? howto_table + (dst)->r_type                              \
-    : NULL))
-
-#ifndef bfd_pe_print_pdata
-#define bfd_pe_print_pdata     NULL
-#endif
-
-#include "coffcode.h"
-
-#define coff_write_armap bsd_write_armap
-
-CREATE_BIG_COFF_TARGET_VEC (we32k_coff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE)
index 7ec9567..12c84c4 100644 (file)
@@ -2271,12 +2271,6 @@ coff_set_arch_mach_hook (bfd *abfd, void * filehdr)
       break;
 #endif
 
-#ifdef WE32KMAGIC
-    case WE32KMAGIC:
-      arch = bfd_arch_we32k;
-      break;
-#endif
-
 #ifdef SH_ARCH_MAGIC_BIG
     case SH_ARCH_MAGIC_BIG:
     case SH_ARCH_MAGIC_LITTLE:
@@ -2852,12 +2846,6 @@ coff_set_flags (bfd * abfd,
       return TRUE;
 #endif
 
-#ifdef WE32KMAGIC
-    case bfd_arch_we32k:
-      *magicp = WE32KMAGIC;
-      return TRUE;
-#endif
-
 #ifdef RS6000COFF_C
     case bfd_arch_rs6000:
 #ifndef PPCMAGIC
@@ -3899,7 +3887,7 @@ coff_write_object_contents (bfd * abfd)
     internal_a.magic = APOLLO_COFF_VERSION_NUMBER;
 #endif
 
-#if defined(M68) || defined(WE32K) || defined(M68K)
+#if defined(M68) || defined(M68K)
 #define __A_MAGIC_SET__
 #if defined(LYNXOS)
     internal_a.magic = LYNXCOFFMAGIC;
@@ -3914,7 +3902,7 @@ coff_write_object_contents (bfd * abfd)
 #endif
 #endif /* TARG_AUX */
 #endif /* LYNXOS */
-#endif /* M68 || WE32K || M68K */
+#endif /* M68 || M68K */
 
 #if defined(ARM)
 #define __A_MAGIC_SET__
index 5ff00a2..a0c1c10 100644 (file)
@@ -104,7 +104,6 @@ case $targ in
  sparc64-*-aout* | \
  sparc*-*-coff* | \
  vax-*-bsd* | vax-*-ultrix* | \
- we32k-*-* | \
  w65-*-* | \
  sh5*-*-* | sh64*-*-* | \
  null)
@@ -144,6 +143,7 @@ case $targ in
  sparc-*-lynxos* | \
  tahoe-*-* | \
  vax-*-vms* | \
+ we32k-*-* | \
  null)
     echo "*** Configuration $targ is obsolete." >&2
     echo "*** Support has been REMOVED." >&2
@@ -1723,10 +1723,6 @@ case "${targ}" in
     targ_selvecs="wasm_vec"
     ;;
 
-  we32k-*-*)
-    targ_defvec=we32k_coff_vec
-    ;;
-
   w65-*-*)
     targ_defvec=w65_coff_vec
     ;;
index 8b40c1d..c8d6b21 100755 (executable)
@@ -14628,7 +14628,6 @@ do
     w65_coff_vec)               tb="$tb coff-w65.lo reloc16.lo $coffgen" ;;
     wasm_vec)                    tb="$tb wasm-module.lo" ;;
     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
-    we32k_coff_vec)             tb="$tb coff-we32k.lo $coffgen" ;;
     x86_64_coff_vec)            tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
     x86_64_elf32_vec)           tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
     x86_64_elf32_nacl_vec)      tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
index de836c9..5b5bfc1 100644 (file)
@@ -705,7 +705,6 @@ do
     w65_coff_vec)               tb="$tb coff-w65.lo reloc16.lo $coffgen" ;;
     wasm_vec)                    tb="$tb wasm-module.lo" ;;
     wasm32_elf32_vec)            tb="$tb elf32-wasm32.lo elf32.lo $elf" ;;
-    we32k_coff_vec)             tb="$tb coff-we32k.lo $coffgen" ;;
     x86_64_coff_vec)            tb="$tb coff-x86_64.lo $coff"; target_size=64 ;;
     x86_64_elf32_vec)           tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
     x86_64_elf32_nacl_vec)      tb="$tb elf64-x86-64.lo elfxx-x86.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
diff --git a/bfd/cpu-we32k.c b/bfd/cpu-we32k.c
deleted file mode 100644 (file)
index e64b9d0..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/* bfd back-end for we32k support
-   Copyright (C) 1992-2018 Free Software Foundation, Inc.
-   Contributed by Brendan Kehoe (brendan@cs.widener.edu).
-
-   This file is part of BFD, the Binary File Descriptor library.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
-   MA 02110-1301, USA.  */
-
-#include "sysdep.h"
-#include "bfd.h"
-#include "libbfd.h"
-
-const bfd_arch_info_type bfd_we32k_arch =
-  {
-    32,        /* 32 bits in a word */
-    32,        /* 32 bits in an address */
-    8, /* 8 bits in a byte */
-    bfd_arch_we32k,
-    32000,     /* only 1 machine */
-    "we32k",
-    "we32k:32000",
-    3,
-    TRUE, /* the one and only */
-    bfd_default_compatible,
-    bfd_default_scan ,
-    bfd_arch_default_fill,
-    0,
-  };
index 89c519d..b6007b5 100644 (file)
@@ -43,7 +43,6 @@ coff-tic54x.c
 coff-tic80.c
 coff-u68k.c
 coff-w65.c
-coff-we32k.c
 coff-x86_64.c
 coff-z80.c
 coff-z8k.c
@@ -130,7 +129,6 @@ cpu-vax.c
 cpu-visium.c
 cpu-w65.c
 cpu-wasm32.c
-cpu-we32k.c
 cpu-xc16x.c
 cpu-xgate.c
 cpu-xstormy16.c
index 549ef89..4ba9652 100644 (file)
@@ -886,7 +886,6 @@ extern const bfd_target visium_elf32_vec;
 extern const bfd_target w65_coff_vec;
 extern const bfd_target wasm_vec;
 extern const bfd_target wasm32_elf32_vec;
-extern const bfd_target we32k_coff_vec;
 extern const bfd_target x86_64_coff_vec;
 extern const bfd_target x86_64_elf32_vec;
 extern const bfd_target x86_64_elf32_nacl_vec;
@@ -1388,8 +1387,6 @@ static const bfd_target * const _bfd_target_vector[] =
        &wasm_vec,
        &wasm32_elf32_vec,
 
-       &we32k_coff_vec,
-
 #ifdef BFD64
        &x86_64_coff_vec,
        &x86_64_elf32_vec,
index e025529..9ff778c 100644 (file)
@@ -1,5 +1,9 @@
 2018-04-16  Alan Modra  <amodra@gmail.com>
 
+       * testsuite/binutils-all/objdump.exp: Remove we32k support.
+
+2018-04-16  Alan Modra  <amodra@gmail.com>
+
        * MAINTAINERS (Mark Kettenis): Move to past maintainers.
        * testsuite/binutils-all/objdump.exp: Remove m88k support.
 
index 0c13422..b9232e9 100644 (file)
@@ -40,7 +40,7 @@ lappend cpus_expected m16c m32c m32r m68hc11 m68hc12 m68k MCore mep c5 h1 MicroB
 lappend cpus_expected mips mn10200 mn10300 ms1 msp MSP430 nds32 n1h_v3 ns32k
 lappend cpus_expected or1k or1knd pj powerpc pyramid riscv romp rs6000 s390 sh sparc
 lappend cpus_expected tic54x tic80 tilegx tms320c30 tms320c4x tms320c54x
-lappend cpus_expected v850 vax we32k x86-64 xscale xtensa z8k z8001 z8002
+lappend cpus_expected v850 vax x86-64 xscale xtensa z8k z8001 z8002
 
 # Make sure the target CPU shows up in the list.
 lappend cpus_expected ${target_cpu}
index d0a7a4a..a5301c9 100644 (file)
@@ -1,5 +1,9 @@
 2018-04-16  Alan Modra  <amodra@gmail.com>
 
+       * coff/we32k.h: Delete.
+
+2018-04-16  Alan Modra  <amodra@gmail.com>
+
        * coff/internal.h: Remove m88k support.
        * coff/m88k.h: Delete.
        * opcode/m88k.h: Delete.
diff --git a/include/coff/we32k.h b/include/coff/we32k.h
deleted file mode 100644 (file)
index ed9899b..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/* coff information for we32k
-   
-   Copyright (C) 2001-2018 Free Software Foundation, Inc.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-   
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-   
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
-   MA 02110-1301, USA.  */
-
-#define L_LNNO_SIZE 2
-#include "coff/external.h"
-
-/* Bits for f_flags:
-       F_RELFLG        relocation info stripped from file
-       F_EXEC          file is executable (no unresolved external references)
-       F_LNNO          line numbers stripped from file
-       F_LSYMS         local symbols stripped from file
-       F_AR32WR        file has byte ordering of an AR32WR machine (e.g. vax).  */
-
-#define F_RELFLG       (0x0001)
-#define F_EXEC         (0x0002)
-#define F_LNNO         (0x0004)
-#define F_LSYMS                (0x0008)
-#define        F_BM32B         (0020000)
-#define        F_BM32MAU       (0040000)
-
-#define        WE32KMAGIC      0x170   /* we32k sans transfer vector */
-#define FBOMAGIC       0x170   /* we32k sans transfer vector */
-#define MTVMAGIC       0x171   /* we32k with transfer vector */
-#define RBOMAGIC       0x172   /* reserved */
-#define WE32KBADMAG(x) (   ((x).f_magic != WE32KMAGIC) \
-                       && ((x).f_magic != FBOMAGIC) \
-                       && ((x).f_magic != RBOMAGIC) \
-                       && ((x).f_magic != MTVMAGIC))
-
-/* More names of "special" sections.  */
-#define _TV    ".tv"
-#define _INIT  ".init"
-#define _FINI  ".fini"
-
-/********************** RELOCATION DIRECTIVES **********************/
-
-struct external_reloc
-{
-  char r_vaddr[4];
-  char r_symndx[4];
-  char r_type[2];
-};
-
-#define RELOC struct external_reloc
-#define RELSZ 10
-
index 027ad69..a3dbbb3 100644 (file)
@@ -1,5 +1,10 @@
 2018-04-16  Alan Modra  <amodra@gmail.com>
 
+       * configure.ac: Remove we32k support.
+       * configure: Regenerate.
+
+2018-04-16  Alan Modra  <amodra@gmail.com>
+
        * Makefile.am: Remove m88k support.
        * configure.ac: Likewise.
        * disassemble.c: Likewise.
index 2315346..ed17030 100755 (executable)
@@ -12719,7 +12719,6 @@ if test x${all_targets} = xfalse ; then
        bfd_visium_arch)        ta="$ta visium-dis.lo visium-opc.lo" ;;
        bfd_w65_arch)           ta="$ta w65-dis.lo" ;;
         bfd_wasm32_arch)        ta="$ta wasm32-dis.lo" ;;
-       bfd_we32k_arch)         ;;
        bfd_xc16x_arch)         ta="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen=yes ;;
        bfd_xgate_arch)         ta="$ta xgate-dis.lo xgate-opc.lo" ;;
        bfd_xstormy16_arch)     ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;
index 558a4e9..2d31d40 100644 (file)
@@ -343,7 +343,6 @@ if test x${all_targets} = xfalse ; then
        bfd_visium_arch)        ta="$ta visium-dis.lo visium-opc.lo" ;;
        bfd_w65_arch)           ta="$ta w65-dis.lo" ;;
         bfd_wasm32_arch)        ta="$ta wasm32-dis.lo" ;;
-       bfd_we32k_arch)         ;;
        bfd_xc16x_arch)         ta="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen=yes ;;
        bfd_xgate_arch)         ta="$ta xgate-dis.lo xgate-opc.lo" ;;
        bfd_xstormy16_arch)     ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;