diff options
Diffstat (limited to 'src/runtime/panic.go')
-rw-r--r-- | src/runtime/panic.go | 2 |
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)) |