mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: power64 is now ppc64
Fixes #8654. LGTM=austin R=austin CC=golang-codereviews https://golang.org/cl/180600043
This commit is contained in:
parent
dcb2ec3b65
commit
09d92b6bbf
74 changed files with 131 additions and 135 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue