Add unlink support to moxie simulator
authorAnthony Green <green@moxielogic.com>
Sat, 14 Dec 2019 10:23:20 +0000 (05:23 -0500)
committerAnthony Green <green@moxielogic.com>
Sat, 14 Dec 2019 10:33:39 +0000 (05:33 -0500)
commitfb46334198d8d4f82133033758cb75f086d864ad
treea1b9c5c9d574ad58a94e7c8240edae8a4a22feec
parentff8577f64987a898e1dc5eb6afb66a404fb7bb16
Add unlink support to moxie simulator

This change adds support for the unlink system call, which is
required by the GCC testsuite.  It also switches read/write/open
system calls to use the sim_io_* functions.

2019-12-14  Anthony Green  <green@moxielogic.com>

* interp.c (sim_engine_run): Make use of sim_io_* functions for
read/write/open system calls.  Implement the unlink system call.
sim/moxie/ChangeLog
sim/moxie/interp.c