]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: eliminate Curp
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Mar 2017 18:22:57 +0000 (11:22 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Mar 2017 18:51:42 +0000 (18:51 +0000)
commit7e817859b349864c67cfcf4dfe3cb2f752463521
treea5e3ae5012272f2e3edae05e0642bb9abacbb92f
parent1acba7d4fafef57d44bbd757abce58d632ee8475
cmd/internal/obj: eliminate Curp

Remove the global obj.Link.Curp.

In asmz.go, replace the only use by passing it as an argument.
In asm0.go and asm9.go, it was written but never read.
In asm5.go and asm7.go, thread it through as an argument.

Passes toolstash-check -all.

Updates #15756

Change-Id: I1a0faa89e768820f35d73a8b37ec8088d78d15f7
Reviewed-on: https://go-review.googlesource.com/38715
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/arm/asm5.go
src/cmd/internal/obj/arm64/asm7.go
src/cmd/internal/obj/link.go
src/cmd/internal/obj/mips/asm0.go
src/cmd/internal/obj/plist.go
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/internal/obj/s390x/asmz.go