]> Cypherpunks repositories - gostls13.git/commitdiff
5l: make -v option output less nonessential clutter
authorShenghou Ma <minux.ma@gmail.com>
Tue, 31 Jan 2012 15:59:29 +0000 (10:59 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 31 Jan 2012 15:59:29 +0000 (10:59 -0500)
        5l -v is for benchmarking various parts of the loader, but this code in
        obj.c will clutter the output. I only comment them out, because this is
        on par with 8l/6l.

R=golang-dev
CC=golang-dev
https://golang.org/cl/5600046

src/cmd/5l/obj.c

index 14967194394335f4c6f754b4bc02f231c5e71962..03b106d4f0f7410f6e1002119ec2f2fa4ab74ce9 100644 (file)
@@ -558,8 +558,8 @@ loop:
                // redefinitions.
                s = p->from.sym;
                if(s->dupok) {
-                       if(debug['v'])
-                               Bprint(&bso, "skipping %s in %s: dupok\n", s->name, pn);
+//                     if(debug['v'])
+//                             Bprint(&bso, "skipping %s in %s: dupok\n", s->name, pn);
                        goto loop;
                }
                if(s->file == nil)