diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-07-01 00:28:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-07-01 20:46:11 -0400 |
commit | fe41f7211abb7d50c172588fa0d5e45feb067590 (patch) | |
tree | 46618318325249c61fc839b589b54d8c70a2bed9 /sim/m32r/Makefile.in | |
parent | d4a0121347ad9890060709a2a7660e0ac58b4b84 (diff) | |
download | gdb-fe41f7211abb7d50c172588fa0d5e45feb067590.zip gdb-fe41f7211abb7d50c172588fa0d5e45feb067590.tar.gz gdb-fe41f7211abb7d50c172588fa0d5e45feb067590.tar.bz2 |
sim: m32r: unify ELF & Linux traps logic
This makes the simulator work the same regardless of the target (bare
metal m32r-elf or Linux m32r-linux-gnu) by unifying the traps code.
It was mostly already the same with the only difference being support
for trap #2 reserved for Linux syscalls. We can move that logic to
runtime by checking the current environment operating mode instead.
Diffstat (limited to 'sim/m32r/Makefile.in')
-rw-r--r-- | sim/m32r/Makefile.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sim/m32r/Makefile.in b/sim/m32r/Makefile.in index eb9641e..8877edc 100644 --- a/sim/m32r/Makefile.in +++ b/sim/m32r/Makefile.in @@ -22,7 +22,6 @@ M32R_OBJS = m32r.o cpu.o decode.o sem.o model.o mloop.o M32RX_OBJS = m32rx.o cpux.o decodex.o modelx.o mloopx.o M32R2_OBJS = m32r2.o cpu2.o decode2.o model2.o mloop2.o -TRAPS_OBJ = @traps_obj@ SIM_OBJS = \ $(SIM_NEW_COMMON_OBJS) \ @@ -32,7 +31,7 @@ SIM_OBJS = \ $(M32R_OBJS) \ $(M32RX_OBJS) \ $(M32R2_OBJS) \ - $(TRAPS_OBJ) + traps.o SIM_EXTRA_HW_DEVICES = m32r_cache m32r_uart @@ -42,8 +41,6 @@ SIM_EXTRA_DEPS = \ arch.h cpuall.h m32r-sim.h $(srcdir)/../../opcodes/m32r-desc.h \ eng.h engx.h eng2.h -SIM_EXTRA_CFLAGS = @sim_extra_cflags@ - SIM_EXTRA_CLEAN = m32r-clean # Code doesn't build cleanly yet. |