diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-09 10:31:53 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-11 01:44:21 +0700 |
commit | 2ce92948fca5b6112748c201efe44bd603b01a4c (patch) | |
tree | ec42abcc783e0576690fa88045e856bbd9eba1c3 /sim/common/sim-cpu.h | |
parent | 6ee0b6ea1e8c52b8562d9d7c3ac6da3c5bed2d0e (diff) | |
download | binutils-users/vapier/sim/cpu-uni.zip binutils-users/vapier/sim/cpu-uni.tar.gz binutils-users/vapier/sim/cpu-uni.tar.bz2 |
[wip] always compile in cgen logicusers/vapier/sim/cpu-uni
see if sizeof cgen structs differ in some way.
Diffstat (limited to 'sim/common/sim-cpu.h')
-rw-r--r-- | sim/common/sim-cpu.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sim/common/sim-cpu.h b/sim/common/sim-cpu.h index 90e294e..8994a19 100644 --- a/sim/common/sim-cpu.h +++ b/sim/common/sim-cpu.h @@ -28,9 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* Type of function to return an insn name. */ typedef const char * (CPU_INSN_NAME_FN) (sim_cpu *, int); -#ifdef CGEN_ARCH -# include "cgen-cpu.h" -#endif +#include "cgen-cpu.h" /* Types for register access functions. These routines implement the sim_{fetch,store}_register interface. */ @@ -123,11 +121,9 @@ struct _sim_cpu { PC_STORE_FN *pc_store; #define CPU_PC_STORE(c) ((c)->pc_store) -#ifdef CGEN_ARCH /* Static parts of cgen. */ CGEN_CPU cgen_cpu; #define CPU_CGEN_CPU(cpu) ((cpu)->cgen_cpu) -#endif /* Pointer for sim target to store arbitrary cpu data. Normally the target should define a struct and use it here. */ |