]> Cypherpunks repositories - gostls13.git/commit
cmd/link: do not align type name data
authorDavid Crawshaw <crawshaw@golang.org>
Fri, 8 Apr 2016 00:07:09 +0000 (20:07 -0400)
committerDavid Crawshaw <crawshaw@golang.org>
Fri, 22 Apr 2016 10:07:40 +0000 (10:07 +0000)
commitbb52ceafea60dc4688b6c6b71f241752ce597db8
tree7fa43e50425b404e8ce87c5d4eae62dcfd3406da
parent63ceeafa308b99e6b7d5480521b83360b4f6b2fd
cmd/link: do not align type name data

Now that reflect.name objects contain an offset to pkgPath instead of a
pointer, there is no need to align the symbol data.

Removes approx. 10KB from the cmd/go binary. The effect becomes more
important later as more type data is moved into name objects.

For #6853

Change-Id: Idb507fdbdad04f16fc224378f82272cb5c236ab7
Reviewed-on: https://go-review.googlesource.com/21776
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/data.go