os, cmd/link: fix typos

Also switch "stating" to "statting" to describe applying os.Stat to
a resource; the former is more confusable than the latter.

Change-Id: I9d8e3506bd383f8f1479c05948c03b8c633dc4af
Reviewed-on: https://go-review.googlesource.com/42855
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Kevin Burke 2017-05-07 11:04:24 -07:00 committed by Brad Fitzpatrick
parent c08ac36761
commit 9058b9ae49
2 changed files with 6 additions and 6 deletions

View file

@ -1449,8 +1449,8 @@ func writearanges(ctxt *Link, syms []*Symbol) []*Symbol {
func writegdbscript(ctxt *Link, syms []*Symbol) []*Symbol {
if Linkmode == LinkExternal && Headtype == objabi.Hwindows {
// gcc on Windows places .debug_gdb_scripts to a wrong location
// which causes program not to run. See https://golang.org/issue/20183
// gcc on Windows places .debug_gdb_scripts in the wrong location, which
// causes the program not to run. See https://golang.org/issue/20183
return syms
}