diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-22 19:26:25 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-07-22 19:26:25 +0000 |
commit | e1f9c8e824e6c9b9de799928f915ec97a26a1ef8 (patch) | |
tree | ae3bbb299b228450510ae8d145ba7768bb2e1a83 /libgloss | |
parent | e964bca8a89c2556bb4e152843e130da063f74f8 (diff) | |
download | newlib-e1f9c8e824e6c9b9de799928f915ec97a26a1ef8.zip newlib-e1f9c8e824e6c9b9de799928f915ec97a26a1ef8.tar.gz newlib-e1f9c8e824e6c9b9de799928f915ec97a26a1ef8.tar.bz2 |
2002-07-22 Aldy Hernandez <aldyh@redhat.com>
* rs6000/simulator.S (gettimeofday): New.
(getrusage): New.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/rs6000/simulator.S | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 407dbb9..becc8a0 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -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. diff --git a/libgloss/rs6000/simulator.S b/libgloss/rs6000/simulator.S index e8c1838..4e8becb 100644 --- a/libgloss/rs6000/simulator.S +++ b/libgloss/rs6000/simulator.S @@ -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 |