2002-07-22 Aldy Hernandez <aldyh@redhat.com>

* rs6000/simulator.S (gettimeofday): New.
        (getrusage): New.
This commit is contained in:
Jeff Johnston 2002-07-22 19:26:25 +00:00
parent e964bca8a8
commit e1f9c8e824
2 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-07-22 Aldy Hernandez <aldyh@redhat.com>
* rs6000/simulator.S (gettimeofday): New.
(getrusage): New.
2002-07-18 Chris Demetriou <cgd@broadcom.com>
* read.c (read): Don't assign past end of buffer, fix return value.

View File

@ -79,6 +79,22 @@ FUNC_START(dup)
b FUNC_NAME(_cerror)
FUNC_END(dup)
FUNC_START(gettimeofday)
li r0,116
sc
bns+ 0f
b FUNC_NAME(_cerror)
0: blr
FUNC_END(gettimeofday)
FUNC_START(getrusage)
li r0,117
sc
bns+ 0f
b FUNC_NAME(_cerror)
0: blr
FUNC_END(getrusage)
FUNC_START(lseek)
li r0,199
sc