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/mips | |
parent | d4a0121347ad9890060709a2a7660e0ac58b4b84 (diff) | |
download | binutils-fe41f7211abb7d50c172588fa0d5e45feb067590.zip binutils-fe41f7211abb7d50c172588fa0d5e45feb067590.tar.gz binutils-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/mips')
0 files changed, 0 insertions, 0 deletions