]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: move fields from obj.Link to x86.AsmBuf
authorJosh Bleecher Snyder <josharian@gmail.com>
Sun, 26 Mar 2017 14:53:06 +0000 (07:53 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Sun, 26 Mar 2017 19:48:00 +0000 (19:48 +0000)
commit4f122e82fecb135e6b56dbaf907b132401cf1f9f
tree7c038f23b5770301447ca489618462ba915b9350
parent166160b44664e75ffc6e51cd795956fd586196e4
cmd/internal/obj: move fields from obj.Link to x86.AsmBuf

These fields are used to encode a single instruction.
Add them to AsmBuf, which is also per-instruction,
and which is not global.

Updates #15756

Change-Id: I0e5ea22ffa641b07291e27de6e2ff23b6dc534bd
Reviewed-on: https://go-review.googlesource.com/38668
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/link.go
src/cmd/internal/obj/x86/asm6.go