cmd/link: put C static symbols in the symbol table
cmd/link: put C static symbols in the symbol table

We don't put Go static symbols in the symbol table, as they are
always compiler-generated (there is no way to define a static
symbol in user code in Go). We retain static symbols in assembly
code, as it may be user-defined. Also retain static symbols in C.

Change-Id: Ie0425bb4df33f183857b1fd5ba4b2bdfdc497571
Reviewed-on: https://go-review.googlesource.com/c/go/+/263259
Trust: Cherry Zhang <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>
Run-TryBot: Cherry Zhang <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Than McIntosh <4b2922593166fc595a9b1a408f34f5d3817fe9d2@google.com>

nawawi/go,CAFxX/go,cloudflare/go,nawawi/go,CAFxX/go,CAFxX/go,cloudflare/go,cloudflare/go,cloudflare/go,CAFxX/go,nawawi/go,golang/go,nawawi/go,golang/go,golang/go,cloudflare/go,golang/go,golang/go,CAFxX/go,golang/go,CAFxX/go,golang/go,cloudflare/go,CAFxX/go,nawawi/go,cloudflare/go,nawawi/go,golang/go,nawawi/go,nawawi/go,CAFxX/go,cloudflare/go