]> Cypherpunks repositories - gostls13.git/commit
cmd/link: fix trampoline generation for aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Wed, 20 Feb 2019 15:48:43 +0000 (16:48 +0100)
committerIan Lance Taylor <iant@golang.org>
Fri, 15 Mar 2019 04:15:59 +0000 (04:15 +0000)
commitcb8054a6b63975975b89c2901ce31f3be4fe7838
treec89b2b546237dcde78389f9982aa8e0a2f32ed9d
parentd06704a3c2c3bb668926c8d20b9d4855b7131148
cmd/link: fix trampoline generation for aix/ppc64

This commit fixes trampoline generation on aix/ppc64 which must use TOC
symbols.
It also adds a size to runtime.text.X symbols to prevent ld from moving
them, like runtime.text.

Change-Id: Ida033ec20ad8d7b7fb3faeb0ec4fa7bc4ce86b7e
Reviewed-on: https://go-review.googlesource.com/c/go/+/164009
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/xcoff.go
src/cmd/link/internal/ppc64/asm.go