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/rs6000 | |
parent | e964bca8a89c2556bb4e152843e130da063f74f8 (diff) | |
download | cygnal-e1f9c8e824e6c9b9de799928f915ec97a26a1ef8.tar.gz cygnal-e1f9c8e824e6c9b9de799928f915ec97a26a1ef8.tar.bz2 cygnal-e1f9c8e824e6c9b9de799928f915ec97a26a1ef8.zip |
2002-07-22 Aldy Hernandez <aldyh@redhat.com>
* rs6000/simulator.S (gettimeofday): New.
(getrusage): New.
Diffstat (limited to 'libgloss/rs6000')
-rw-r--r-- | libgloss/rs6000/simulator.S | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libgloss/rs6000/simulator.S b/libgloss/rs6000/simulator.S index e8c18380c..4e8becb28 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 |