summaryrefslogtreecommitdiff
path: root/src/runtime/panic.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-12-05 19:13:20 -0500
committerRuss Cox <rsc@golang.org>2014-12-05 19:13:20 -0500
commitffc214da93bb6958b83ded0eff1bd2de21e82431 (patch)
treeab17ef2c8f58390603cf2772d4905ca90e861b54 /src/runtime/panic.go
parent2c77ac0cd1a89e7966203f8f519a92fa19f0d66d (diff)
downloadgo-ffc214da93bb6958b83ded0eff1bd2de21e82431.tar.gz
all: power64 is now ppc64
Fixes issue 8654. LGTM=austin R=austin CC=golang-codereviews https://codereview.appspot.com/180600043
Diffstat (limited to 'src/runtime/panic.go')
-rw-r--r--src/runtime/panic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go
index 95e780b1d..7ec084acf 100644
--- a/src/runtime/panic.go
+++ b/src/runtime/panic.go
@@ -66,7 +66,7 @@ func deferproc(siz int32, fn *funcval) { // arguments of fn follow fn
// we can only call nosplit routines.
argp := uintptr(unsafe.Pointer(&fn))
argp += unsafe.Sizeof(fn)
- if GOARCH == "arm" || GOARCH == "power64" || GOARCH == "power64le" {
+ if GOARCH == "arm" || GOARCH == "ppc64" || GOARCH == "ppc64le" {
argp += ptrSize // skip caller's saved link register
}
callerpc := getcallerpc(unsafe.Pointer(&siz))