Skip to content

Commit f9bfc01

Browse files
committed
sim: drop unused targ-vals.h includes
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.
1 parent cd3ee89 commit f9bfc01

File tree

6 files changed

+0
-7
lines changed

6 files changed

+0
-7
lines changed

sim/common/sim-io.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include "sim-main.h"
2626
#include "sim-io.h"
2727
#include "sim/callback.h"
28-
#include "targ-vals.h"
2928

3029
#include <errno.h>
3130
#if HAVE_FCNTL_H

sim/common/sim-syscall.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#include "sim-main.h"
2626
#include "sim-syscall.h"
2727
#include "sim/callback.h"
28-
#include "targ-vals.h"
2928

3029
/* Read/write functions for system call interface. */
3130

sim/common/syscall.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#include <sys/types.h>
4242
#include <sys/stat.h>
4343
#include "sim/callback.h"
44-
#include "targ-vals.h"
4544

4645
#ifndef ENOSYS
4746
#define ENOSYS EINVAL

sim/m32r/traps.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "sim-syscall.h"
2727
#include "sim/callback.h"
2828
#include "syscall.h"
29-
#include "targ-vals.h"
3029
#include <dirent.h>
3130
#include <errno.h>
3231
#include <fcntl.h>

sim/msp430/msp430-sim.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "sim-main.h"
3333
#include "sim-signal.h"
3434
#include "sim-syscall.h"
35-
#include "targ-vals.h"
3635

3736
static sim_cia
3837
msp430_pc_fetch (SIM_CPU *cpu)

sim/riscv/sim-main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
#include "opcode/riscv.h"
3535

3636
#include "gdb/sim-riscv.h"
37-
38-
#include "targ-vals.h"
3937

4038
#define TRACE_REG(cpu, reg) \
4139
TRACE_REGISTER (cpu, "wrote %s = %#" PRIxTW, riscv_gpr_names_abi[reg], \

0 commit comments

Comments
 (0)