sim: drop unused targ-vals.h includes
authorMike Frysinger <vapier@gentoo.org>
Wed, 7 Jul 2021 03:56:13 +0000 (23:56 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 31 Oct 2021 08:53:22 +0000 (04:53 -0400)
This is used in a few places where it's not needed.  Drop the include
to avoid the build-time generated header file as we move to drop it.

sim/common/sim-io.c
sim/common/sim-syscall.c
sim/common/syscall.c
sim/m32r/traps.c
sim/msp430/msp430-sim.c
sim/riscv/sim-main.c

index a5a7ff17b067fe0de28b638f0c8a503053d08018..7bb504c74296da22c44ff65819a45dddb84fbec9 100644 (file)
@@ -25,7 +25,6 @@
 #include "sim-main.h"
 #include "sim-io.h"
 #include "sim/callback.h"
-#include "targ-vals.h"
 
 #include <errno.h>
 #if HAVE_FCNTL_H
index f24d761ee8fec2e36b7086464b9410228cdd3010..1e83db2ae8a4720743b353688a654b63fdfed3bb 100644 (file)
@@ -25,7 +25,6 @@
 #include "sim-main.h"
 #include "sim-syscall.h"
 #include "sim/callback.h"
-#include "targ-vals.h"
 \f
 /* Read/write functions for system call interface.  */
 
index 6efddcfecde80abc0da203b153e8090e71f06713..e353d862504a93306c9d70e18139ded02a145af9 100644 (file)
@@ -41,7 +41,6 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include "sim/callback.h"
-#include "targ-vals.h"
 
 #ifndef ENOSYS
 #define ENOSYS EINVAL
index 2d7738b1f3cca3fd226db2d9393bea7d9352fbf5..0373cc7a408beabb6c020961c40d61631db048d1 100644 (file)
@@ -26,7 +26,6 @@
 #include "sim-syscall.h"
 #include "sim/callback.h"
 #include "syscall.h"
-#include "targ-vals.h"
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
index c9bb9c78db6f3e10dc3d9f382a5aad0c10e9d17e..6f1c14f759eec5f36957b4a8a76a79b2e43b728e 100644 (file)
@@ -32,7 +32,6 @@
 #include "sim-main.h"
 #include "sim-signal.h"
 #include "sim-syscall.h"
-#include "targ-vals.h"
 
 static sim_cia
 msp430_pc_fetch (SIM_CPU *cpu)
index 0faf9395ae5222217e7951d6e6a70a819b82100c..d2d4cddd291bc5a29abbc8a40a697018479a99fc 100644 (file)
@@ -34,8 +34,6 @@
 #include "opcode/riscv.h"
 
 #include "gdb/sim-riscv.h"
-
-#include "targ-vals.h"
 \f
 #define TRACE_REG(cpu, reg) \
   TRACE_REGISTER (cpu, "wrote %s = %#" PRIxTW, riscv_gpr_names_abi[reg], \