mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link/internal: make ld.Bso a *bio.Writer
This is a pre requesite of CL 21722 and removes a lot of unidiomatic boilerplate in the linker. Change-Id: If7491b88212b2be7b0c8c588e9c196839131f8ad Reviewed-on: https://go-review.googlesource.com/21780 Run-TryBot: Dave Cheney <dave@cheney.net> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
092ef8a2ca
commit
6fee4aa5c7
15 changed files with 102 additions and 101 deletions
|
|
@ -1931,7 +1931,7 @@ func dwarfgeneratedebugsyms() {
|
|||
}
|
||||
|
||||
if Debug['v'] != 0 {
|
||||
fmt.Fprintf(&Bso, "%5.2f dwarf\n", obj.Cputime())
|
||||
fmt.Fprintf(Bso, "%5.2f dwarf\n", obj.Cputime())
|
||||
}
|
||||
|
||||
// For diagnostic messages.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue