From: Michael Hudson-Doyle Date: Sun, 18 Sep 2016 19:13:27 +0000 (+1200) Subject: cmd/link: move comment somewhere more appropriate X-Git-Tag: go1.8beta1~1235 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=50644f2e67e846c3641d5a907733ccc4ca5e60d2;p=gostls13.git cmd/link: move comment somewhere more appropriate At least, I assume it's meant to be here. It makes no sense at all where it currently is. Change-Id: Ic6a6c112c3dcf1318256d7d602168c3446b55412 Reviewed-on: https://go-review.googlesource.com/29339 Run-TryBot: Michael Hudson-Doyle TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/link/internal/ld/lib.go b/src/cmd/link/internal/ld/lib.go index fdbaa9dad4..f5df2352e5 100644 --- a/src/cmd/link/internal/ld/lib.go +++ b/src/cmd/link/internal/ld/lib.go @@ -1937,11 +1937,11 @@ func genasmsym(ctxt *Link, put func(*Link, *Symbol, string, SymbolType, int64, * put(ctxt, nil, a.Asym.Name, AutoSym, -(int64(off) + int64(SysArch.PtrSize)), a.Gotype) continue } + // Otherwise, off is addressing the saved program counter. + // Something underhanded is going on. Say nothing. } } - // Otherwise, off is addressing the saved program counter. - // Something underhanded is going on. Say nothing. if ctxt.Debugvlog != 0 || *flagN { ctxt.Logf("%5.2f symsize = %d\n", obj.Cputime(), uint32(Symsize)) }