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

@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <stdlib.h>
#include "ansidecl.h"
#include "bfd.h"
#include "libiberty.h"
#include "sim/callback.h"
#include "sim/sim.h"