]> Cypherpunks repositories - gostls13.git/commitdiff
ld: elide the Go symbol table when using -s
authorAnthony Martin <ality@pbrane.org>
Mon, 27 Jun 2011 18:39:38 +0000 (14:39 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 27 Jun 2011 18:39:38 +0000 (14:39 -0400)
R=rsc, n13m3y3r, gustavo
CC=golang-dev
https://golang.org/cl/4661050

src/cmd/ld/symtab.c

index c66eca1485ce362742c14917240536eee3172812..e6dafab53a32aa8d19cd51edbb5723d49ae9f04c 100644 (file)
@@ -372,5 +372,7 @@ symtab(void)
                }
        }
 
+       if(debug['s'])
+               return;
        genasmsym(putsymb);
 }