• Russ Cox's avatar
    cmd/ld: attempt at fixing openbsd build · ed890e74
    Russ Cox authored
    OpenBSD is excluded from all the usual thread-local storage
    code, not just emitting the tbss section in the external link .o
    but emitting a PT_TLS section in an internally-linked executable.
    I assume it just has no proper TLS support. Exclude it here too.
    
    TBR=iant
    CC=golang-codereviews
    https://golang.org/cl/87900045
    ed890e74
data.c 30.1 KB