]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/ppc64: Fix ADUFFxxxx generation on aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Mon, 30 Sep 2019 09:24:19 +0000 (11:24 +0200)
committerCherry Zhang <cherryyz@google.com>
Tue, 1 Oct 2019 18:30:25 +0000 (18:30 +0000)
commit09c9bced825593aedfd79af5c35916392f43113c
tree06ac8a0d16dc9b9526f5b4cc0b4bd07f7088553c
parenta49067aab6eeff36d7219142ed52cc3db4d6c1d8
cmd/internal/obj/ppc64: Fix ADUFFxxxx generation on aix/ppc64

ADUFFCOPY and ADUFFZERO instructions weren't handled by rewriteToUseTOC.
These instructions are considered as a simple branch except with -dynlink
where they become an indirect call.

Fixes #34604

Change-Id: I16ca6a152164966fb9cbf792219a8a39aad2b53b
Reviewed-on: https://go-review.googlesource.com/c/go/+/197842
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/ppc64/obj9.go