Commit 0d85d542 authored by Shenghou Ma's avatar Shenghou Ma

cmd/ld: fix "ld -s" to not discard pclntab.

Fixes #6245.

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/13751045
parent 318e1652
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment