]> Cypherpunks repositories - gostls13.git/commit
ld: fix alignment of rodata section on Plan 9
authorAnthony Martin <ality@pbrane.org>
Thu, 12 May 2011 03:52:05 +0000 (23:52 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 12 May 2011 03:52:05 +0000 (23:52 -0400)
commit4fca3953210ded1ff08e0c1681c027b620c206b2
tree8db8fb3fd795bba56d25c8485ea06aa38a598860
parentf58d911698e8e4690675fe276dac4795c39a9dfe
ld: fix alignment of rodata section on Plan 9

This was causing a panic in the reflect package
since type.* pointers with their low bits set are
assumed to have certain flags set that disallow
the use of reflection.

Thanks to Pavel and Taru for help tracking down
this bug.

R=rsc, paulzhol, taruti
CC=golang-dev
https://golang.org/cl/4511041
src/cmd/8l/obj.c
src/cmd/ld/data.c