]> Cypherpunks repositories - gostls13.git/commitdiff
fix a comment
authorRob Pike <r@golang.org>
Tue, 29 Jul 2008 22:17:27 +0000 (15:17 -0700)
committerRob Pike <r@golang.org>
Tue, 29 Jul 2008 22:17:27 +0000 (15:17 -0700)
fix a register name

R=gri
OCL=13548
CL=13548

src/runtime/rt1_amd64_linux.c
src/syscall/syscall.go

index 9f3d99e6ef114ec5ee815a7c3d800051a3759bd2..99700fdf8980ffb69e2b7221901137bc7ec0560e 100644 (file)
@@ -153,7 +153,7 @@ sighandler(int32 sig, siginfo* info, void** context)
         prints("\n\n");
         
        traceback((void *)sc->rip, (void *)sc->rsp, (void *)sc->r15);
-       tracebackothers((void*)sc->__r15);
+       tracebackothers((void*)sc->r15);
        print_sigcontext(sc);
 
        sys·breakpoint();
index 92753607477603cb00f99f39cd6a2328f0c737fc..8475001a77c43a39fc3879584ec7925c23363b82 100644 (file)
@@ -5,10 +5,7 @@
 package syscall
 
 /*
- * These calls have signatures that are independent of operating system.
- *
- * For simplicity of addressing in assembler, all integers are 64 bits
- * in these calling sequences (although it complicates some, such as pipe)
+ * Foundation of system call interface.
  */
 
 func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64);