diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 407dbb937..becc8a0e3 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2002-07-22 Aldy Hernandez + + * rs6000/simulator.S (gettimeofday): New. + (getrusage): New. + 2002-07-18 Chris Demetriou * 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 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