aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-07-29 15:17:27 -0700
committerRob Pike <r@golang.org>2008-07-29 15:17:27 -0700
commitebec99179fea9fb71b74bbb6efb0234a476b0f1b (patch)
treed2f9bb33bf8b47ad19df2b2adab3b64e397862ef /src
parente06d1540c88263ddd919936c0a7e8d451216abf2 (diff)
downloadgo-ebec99179fea9fb71b74bbb6efb0234a476b0f1b.tar.xz
fix a comment
fix a register name R=gri OCL=13548 CL=13548
Diffstat (limited to 'src')
-rw-r--r--src/runtime/rt1_amd64_linux.c2
-rw-r--r--src/syscall/syscall.go5
2 files changed, 2 insertions, 5 deletions
diff --git a/src/runtime/rt1_amd64_linux.c b/src/runtime/rt1_amd64_linux.c
index 9f3d99e6ef..99700fdf89 100644
--- a/src/runtime/rt1_amd64_linux.c
+++ b/src/runtime/rt1_amd64_linux.c
@@ -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();
diff --git a/src/syscall/syscall.go b/src/syscall/syscall.go
index 9275360747..8475001a77 100644
--- a/src/syscall/syscall.go
+++ b/src/syscall/syscall.go
@@ -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);