diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-31 15:13:31 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-31 15:15:33 -0500 |
commit | 44b30b7f0e6fccb3fc678c84a8c2ad7d19b4a679 (patch) | |
tree | f37000a4c52e2b51705407c94365f64d8915f493 /sim/v850/simops.c | |
parent | 3c811346e93eb83eecadc738102103719c8a0f1f (diff) | |
download | fsf-binutils-gdb-44b30b7f0e6fccb3fc678c84a8c2ad7d19b4a679.zip fsf-binutils-gdb-44b30b7f0e6fccb3fc678c84a8c2ad7d19b4a679.tar.gz fsf-binutils-gdb-44b30b7f0e6fccb3fc678c84a8c2ad7d19b4a679.tar.bz2 |
sim: v850: fix handling of SYS_times
My recent rewrite of the nltvals generator fixed a bug where SYS_times
was not being exported for v850. But that in turn uncovered this bug
where the SYS_times codepath had a compile error.
Diffstat (limited to 'sim/v850/simops.c')
-rw-r--r-- | sim/v850/simops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/v850/simops.c b/sim/v850/simops.c index 93185b6..421afee 100644 --- a/sim/v850/simops.c +++ b/sim/v850/simops.c @@ -1904,7 +1904,7 @@ OP_10007E0 (void) store_mem (PARM1 + 4, 4, tms.tms_stime); store_mem (PARM1 + 8, 4, tms.tms_cutime); store_mem (PARM1 + 12, 4, tms.tms_cstime); - reterr = errno; + RETERR = errno; break; } #endif |