]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/m32r/ChangeLog
sim: m32r: unify ELF & Linux traps logic
authorMike Frysinger <vapier@gentoo.org>
Thu, 1 Jul 2021 04:28:10 +0000 (00:28 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 2 Jul 2021 00:46:11 +0000 (20:46 -0400)
commitfe41f7211abb7d50c172588fa0d5e45feb067590
tree46618318325249c61fc839b589b54d8c70a2bed9
parentd4a0121347ad9890060709a2a7660e0ac58b4b84
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.
sim/m32r/ChangeLog
sim/m32r/Makefile.in
sim/m32r/configure
sim/m32r/configure.ac
sim/m32r/sim-if.c
sim/m32r/sim-main.h
sim/m32r/traps-linux.c [deleted file]
sim/m32r/traps.c