]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: refactor ATEXT symbol initialization
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 10 Apr 2017 23:57:06 +0000 (16:57 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 11 Apr 2017 02:56:56 +0000 (02:56 +0000)
commite367ba9eaea80917c877709da365ff8f13cc60bd
tree372756a69f5289b4b6134a2dca9372dfffe97eb7
parent6c6f455f880ea560707348fcea9d4188782706e8
cmd/internal/obj: refactor ATEXT symbol initialization

This makes the core Flushplist loop clearer.

We may also want to move the Sym initialization
much earlier in the compiler (see discussion on
CL 40254), for which this paves the way.

While we're here, eliminate package log in favor of ctxt.Diag.

Passes toolstash-check -all.

Updates #15756

Change-Id: Ieaf848d196764a5aa82578b689af7bc6638c385a
Reviewed-on: https://go-review.googlesource.com/40313
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
src/cmd/asm/internal/asm/asm.go
src/cmd/compile/internal/gc/gsubr.go
src/cmd/internal/obj/plist.go