]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: replace -I$srcroot/opcodes include with -I$srcroot
authorMike Frysinger <vapier@gentoo.org>
Sun, 1 Jan 2023 14:55:07 +0000 (09:55 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 2 Jan 2023 04:14:19 +0000 (23:14 -0500)
Clean up includes a bit by making ports include opcodes/ headers
explicitly.  This matches other projects, and makes it more clear
where these headers are coming from.

12 files changed:
sim/bpf/sim-main.h
sim/common/Make-common.in
sim/cris/sim-main.h
sim/frv/profile.h
sim/frv/sim-main.h
sim/iq2000/sim-main.h
sim/lm32/sim-main.h
sim/m32c/trace.c
sim/m32r/sim-main.h
sim/microblaze/interp.c
sim/microblaze/microblaze.h
sim/or1k/sim-main.h

index 812ab7e165d448ffbeff07af87965ba28d5eeab5..d1d68d12e76129a49d77ebdda2edd34cd499b02d 100644 (file)
@@ -20,8 +20,8 @@
 #define SIM_MAIN_H
 
 #include "sim-basics.h"
-#include "bpf-desc.h"
-#include "bpf-opc.h"
+#include "opcodes/bpf-desc.h"
+#include "opcodes/bpf-opc.h"
 #include "arch.h"
 #include "sim-base.h"
 #include "cgen-sim.h"
index 8d9585287c7c2b36463f9bc11ffeb77dcf82e434..2aeb97d7c44382df3861cad8b0ba116afc73fdc6 100644 (file)
@@ -119,7 +119,7 @@ CONFIG_CFLAGS = \
 CSEARCH = -I. -I$(srcdir) -I$(srccom) \
   -I$(srcroot)/include \
   -I../../bfd -I$(srcroot)/bfd \
-  -I$(srcroot)/opcodes \
+  -I$(srcroot) \
   -I../..
 ALL_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH) $(INCGNU) $(SIM_EXTRA_CFLAGS) $(CFLAGS)
 BUILD_CFLAGS = $(CFLAGS_FOR_BUILD) $(CSEARCH)
index a56005ae3a306d2a6df99e02419f2fed3eea005c..abebe2bafc1f59052aba07e24ec095d2bab66d6b 100644 (file)
@@ -30,8 +30,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #define WITH_SCACHE_PBB 1
 
 #include "sim-basics.h"
-#include "cris-desc.h"
-#include "cris-opc.h"
+#include "opcodes/cris-desc.h"
+#include "opcodes/cris-opc.h"
 #include "arch.h"
 #include "sim-base.h"
 #include "cgen-sim.h"
index 051b0154272277ec5438b1bf3141d6e8b436b615..8c29ed722ac43940e604475d4037362507042771 100644 (file)
@@ -20,7 +20,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #ifndef PROFILE_H
 #define PROFILE_H
 
-#include "frv-desc.h"
+#include "opcodes/frv-desc.h"
 
 /* This struct defines the state of profiling.  All fields are of general
    use to all machines.  */
index c292c6407a39fdbac7cb12d82e91bf7b91c01c96..f2fbcce2b21400b3bdbb375ddd62759b755d7a5e 100644 (file)
@@ -28,9 +28,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #define WITH_SCACHE_PBB 0
 
 #include "sim-basics.h"
-#include "frv-desc.h"
+#include "opcodes/frv-desc.h"
 #include <stdbool.h>
-#include "frv-opc.h"
+#include "opcodes/frv-opc.h"
 #include "arch.h"
 
 #define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) \
index 2398e30b9a104ff21879de77e3a133b58e9a1054..dcd7ed4682f89a8c52a8850870ec44f7868c15ce 100644 (file)
@@ -10,8 +10,8 @@
 #define WITH_SCACHE_PBB 1
 
 #include "sim-basics.h"
-#include "iq2000-desc.h"
-#include "iq2000-opc.h"
+#include "opcodes/iq2000-desc.h"
+#include "opcodes/iq2000-opc.h"
 #include "arch.h"
 
 /* Pull in IQ2000_{DATA,INSN}_{MASK,VALUE}.  */
index d7590e4fbd72c12d62d61cb8324bba2e5e692dde..82e81988ce5437c5da96a7edafecb2988c381b8f 100644 (file)
@@ -26,8 +26,8 @@
 #define WITH_SCACHE_PBB 1
 
 #include "sim-basics.h"
-#include "lm32-desc.h"
-#include "lm32-opc.h"
+#include "opcodes/lm32-desc.h"
+#include "opcodes/lm32-opc.h"
 #include "arch.h"
 #include "sim-base.h"
 #include "cgen-sim.h"
index e9ea424c0fe888db8f5723dc278eef33837d740b..be796b147edb30acd813d1db9fe4920d3707a446 100644 (file)
@@ -31,7 +31,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "bfd.h"
 #include "dis-asm.h"
-#include "m32c-desc.h"
+#include "opcodes/m32c-desc.h"
 
 #include "cpu.h"
 #include "mem.h"
index 9a52563f25a214a74d5c17dcf5970d52651cf21c..89502f2240e384a25a12d85cfe30e942764116b6 100644 (file)
@@ -9,8 +9,8 @@
 #define WITH_SCACHE_PBB 1
 
 #include "sim-basics.h"
-#include "m32r-desc.h"
-#include "m32r-opc.h"
+#include "opcodes/m32r-desc.h"
+#include "opcodes/m32r-opc.h"
 #include "arch.h"
 #include "sim-base.h"
 #include "cgen-sim.h"
index 7bd06d513399426c61c26c591d1c88666b4ea9d4..a4f505e77a8dbaf6714f6940340dd817f4279c92 100644 (file)
@@ -34,7 +34,7 @@
 #include "sim-syscall.h"
 
 #include "microblaze-sim.h"
-#include "microblaze-dis.h"
+#include "opcodes/microblaze-dis.h"
 
 #define target_big_endian (CURRENT_TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
 
index a09a1697fc2d63975e2ef13046ab6c50c1d3dd2c..328e8253168ff59a0a0a579723ad9c504310eb70 100644 (file)
@@ -18,7 +18,7 @@
    You should have received a copy of the GNU General Public License
    along with this program; if not, see <http://www.gnu.org/licenses/>.  */
 
-#include "../../opcodes/microblaze-opcm.h"
+#include "opcodes/microblaze-opcm.h"
 
 #define GET_RD ((inst & RD_MASK) >> RD_LOW)
 #define GET_RA ((inst & RA_MASK) >> RA_LOW)
index 8b340c587daff93447e5206eeedc998037cae0e8..326bc079f700afc17de1aeed6e06c39522835333 100644 (file)
@@ -21,8 +21,8 @@
 
 #define WITH_SCACHE_PBB 1
 
-#include "or1k-desc.h"
-#include "or1k-opc.h"
+#include "opcodes/or1k-desc.h"
+#include "opcodes/or1k-opc.h"
 #include "sim-basics.h"
 #include "arch.h"
 #include "sim-base.h"