Not all arches include this in sim-main.h, and the ones that do don't
actually use bfd defines in the sim-main.h header. Prune it to make
sim-main.h simpler so we can kill it off entirely in the future.
We add the include to the files that utilize e.g. bfd_vma though.
20 files changed:
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
#undef BIT
#include "armdefs.h"
#define CGEN_TRACE_H
#include "ansidecl.h"
+#include "bfd.h"
void cgen_trace_insn_init (SIM_CPU *, int);
void cgen_trace_insn_fini (SIM_CPU *, const struct argbuf *, int);
typedef struct _sim_cpu SIM_CPU;
typedef struct _sim_cpu sim_cpu;
+#include "bfd.h"
+
#include "sim-module.h"
#include "sim-arange.h"
#include <stdarg.h>
#include "ansidecl.h"
+#include "bfd.h"
#include "dis-asm.h"
/* Standard traceable entities. */
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
#include "cr16_sim.h"
#include <time.h>
#include <sys/time.h>
+#include "bfd.h"
+
#include "sim-main.h"
#include "sim-signal.h"
#include "simops.h"
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
#include "d10v_sim.h"
#endif
#include <string.h>
+#include "bfd.h"
+
#include "sim-main.h"
#include "sim-signal.h"
#include "simops.h"
#include "sim-basics.h"
#include "cgen-types.h"
#include "frv-desc.h"
+#include <stdbool.h>
#include "frv-opc.h"
#include "arch.h"
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
#include "ft32-sim.h"
/* Main header for the Hitachi h8/300 architecture. */
-#include "bfd.h"
-
#ifndef SIM_MAIN_H
#define SIM_MAIN_H
/* This must come before any other includes. */
#include "defs.h"
+#include "bfd.h"
+
#include "sim-main.h"
#include "sim-assert.h"
#include "sim-hw.h"
/* This must come before any other includes. */
#include "defs.h"
+#include "bfd.h"
+
#include "sim-main.h"
#include "sim-options.h"
#include "sim-signal.h"
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
-
#include "opcode/m68hc11.h"
#include "sim/sim.h"
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
/* The machine state.
This state is maintained in host byte order. The
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
#include "elf-bfd.h"
#include "elf/mips.h"
#include "sim-basics.h"
#include "sim-base.h"
-#include "bfd.h"
#define PCIDX 17
/* This must come before any other includes. */
#include "defs.h"
+#include "bfd.h"
+
#include "sim/callback.h"
#include "sim-main.h"
#include "sim-options.h"
#include <stdlib.h>
#include "ansidecl.h"
+#include "bfd.h"
#include "libiberty.h"
#include "sim/callback.h"
#include "sim/sim.h"
#include "sim-base.h"
#include "simops.h"
-#include "bfd.h"
-
typedef uint32_t reg_t;
typedef uint64_t reg64_t;