• Joel Sing's avatar
    cgo: enable cgo on openbsd · 708db790
    Joel Sing authored
    Enable cgo on OpenBSD.
    
    The OpenBSD ld.so(1) does not currently support PT_TLS sections. Work
    around this by fixing up the TCB that has been provided by librthread
    and reallocating a TCB with additional space for TLS. Also provide a
    wrapper for pthread_create, allowing zeroed TLS to be allocated for
    threads created externally to Go.
    
    Joint work with Shenghou Ma (minux).
    
    Requires change 6846064.
    
    Fixes #3205.
    
    R=golang-dev, minux.ma, iant, rsc, iant
    CC=golang-dev
    https://golang.org/cl/6853059
    708db790
Name
Last commit
Last update
..
backdoor Loading commit data...
align.go Loading commit data...
basic.go Loading commit data...
callback.go Loading commit data...
callback_c.c Loading commit data...
cgo_linux_test.go Loading commit data...
cgo_test.go Loading commit data...
duplicate_symbol.go Loading commit data...
env.go Loading commit data...
exports.go Loading commit data...
helpers.go Loading commit data...
issue1222.go Loading commit data...
issue1328.go Loading commit data...
issue1560.go Loading commit data...
issue1635.go Loading commit data...
issue2462.go Loading commit data...
issue3261.go Loading commit data...
issue3729.go Loading commit data...
issue3729w.go Loading commit data...
issue3741.go Loading commit data...
issue3945.go Loading commit data...
issue4029.go Loading commit data...
issue4029w.go Loading commit data...
issue4054a.go Loading commit data...
issue4054b.go Loading commit data...
issue4273.c Loading commit data...
issue4273b.c Loading commit data...
issue4417.go Loading commit data...
setgid_linux.go Loading commit data...
sleep_windows_386.go Loading commit data...