diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-22 22:01:19 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-22 22:06:12 -0500 |
commit | 6cf3ddd23ec1cf33f4b9f82d267e79741a2fdc48 (patch) | |
tree | e02be1dba5bfeb55f0bf55f6fcdb8678e2fd7259 /sim/d10v | |
parent | 4c337f2dd3df1f97d9dc17ace5708f5cdc4512dc (diff) | |
download | binutils-gdb-6cf3ddd23ec1cf33f4b9f82d267e79741a2fdc48.tar.gz |
sim: move bfd.h include out of sim-main.h
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.
Diffstat (limited to 'sim/d10v')
-rw-r--r-- | sim/d10v/sim-main.h | 1 | ||||
-rw-r--r-- | sim/d10v/simops.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sim/d10v/sim-main.h b/sim/d10v/sim-main.h index a6462d8c6a4..4e6771af70f 100644 --- a/sim/d10v/sim-main.h +++ b/sim/d10v/sim-main.h @@ -21,7 +21,6 @@ #include "sim-basics.h" #include "sim-base.h" -#include "bfd.h" #include "d10v_sim.h" diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c index 9883b3f5528..a2eb3677e7e 100644 --- a/sim/d10v/simops.c +++ b/sim/d10v/simops.c @@ -10,6 +10,8 @@ #endif #include <string.h> +#include "bfd.h" + #include "sim-main.h" #include "sim-signal.h" #include "simops.h" |