]> Cypherpunks repositories - gostls13.git/commit
cmd/[568]l: do not generate PT_TLS on openbsd
authorJoel Sing <jsing@google.com>
Thu, 20 Dec 2012 14:27:50 +0000 (01:27 +1100)
committerJoel Sing <jsing@google.com>
Thu, 20 Dec 2012 14:27:50 +0000 (01:27 +1100)
commite6ca125f14d0f677205d3247f26da60ab8069b9c
tree53c1166a3460f985724dac32d3d30283ff08cb9f
parentd0283ab62ab692ee4c28e31d85740a5804b5540a
cmd/[568]l: do not generate PT_TLS on openbsd

The OpenBSD ld.so(1) does not currently support PT_TLS and refuses
to load ELF binaries that contain PT_TLS sections. Do not emit PT_TLS
sections - we will handle this appropriately in runtime/cgo instead.

R=golang-dev, minux.ma, iant
CC=golang-dev
https://golang.org/cl/6846064
src/cmd/5l/asm.c
src/cmd/6l/asm.c
src/cmd/8l/asm.c