Re: [RFC] sim updates which fix some fileio.exp failures for v850-elf

Kevin Buettner
2011-03-21T22:12:39Z

On Fri, 11 Mar 2011 15:04:47 -0700
Kevin Buettner <kevinb@redhat.com> wrote:

> sim/common/ChangeLog:
>
> * gennltvals.sh: Search sys/_default_fcntl.h, in addition to
> fcntl.h and sys/fcntl.h, for constants.
> * nltvals.def: Regenerate.
> * sim-io.c (sim_io_stat, sim_io_fstat): New functions.
> * sim-io.h (sys/types.h, sys/stat.h): Include.
> (sim_io_stat, sim_io_fstat): Declare.
>
> sim/v850/ChangeLog:
>
> * simops (OP_10007E0): Update errno handling as most traps
> do not invoke the host's functionality directly. Invoke
> sim_io_stat() instead of stat() for implementing TARGET_SYS_stat.
> Implement TARGET_SYS_fstat, TARGET_SYS_rename, and TARGET_SYS_unlink.

Committed.

Kevin