From: Rob Pike Date: Tue, 29 Jul 2008 22:17:27 +0000 (-0700) Subject: fix a comment X-Git-Tag: weekly.2009-11-06~3404 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ebec99179fea9fb71b74bbb6efb0234a476b0f1b;p=gostls13.git fix a comment fix a register name R=gri OCL=13548 CL=13548 --- 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);