1
0
mirror of https://github.com/golang/go synced 2024-11-20 02:14:46 -07:00
go/src/runtime/cgo
Hyang-Ah Hana Kim dfc8649854 runtime, cmd: TLS setup for android/amd64.
Android linker does not handle TLS for us. We set up the TLS slot
for g, as darwin/386,amd64 handle instead. This is disgusting and
fragile. We will eventually fix this ugly hack by taking advantage
of the recent TLS IE model implementation. (Instead of referencing
an GOT entry, make the code sequence look into the TLS variable that
holds the offset.)

The TLS slot for g in android/amd64 assumes a fixed offset from %fs.
See runtime/cgo/gcc_android_amd64.c for details.

For golang/go#10743

Change-Id: I1a3fc207946c665515f79026a56ea19134ede2dd
Reviewed-on: https://go-review.googlesource.com/15991
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-10-28 20:54:28 +00:00
..
asm_386.s
asm_amd64.s
asm_arm64.s
asm_arm.s
asm_nacl_amd64p32.s
asm_ppc64x.s runtime, runtime/cgo: conform to PIC register use rules in ppc64 asm 2015-10-18 23:36:39 +00:00
callbacks.go
cgo.go runtime/cgo: explicitly link msvcrt on windows 2015-09-12 08:34:52 +00:00
dragonfly.go
freebsd.go
gcc_386.S runtime/cgo: remove __stack_chk_fail_local 2015-08-21 15:56:36 +00:00
gcc_amd64.S
gcc_android_amd64.c runtime, cmd: TLS setup for android/amd64. 2015-10-28 20:54:28 +00:00
gcc_android_arm.c
gcc_android.c
gcc_arm64.S runtime/cgo: remove __stack_chk_fail_local 2015-08-21 15:56:36 +00:00
gcc_arm.S runtime/cgo: remove __stack_chk_fail_local 2015-08-21 15:56:36 +00:00
gcc_darwin_386.c
gcc_darwin_amd64.c
gcc_darwin_arm64.c
gcc_darwin_arm.c
gcc_dragonfly_amd64.c
gcc_fatalf.c
gcc_freebsd_386.c
gcc_freebsd_amd64.c
gcc_freebsd_arm.c
gcc_libinit_linux_ppc64x.c
gcc_libinit_openbsd.c
gcc_libinit_windows.c
gcc_libinit.c
gcc_linux_386.c
gcc_linux_amd64.c runtime, cmd: TLS setup for android/amd64. 2015-10-28 20:54:28 +00:00
gcc_linux_arm64.c
gcc_linux_arm.c
gcc_linux_ppc64x.c
gcc_mmap.c runtime, runtime/cgo: support using msan on cgo code 2015-09-30 22:17:55 +00:00
gcc_netbsd_386.c
gcc_netbsd_amd64.c
gcc_netbsd_arm.c
gcc_openbsd_386.c
gcc_openbsd_amd64.c
gcc_ppc64x.S runtime, runtime/cgo: conform to PIC register use rules in ppc64 asm 2015-10-18 23:36:39 +00:00
gcc_setenv.c
gcc_signal_darwin_armx.c
gcc_signal_darwin_lldb.c
gcc_solaris_amd64.c
gcc_util.c
gcc_windows_386.c
gcc_windows_amd64.c
iscgo.go
libcgo.h
mmap.go runtime, runtime/cgo: support using msan on cgo code 2015-09-30 22:17:55 +00:00
netbsd.go
openbsd.go
setenv.go
signal_darwin_arm64.s runtime/cgo: fix darwin/amd64 signal handling setup 2015-07-30 19:18:45 +00:00
signal_darwin_arm.s
signal_darwin_armx.go