1
0
mirror of https://github.com/golang/go synced 2024-10-04 11:11:21 -06:00
go/src/libcgo
Russ Cox e473f42b2d amd64: use segment memory for thread-local storage
Returns R14 and R15 to the available register pool.
Plays more nicely with ELF ABI C code.
In particular, our signal handlers will no longer crash
when a signal arrives during execution of a cgo C call.

Fixes #720.

R=ken2, r
CC=golang-dev
https://golang.org/cl/1847051
2010-08-04 17:50:22 -07:00
..
386.S Library support for cgo export. 2010-04-09 13:30:35 -07:00
amd64.S amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
darwin_386.c 8c, 8l dynamic loading support. 2009-10-03 10:37:12 -07:00
darwin_amd64.c amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
freebsd_386.c More FreeBSD-touchups. Thundercats are GOOOOO! 2009-11-18 16:51:59 -08:00
freebsd_amd64.c amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
libcgo.h amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
linux_386.c linux/386: use Xen-friendly ELF TLS instruction sequence 2010-07-17 16:54:03 -07:00
linux_amd64.c amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
linux_arm.c 8c, 8l dynamic loading support. 2009-10-03 10:37:12 -07:00
Makefile amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
nacl_386.c 8c, 8l dynamic loading support. 2009-10-03 10:37:12 -07:00
util.c Correct _cgo_free when C ABI does not pass first arg on stack. 2010-05-30 22:22:47 -07:00
windows_386.c rename GOOS=mingw to GOOS=windows 2010-04-29 23:45:14 -07:00
windows_amd64.c rename GOOS=mingw to GOOS=windows 2010-04-29 23:45:14 -07:00