diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-01 10:07:28 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-01 23:17:07 -0500 |
commit | c217e3d54e17e2dcf6b02d109e219a1718ac130e (patch) | |
tree | 934ee7e632982cf1792392ea4542f2fd979cc20c /sim/mips | |
parent | 60a1031181a972a199fc64abddbdf9bcac20193a (diff) | |
download | gdb-c217e3d54e17e2dcf6b02d109e219a1718ac130e.zip gdb-c217e3d54e17e2dcf6b02d109e219a1718ac130e.tar.gz gdb-c217e3d54e17e2dcf6b02d109e219a1718ac130e.tar.bz2 |
sim: replace -I$srcroot/bfd include with -I$srcroot
Clean up includes a bit by making ports include bfd/ headers
explicitly. This matches other projects, and makes it more clear
where these headers are coming from.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/acinclude.m4 | 4 | ||||
-rw-r--r-- | sim/mips/interp.c | 2 | ||||
-rw-r--r-- | sim/mips/sim-main.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sim/mips/acinclude.m4 b/sim/mips/acinclude.m4 index 44219cb..f2dd97f 100644 --- a/sim/mips/acinclude.m4 +++ b/sim/mips/acinclude.m4 @@ -190,8 +190,8 @@ AS_VAR_IF([SIM_MIPS_GEN], ["MULTI"], [dnl #include "sim-main.h" #include "multi-include.h" -#include "elf-bfd.h" -#include "elfxx-mips.h" +#include "bfd/elf-bfd.h" +#include "bfd/elfxx-mips.h" #include "elf/mips.h" #define SD sd diff --git a/sim/mips/interp.c b/sim/mips/interp.c index d44c474a..e521963 100644 --- a/sim/mips/interp.c +++ b/sim/mips/interp.c @@ -47,7 +47,7 @@ code on the hardware. #include "getopt.h" #include "libiberty.h" #include "bfd.h" -#include "elf-bfd.h" +#include "bfd/elf-bfd.h" #include "sim/callback.h" /* GDB simulator callback interface */ #include "sim/sim.h" /* GDB simulator interface */ #include "sim-syscall.h" /* Simulator system call support */ diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 3be3773..d5a0dc8 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -25,7 +25,7 @@ mips_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ER #include "sim-basics.h" #include "sim-base.h" -#include "elf-bfd.h" +#include "bfd/elf-bfd.h" #include "elf/mips.h" /* Deprecated macros and types for manipulating 64bit values. Use |