]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/ld: fix "ld -s" to not discard pclntab.
authorShenghou Ma <minux.ma@gmail.com>
Fri, 20 Sep 2013 14:04:52 +0000 (10:04 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 20 Sep 2013 14:04:52 +0000 (10:04 -0400)
Fixes #6245.

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/13751045

src/cmd/ld/lib.c

index b3c3713e2da20a562982587f0798e0dadd148458..f9c27732807434f49c6081edcb41c6dd68bd3525 100644 (file)
@@ -2378,9 +2378,6 @@ pclntab(void)
        ftab->type = SPCLNTAB;
        ftab->reachable = 1;
 
-       if(debug['s'])
-               return;
-
        // See golang.org/s/go12symtab for the format. Briefly:
        //      8-byte header
        //      nfunc [PtrSize bytes]