mirror of
https://github.com/golang/go
synced 2024-11-20 02:14:46 -07:00
dfc8649854
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> |
||
---|---|---|
.. | ||
asm_386.s | ||
asm_amd64.s | ||
asm_arm64.s | ||
asm_arm.s | ||
asm_nacl_amd64p32.s | ||
asm_ppc64x.s | ||
callbacks.go | ||
cgo.go | ||
dragonfly.go | ||
freebsd.go | ||
gcc_386.S | ||
gcc_amd64.S | ||
gcc_android_amd64.c | ||
gcc_android_arm.c | ||
gcc_android.c | ||
gcc_arm64.S | ||
gcc_arm.S | ||
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 | ||
gcc_linux_arm64.c | ||
gcc_linux_arm.c | ||
gcc_linux_ppc64x.c | ||
gcc_mmap.c | ||
gcc_netbsd_386.c | ||
gcc_netbsd_amd64.c | ||
gcc_netbsd_arm.c | ||
gcc_openbsd_386.c | ||
gcc_openbsd_amd64.c | ||
gcc_ppc64x.S | ||
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 | ||
netbsd.go | ||
openbsd.go | ||
setenv.go | ||
signal_darwin_arm64.s | ||
signal_darwin_arm.s | ||
signal_darwin_armx.go |