]> Cypherpunks repositories - gostls13.git/commit
cmd/link: on PPC64, put plt stubs at beginning of Textp
authorCherry Zhang <cherryyz@google.com>
Mon, 13 Mar 2017 12:24:46 +0000 (08:24 -0400)
committerCherry Zhang <cherryyz@google.com>
Wed, 15 Mar 2017 16:19:27 +0000 (16:19 +0000)
commit15b37655bc0b786d3cd6e41553263963fbebd642
tree80e908ea73c6147868bf8cc93ed6906f6b6832a3
parent43afcb5c969112332e46b4cb07bf2fd6497c3919
cmd/link: on PPC64, put plt stubs at beginning of Textp

Put call stubs at the beginning (instead of the end). So the
trampoline pass knows the addresses of the stubs, and it can
insert trampolines when necessary.

Fixes #19425.

Change-Id: I1e06529ef837a6130df58917315610d45a6819ca
Reviewed-on: https://go-review.googlesource.com/38131
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
src/cmd/link/internal/ppc64/asm.go