]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: move comment somewhere more appropriate
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 18 Sep 2016 19:13:27 +0000 (07:13 +1200)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 19 Sep 2016 21:42:57 +0000 (21:42 +0000)
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 <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/lib.go

index fdbaa9dad4d236a4dc76222449b910d1fbfeb52f..f5df2352e5bba80509c603e15b4b6fc9985f792b 100644 (file)
@@ -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))
        }