diff options
author | Andreas Schwab <schwab@suse.de> | 2020-01-27 14:09:00 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2020-01-27 14:31:29 +0100 |
commit | 086b06f3c9daa4eee3c1ddd547af32553d1187d6 (patch) | |
tree | 7e5a274e50dc0f3f5120722ec38d640b1bc9559b /bfd | |
parent | bc31405ebb2c4297ae815ab59f59165014347528 (diff) | |
download | gdb-086b06f3c9daa4eee3c1ddd547af32553d1187d6.zip gdb-086b06f3c9daa4eee3c1ddd547af32553d1187d6.tar.gz gdb-086b06f3c9daa4eee3c1ddd547af32553d1187d6.tar.bz2 |
Remove cpu-plugin.c
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 11 | ||||
-rw-r--r-- | bfd/Makefile.am | 2 | ||||
-rw-r--r-- | bfd/Makefile.in | 3 | ||||
-rw-r--r-- | bfd/archures.c | 2 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 1 | ||||
-rw-r--r-- | bfd/cpu-plugin.c | 41 | ||||
-rw-r--r-- | bfd/po/SRC-POTFILES.in | 1 |
7 files changed, 11 insertions, 50 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3deba43..afa8928 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> diff --git a/bfd/Makefile.am b/bfd/Makefile.am index d32640a..7053a67 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -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 \ diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 78555cc..c055a9e 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -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@ diff --git a/bfd/archures.c b/bfd/archures.c index 2321038..89c7990 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -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; diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 7c13bc8..8144b16 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -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 index 23991c2..0000000 --- a/bfd/cpu-plugin.c +++ /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. */ -}; diff --git a/bfd/po/SRC-POTFILES.in b/bfd/po/SRC-POTFILES.in index dc5ef9e..2d00514 100644 --- a/bfd/po/SRC-POTFILES.in +++ b/bfd/po/SRC-POTFILES.in @@ -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 |