Remove cpu-plugin.c
authorAndreas Schwab <schwab@suse.de>
Mon, 27 Jan 2020 13:09:00 +0000 (14:09 +0100)
committerAndreas Schwab <schwab@suse.de>
Mon, 27 Jan 2020 13:31:29 +0000 (14:31 +0100)
After commit 999d6dff80f cpu-plugin.c is no longer begin used.

* Makefile.am (ALL_MACHINES): Remove cpu-plugin.lo.
(ALL_MACHINES_CFILES): Remove cpu-plugin.c.
* Makefile.in: Regenerate.
* cpu-plugin.c: Remove.
* archures.c (enum bfd_architecture): Remove bfd_arch_plugin.
(bfd_plugin_arch): Remove declaration.
* bfd-in2.h: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
bfd/archures.c
bfd/bfd-in2.h
bfd/cpu-plugin.c [deleted file]
bfd/po/SRC-POTFILES.in

index 3deba430f13ebaf966376f52ddb299080478f56a..afa8928eecaf27faf6d8743c78c1e8376ee9f182 100644 (file)
@@ -1,3 +1,14 @@
+2020-01-27  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.am (ALL_MACHINES): Remove cpu-plugin.lo.
+       (ALL_MACHINES_CFILES): Remove cpu-plugin.c.
+       * Makefile.in: Regenerate.
+       * cpu-plugin.c: Remove.
+       * archures.c (enum bfd_architecture): Remove bfd_arch_plugin.
+       (bfd_plugin_arch): Remove declaration.
+       * bfd-in2.h: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+
 2020-01-27  H.J. Lu  <hongjiu.lu@intel.com>
            Alan Modra  <amodra@gmail.com>
 
index d32640a12c58af2265171b3571a359b7d6b2efed..7053a678a741a1e425f64b64b1bb368ecfdb28b3 100644 (file)
@@ -144,7 +144,6 @@ ALL_MACHINES = \
        cpu-or1k.lo \
        cpu-pdp11.lo \
        cpu-pj.lo \
-       cpu-plugin.lo \
        cpu-powerpc.lo \
        cpu-pru.lo \
        cpu-rs6000.lo \
@@ -229,7 +228,6 @@ ALL_MACHINES_CFILES = \
        cpu-or1k.c \
        cpu-pdp11.c \
        cpu-pj.c \
-       cpu-plugin.c \
        cpu-powerpc.c \
        cpu-pru.c \
        cpu-rs6000.c \
index 78555ccbbc20b1f6e4cb8ec35f666dfec0bba588..c055a9e4a213246d84ccbeff6772ded382c4a579 100644 (file)
@@ -568,7 +568,6 @@ ALL_MACHINES = \
        cpu-or1k.lo \
        cpu-pdp11.lo \
        cpu-pj.lo \
-       cpu-plugin.lo \
        cpu-powerpc.lo \
        cpu-pru.lo \
        cpu-rs6000.lo \
@@ -653,7 +652,6 @@ ALL_MACHINES_CFILES = \
        cpu-or1k.c \
        cpu-pdp11.c \
        cpu-pj.c \
-       cpu-plugin.c \
        cpu-powerpc.c \
        cpu-pru.c \
        cpu-rs6000.c \
@@ -1382,7 +1380,6 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-or1k.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-pdp11.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-pj.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-plugin.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-powerpc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-pru.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-riscv.Plo@am__quote@
index 232103817c1043eaa8aea7614ac28b5d0d493b5d..89c79900a83c94ba285940845d31edd6d1919c01 100644 (file)
@@ -232,7 +232,6 @@ DESCRIPTION
 .#define bfd_mach_h8300sx      6
 .#define bfd_mach_h8300sxn     7
 .  bfd_arch_pdp11,     {* DEC PDP-11.  *}
-.  bfd_arch_plugin,
 .  bfd_arch_powerpc,   {* PowerPC.  *}
 .#define bfd_mach_ppc          32
 .#define bfd_mach_ppc64                64
@@ -654,7 +653,6 @@ extern const bfd_arch_info_type bfd_ns32k_arch;
 extern const bfd_arch_info_type bfd_or1k_arch;
 extern const bfd_arch_info_type bfd_pdp11_arch;
 extern const bfd_arch_info_type bfd_pj_arch;
-extern const bfd_arch_info_type bfd_plugin_arch;
 extern const bfd_arch_info_type bfd_powerpc_archs[];
 #define bfd_powerpc_arch bfd_powerpc_archs[0]
 extern const bfd_arch_info_type bfd_pru_arch;
index 7c13bc8c91abf291f0206b6608b31955c5ea70d8..8144b167e0421afbc9ff2a5b0d22688d1c38c53e 100644 (file)
@@ -1615,7 +1615,6 @@ enum bfd_architecture
 #define bfd_mach_h8300sx       6
 #define bfd_mach_h8300sxn      7
   bfd_arch_pdp11,     /* DEC PDP-11.  */
-  bfd_arch_plugin,
   bfd_arch_powerpc,   /* PowerPC.  */
 #define bfd_mach_ppc           32
 #define bfd_mach_ppc64         64
diff --git a/bfd/cpu-plugin.c b/bfd/cpu-plugin.c
deleted file mode 100644 (file)
index 23991c2..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/* BFD support for plugins.
-   Copyright (C) 2009-2020 Free Software Foundation, Inc.
-
-   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_plugin_arch =
-{
-  32,  /* Bits in a word.  */
-  32,  /* Bits in an address.  */
-  8,   /* Bits in a byte.  */
-  bfd_arch_plugin,
-  0,   /* Only 1 machine.  */
-  "plugin",
-  "plugin",
-  3,
-  TRUE,
-  bfd_default_compatible,
-  bfd_default_scan,
-  bfd_arch_default_fill,
-  NULL,
-  0 /* Maximum offset of a reloc from the start of an insn.  */
-};
index dc5ef9e5efa758b681bcce7bef828769b33d5c0c..2d0051498c35a6f65f2ab1d4852e061fdc0a2f67 100644 (file)
@@ -99,7 +99,6 @@ cpu-ns32k.c
 cpu-or1k.c
 cpu-pdp11.c
 cpu-pj.c
-cpu-plugin.c
 cpu-powerpc.c
 cpu-pru.c
 cpu-riscv.c