* interp.c (trap): Implement time.
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 24 Jan 2001 13:17:01 +0000 (13:17 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 24 Jan 2001 13:17:01 +0000 (13:17 +0000)
sim/sh/ChangeLog
sim/sh/interp.c

index ae8773a187f627585d593982498fd7a5bcd71e06..9839e8dae8cfeaec802a97bd8d890c7161aebce5 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * interp.c (trap): Implement time.
+
 2000-10-24  Ben Elliston  <bje@redhat.com>
 
        * gencode.c (tab): Delimit strings with commas where applicable.
index 184422795583adce30c3b54172ebd135ab82d37c..7f7ffabb9fc948856a8516bd153972efc2f752a5 100644 (file)
@@ -1102,6 +1102,9 @@ trap (i, regs, memory, maskl, maskw, endianw)
              strnswap (regs[5], len);
              break;
            }
+         case SYS_time:
+           regs[0] = get_now ();
+           break;
          default:
            abort ();
          }