]> Cypherpunks repositories - gostls13.git/commit
cmd/link: centralize knowledge of size of fixed part of stack
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 11 Oct 2015 23:19:20 +0000 (12:19 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 19 Oct 2015 20:28:16 +0000 (20:28 +0000)
commitd66f6c2c869c379f6b8ba54054ad8c3856bbb735
tree6b0536eea7fc9f9fc0a75e8a2a8423d4565eddf0
parentc23c8d58d694d03b6411f7cccad476f330cb5448
cmd/link: centralize knowledge of size of fixed part of stack

Shared libraries on ppc64le will require a larger minimum stack frame (because
the ABI mandates that the TOC pointer is available at 24(R1)). Part 2b of
preparing for that is to have all the code in the linker that needs to know
this size of this call a function to find out.

Change-Id: I246363840096db22e44beabbe38b61d60c1f31ad
Reviewed-on: https://go-review.googlesource.com/15675
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/link.go