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.
This commit is contained in:
Mike Frysinger
2022-12-22 22:01:19 -05:00
parent 4c337f2dd3
commit 6cf3ddd23e
20 changed files with 16 additions and 13 deletions

View File

@@ -25,7 +25,6 @@ mips_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ER
#include "sim-basics.h"
#include "sim-base.h"
#include "bfd.h"
#include "elf-bfd.h"
#include "elf/mips.h"