1
0
mirror of https://github.com/golang/go synced 2024-10-04 22:21:22 -06:00
go/src/pkg/runtime/cgo
Shenghou Ma 5d081792b6 cmd/5a, cmd/dist, runtime: support m/g in the assembler, drop support for R9/R10
to avoid unintentionally clobber R9/R10.
Thanks Lucio for the suggestion.

PS: yes, this could be considered a big change (but not an API change), but
as it turns out even temporarily changes R9/R10 in user code is unsafe and
leads to very hard to diagnose problems later, better to disable using R9/R10
when the user first uses it.
See CL 6300043 and CL 6305100 for two problems caused by misusing R9/R10.

R=golang-dev, khr, rsc
CC=golang-dev
https://golang.org/cl/9840043
2013-05-30 03:03:52 +08:00
..
asm_386.s runtime/cgo: make crosscall2 5a/6a/8a-assembled 2013-02-28 22:14:55 -08:00
asm_amd64.s runtime/cgo: make crosscall2 5a/6a/8a-assembled 2013-02-28 22:14:55 -08:00
asm_arm.s cmd/5a, cmd/dist, runtime: support m/g in the assembler, drop support for R9/R10 2013-05-30 03:03:52 +08:00
callbacks.c runtime/cgo: export symbols in both internal and external link mode 2013-05-01 14:30:51 -07:00
cgo_arm.c runtime/cgo: fix arm build, re-enable test 2013-03-01 16:24:23 -05:00
cgo.go runtime/cgo: enable warnings and treat as errors 2012-11-18 08:58:54 +11:00
freebsd.c
gcc_386.S cmd/ld: add .note.GNU-stack section for external linking 2013-05-03 16:33:21 +08:00
gcc_amd64.S cmd/ld: add .note.GNU-stack section for external linking 2013-05-03 16:33:21 +08:00
gcc_arm.S runtime/cgo: fix build for ARM 2013-05-03 17:15:43 +08:00
gcc_darwin_386.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
gcc_darwin_amd64.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
gcc_freebsd_386.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_freebsd_amd64.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_freebsd_arm.c runtime/cgo, go/build: re-enable cgo for FreeBSD/ARM. 2013-03-23 03:21:30 +08:00
gcc_linux_386.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_linux_amd64.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_linux_arm.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
gcc_netbsd_386.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_netbsd_amd64.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_netbsd_arm.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
gcc_openbsd_386.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_openbsd_amd64.c runtime: pass setmg function to cgo_init 2013-03-25 18:14:02 -04:00
gcc_setenv.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
gcc_util.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
gcc_windows_386.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
gcc_windows_amd64.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00
iscgo.c runtime: detect deadlocks in programs using cgo 2013-05-22 22:57:47 +04:00
libcgo.h runtime/cgo: make symbol naming consistent 2013-02-28 16:24:38 -05:00
netbsd.c runtime/cgo: fix netbsd build 2012-07-29 18:51:06 -04:00
openbsd.c cgo: enable cgo on openbsd 2012-12-21 01:43:19 +11:00
setenv.c runtime/cgo: move common symbol overrides into 6c-compiled code 2013-02-28 13:54:23 -08:00