2002-07-22 Aldy Hernandez <aldyh@redhat.com>
* rs6000/simulator.S (gettimeofday): New. (getrusage): New.
This commit is contained in:
parent
e964bca8a8
commit
e1f9c8e824
@ -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>
|
2002-07-18 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
* read.c (read): Don't assign past end of buffer, fix return value.
|
* read.c (read): Don't assign past end of buffer, fix return value.
|
||||||
|
@ -79,6 +79,22 @@ FUNC_START(dup)
|
|||||||
b FUNC_NAME(_cerror)
|
b FUNC_NAME(_cerror)
|
||||||
FUNC_END(dup)
|
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)
|
FUNC_START(lseek)
|
||||||
li r0,199
|
li r0,199
|
||||||
sc
|
sc
|
||||||
|
Loading…
Reference in New Issue
Block a user