]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: move ld.Cpos to coutbuf.Offset
authorDave Cheney <dave@cheney.net>
Wed, 24 Aug 2016 10:27:38 +0000 (20:27 +1000)
committerDave Cheney <dave@cheney.net>
Thu, 25 Aug 2016 02:57:48 +0000 (02:57 +0000)
commit5f94ff4c8702e05bdee32b4a5dc6f8c736adab38
treecfa09657e3dd59f2219e30b88e8c08f6e84f0223
parent61d5daea0aca4fcb14f0090685327132a8e1a7f2
cmd/link/internal/ld: move ld.Cpos to coutbuf.Offset

This change moves the ld.Cpos function to a method on coutbuf. This is
part of a larger change that makes ld.outbuf look more like a bio.Buf in
an effort to eventually replace the former with the latter.

Change-Id: I506f7131935a2aa903fa302a0fab0c5be50220fd
Reviewed-on: https://go-review.googlesource.com/27578
Run-TryBot: Dave Cheney <dave@cheney.net>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/macho.go
src/cmd/link/internal/ld/pe.go