]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: fix trampoline generation on AIX
authorCherry Zhang <cherryyz@google.com>
Thu, 16 Apr 2020 03:11:52 +0000 (23:11 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 16 Apr 2020 14:36:05 +0000 (14:36 +0000)
commit025bca87462aa549c97dbd28387604ca50963ede
treee0927b07763b223ddde042295e7f889e9140eb93
parentc7c72378a3b698fb9cb8a8145c8ebd11b8259541
[dev.link] cmd/link: fix trampoline generation on AIX

The addend should be applied to the target symbol, not the TOC
symbol.

Change-Id: I0a14873cdcafc4ede401878882646dade9cd8e3b
Reviewed-on: https://go-review.googlesource.com/c/go/+/228479
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ppc64/asm.go