Skip to content

Commit

Permalink
disas: Rename include/disas/bfd.h back to include/disas/dis-asm.h
Browse files Browse the repository at this point in the history
Commit dc99065 (v0.1.0) added dis-asm.h from binutils.

Commit 43d4145 (v0.1.5) inlined bfd.h into dis-asm.h to remove the
dependency on binutils.

Commit 76cad71 (v1.4.0) moved dis-asm.h to include/disas/bfd.h.
The new name is confusing when you try to match against (pre GPLv3+)
binutils.  Rename it back.  Keep it in the same directory, of course.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190417191805.28198-17-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  • Loading branch information
Markus Armbruster committed Apr 18, 2019
1 parent 30cc983 commit 3979fca
Show file tree
Hide file tree
Showing 25 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion disas.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* General "disassemble this chunk" code. Used for debugging. */
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "elf.h"
#include "qemu/qemu-print.h"

Expand Down
2 changes: 1 addition & 1 deletion disas/alpha.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ along with this file; see the file COPYING. If not, see
<http://www.gnu.org/licenses/>. */

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

/* MAX is redefined below, so remove any previous definition. */
#undef MAX
Expand Down
2 changes: 1 addition & 1 deletion disas/arm-a64.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

extern "C" {
#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
}

#include "vixl/a64/disasm-a64.h"
Expand Down
2 changes: 1 addition & 1 deletion disas/arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
for things we don't care about. */

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

#define ARM_EXT_V1 0
#define ARM_EXT_V2 0
Expand Down
2 changes: 1 addition & 1 deletion disas/cris.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "target/cris/opcode-cris.h"

#define CONST_STRNEQ(STR1,STR2) (strncmp ((STR1), (STR2), sizeof (STR2) - 1) == 0)
Expand Down
2 changes: 1 addition & 1 deletion disas/hppa.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
along with this program; if not, see <http://www.gnu.org/licenses/>. */

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

/* HP PA-RISC SOM object file format: definitions internal to BFD.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
Expand Down
2 changes: 1 addition & 1 deletion disas/i386.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
the Intel manual for details. */

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "qemu/cutils.h"

/* include/opcode/i386.h r1.78 */
Expand Down
2 changes: 1 addition & 1 deletion disas/lm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

typedef enum {
LM32_OP_SRUI = 0, LM32_OP_NORI, LM32_OP_MULI, LM32_OP_SH, LM32_OP_LB,
Expand Down
2 changes: 1 addition & 1 deletion disas/m68k.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "qemu/osdep.h"
#include <math.h>

#include "disas/bfd.h"
#include "disas/dis-asm.h"

/* **** floatformat.h from sourceware.org CVS 2005-08-14. */
/* IEEE floating point support declarations, for GDB, the GNU Debugger.
Expand Down
2 changes: 1 addition & 1 deletion disas/microblaze.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ static const char pvr_register_prefix[] = "rpvr";

#endif /* MICROBLAZE_OPC */

#include "disas/bfd.h"
#include "disas/dis-asm.h"

#define get_field_rd(instr) get_field(instr, RD_MASK, RD_LOW)
#define get_field_r1(instr) get_field(instr, RA_MASK, RA_LOW)
Expand Down
2 changes: 1 addition & 1 deletion disas/mips.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>. */

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

/* mips.h. Mips opcode list for GDB, the GNU debugger.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Expand Down
2 changes: 1 addition & 1 deletion disas/moxie.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#define STATIC_TABLE
#define DEFINE_TABLE

#include "disas/bfd.h"
#include "disas/dis-asm.h"

static void *stream;

Expand Down
2 changes: 1 addition & 1 deletion disas/nanomips.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

extern "C" {
#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
}

#include <cstring>
Expand Down
2 changes: 1 addition & 1 deletion disas/nios2.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/*#include "bfd.h"*/
#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"


/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion disas/ppc.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
along with this file; see the file COPYING. If not,
see <http://www.gnu.org/licenses/>. */
#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#define BFD_DEFAULT_TARGET_SIZE 64

/* ppc.h -- Header file for PowerPC opcode table
Expand Down
2 changes: 1 addition & 1 deletion disas/riscv.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"


/* types */
Expand Down
2 changes: 1 addition & 1 deletion disas/s390.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

/* include/opcode/s390.h revision 1.9 */
/* s390.h -- Header file for S390 opcode table
Expand Down
2 changes: 1 addition & 1 deletion disas/sh4.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
along with this program; if not, see <http://www.gnu.org/licenses/>. */

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

#define DEFINE_TABLE

Expand Down
2 changes: 1 addition & 1 deletion disas/sparc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
see <http://www.gnu.org/licenses/>. */

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"

/* The SPARC opcode table (and other related data) is defined in
the opcodes library in sparc-opc.c. If you change anything here, make
Expand Down
2 changes: 1 addition & 1 deletion disas/tci.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "tcg/tcg.h"

/* Disassemble TCI bytecode. */
Expand Down
2 changes: 1 addition & 1 deletion disas/xtensa.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#include "qemu/osdep.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "hw/xtensa/xtensa-isa.h"

int print_insn_xtensa(bfd_vma memaddr, struct disassemble_info *info)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion include/qom/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define QEMU_CPU_H

#include "hw/qdev-core.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "exec/hwaddr.h"
#include "exec/memattrs.h"
#include "qapi/qapi-types-run-state.h"
Expand Down
2 changes: 1 addition & 1 deletion target/openrisc/disas.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "qemu/osdep.h"
#include "qemu-common.h"
#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "qemu/bitops.h"
#include "cpu.h"

Expand Down
2 changes: 1 addition & 1 deletion target/ppc/translate_init.inc.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/

#include "disas/bfd.h"
#include "disas/dis-asm.h"
#include "exec/gdbstub.h"
#include "kvm_ppc.h"
#include "sysemu/arch_init.h"
Expand Down

0 comments on commit 3979fca

Please sign in to comment.