]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: drop gcargs, gclocals symbols from symbol table
authorRuss Cox <rsc@golang.org>
Wed, 19 Feb 2014 15:00:44 +0000 (10:00 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 19 Feb 2014 15:00:44 +0000 (10:00 -0500)
commit2541cc81978dc5e41e2e2db6345d8ca7a365ca8c
treed3bce989dd9bd9e4b0cb8e28f66d84083fa7a521
parent475e7d037299c3187054319f5e984c57524cabef
cmd/ld: drop gcargs, gclocals symbols from symbol table

Update #6853

Every function now has a gcargs and gclocals symbol
holding associated garbage collection information.
Put them all in the same meta-symbol as the go.func data
and then drop individual entries from symbol table.

Removing gcargs and gclocals reduces the size of a
typical binary by 10%.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/65870044
src/cmd/ld/symtab.c