]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: fix nacl/amd64p32 build
authorShenghou Ma <minux@golang.org>
Sat, 7 Mar 2015 06:44:24 +0000 (01:44 -0500)
committerMinux Ma <minux@golang.org>
Sat, 7 Mar 2015 07:09:04 +0000 (07:09 +0000)
commitcbc854a7993accd581c3ad2a58cb51788372e29c
tree867a308f1f286e2ed640553b126fad85f8c83666
parent3b00197017ad8ec903448fe203202602b0a466df
cmd/internal/obj/x86: fix nacl/amd64p32 build

some x86 instructions (e.g. PINSRW) might store memory address in Prog.From3,
so we must also rewrite Prog.From3 on nacl.

Change-Id: I2a0da0f692ba321eba17fbc454d68aaafa133515
Signed-off-by: Shenghou Ma <minux@golang.org>
Reviewed-on: https://go-review.googlesource.com/7074
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
src/cmd/internal/obj/x86/obj6.go