]> sourceware.org Git - newlib-cygwin.git/commitdiff
* rs6000/simulator.S: Use conditional returns for documentation
authorGeoffrey Keating <geoffk@geoffk.org>
Tue, 5 Sep 2000 18:25:02 +0000 (18:25 +0000)
committerGeoffrey Keating <geoffk@geoffk.org>
Tue, 5 Sep 2000 18:25:02 +0000 (18:25 +0000)
purposes.
(access): Add new syscall.

libgloss/ChangeLog
libgloss/rs6000/simulator.S

index c5fadb8f6d0015f1a4c7e9b9f7cf3b79410f94af..875e1d5eaa4eb174f6e4d910e1a3061356b0bc44 100644 (file)
@@ -1,3 +1,9 @@
+2000-09-05  Geoff Keating  <geoffk@cygnus.com>
+
+       * rs6000/simulator.S: Use conditional returns for documentation
+       purposes.
+       (access): Add new syscall.
+
 Wed May 24 16:47:12 2000  Alexandre Oliva  <aoliva@cygnus.com>
 
        * mn10300/time.c (time): Set *tloc, since the sim doesn't.
index 1e925e02c6ae902180b6ee384b19b656189bcb3e..8859b5b3aef763c159c686ff94e7a9cbaf56f11b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * simulator.S -- PowerPC simulator system calls.
  *
- * Copyright (c) 1995 Cygnus Support
+ * Copyright (c) 1995, 2000 Cygnus Support
  *
  * The authors hereby grant permission to use, copy, modify, distribute,
  * and license this software and its documentation for any purpose, provided
@@ -33,47 +33,48 @@ FUNC_END(_exit)
 FUNC_START(read)
        li      r0,3
        sc
-       bns+    0f
+       bnslr+
        b       FUNC_NAME(_cerror)
-0:     blr
 FUNC_END(read)
 
 FUNC_START(write)
        li      r0,4
        sc
-       bns+    0f
+       bnslr+
        b       FUNC_NAME(_cerror)
-0:     blr
 FUNC_END(write)
 
 FUNC_START(open)
        li      r0,5
        sc
-       bns+    0f
+       bnslr+
        b       FUNC_NAME(_cerror)
-0:     blr
 FUNC_END(open)
 
 FUNC_START(close)
        li      r0,6
        sc
-       bns+    0f
+       bnslr+
        b       FUNC_NAME(_cerror)
-0:     blr
 FUNC_END(close)
 
 FUNC_START(brk)
        li      r0,17
        sc
-       bns+    0f
+       bnslr+
        b       FUNC_NAME(_cerror)
-0:     blr
 FUNC_END(brk)
 
+FUNC_START(access)
+       li      r0,33
+       sc
+       bnslr+
+       b       FUNC_NAME(_cerror)
+FUNC_END(access)
+
 FUNC_START(lseek)
        li      r0,199
        sc
-       bns+    0f
+       bnslr+
        b       FUNC_NAME(_cerror)
-0:     blr
 FUNC_END(lseek)
This page took 0.035804 seconds and 5 git commands to generate.