diff options
Diffstat (limited to 'src/cmd/internal/obj/link.go')
| -rw-r--r-- | src/cmd/internal/obj/link.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/internal/obj/link.go b/src/cmd/internal/obj/link.go index 8ebb2f4c62..c1f2260e76 100644 --- a/src/cmd/internal/obj/link.go +++ b/src/cmd/internal/obj/link.go @@ -585,6 +585,10 @@ func (ctxt *Link) FixedFrameSize() int64 { switch ctxt.Arch.Thechar { case '6', '8': return 0 + case '9': + // PIC code on ppc64le requires 32 bytes of stack, and it's easier to + // just use that much stack always on ppc64x. + return int64(4 * ctxt.Arch.Ptrsize) default: return int64(ctxt.Arch.Ptrsize) } |
