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.
This commit is contained in:
Mike Frysinger 2021-01-31 15:13:31 -05:00
parent 3c811346e9
commit 44b30b7f0e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2021-01-31 Mike Frysinger <vapier@gentoo.org>
* simops.c (OP_10007E0): Change reterr to RETERR.
2021-01-30 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
@ -1702,4 +1706,3 @@ Wed Aug 28 13:53:22 1996 Jeffrey A Law (law@cygnus.com)
* ChangeLog, Makefile.in, configure, configure.in, v850_sim.h,
gencode.c, interp.c, simops.c: Created.

View File

@ -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