]> Cypherpunks repositories - gostls13.git/commit
ld: fix alignment of rodata section
authorRuss Cox <rsc@golang.org>
Fri, 24 Feb 2012 04:01:36 +0000 (23:01 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 24 Feb 2012 04:01:36 +0000 (23:01 -0500)
commit15d8b05f0ca604e40ba42a3e9f6d30b1a280d1d8
tree3e922287014015728633f35582dddeb850dc1947
parentfad10f9c1cba2aef54ef3822d6c3688eb1c25483
ld: fix alignment of rodata section

We were not aligning the code size,
so read-only data, which follows in the same
segment, could be arbitrarily misaligned.

Fixes #2506.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/5693055
src/cmd/ld/data.c