From: Shenghou Ma Date: Mon, 11 Aug 2014 21:10:23 +0000 (-0400) Subject: runtime: no need to set R9 to m for runtime.sigpanic anymore X-Git-Tag: go1.4beta1~857 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4769f87e0d39cbcce5309ff79c82465629798d15;p=gostls13.git runtime: no need to set R9 to m for runtime.sigpanic anymore Replaces CL 123980043 which I created on the dev.power64 branch. LGTM=rsc R=rsc, iant CC=golang-codereviews https://golang.org/cl/123120043 --- diff --git a/src/pkg/runtime/signal_arm.c b/src/pkg/runtime/signal_arm.c index 1f9a2325d1..3571cf3ac6 100644 --- a/src/pkg/runtime/signal_arm.c +++ b/src/pkg/runtime/signal_arm.c @@ -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; }