]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: no need to set R9 to m for runtime.sigpanic anymore
authorShenghou Ma <minux@golang.org>
Mon, 11 Aug 2014 21:10:23 +0000 (17:10 -0400)
committerShenghou Ma <minux@golang.org>
Mon, 11 Aug 2014 21:10:23 +0000 (17:10 -0400)
Replaces CL 123980043 which I created on the dev.power64 branch.

LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/123120043

src/pkg/runtime/signal_arm.c

index 1f9a2325d18403b852362455ca980abe9127d880..3571cf3ac6715a38782a9bbc0e549dfb84ab46cf 100644 (file)
@@ -76,7 +76,6 @@ runtime·sighandler(int32 sig, Siginfo *info, void *ctxt, G *gp)
                        SIG_LR(info, ctxt) = gp->sigpc;
                // In case we are panicking from external C code
                SIG_R10(info, ctxt) = (uintptr)gp;
-               SIG_R9(info, ctxt) = (uintptr)g->m;
                SIG_PC(info, ctxt) = (uintptr)runtime·sigpanic;
                return;
        }