]> Cypherpunks repositories - gostls13.git/commit
runtime, syscall: use int $0x80 to invoke syscalls on android/386
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 17 Nov 2015 07:00:20 +0000 (20:00 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 17 Nov 2015 20:22:47 +0000 (20:22 +0000)
commit90e26f52c6d2012d293ebfe8d272f03462213045
tree26b7e5bdb7f0a84e20d48cfa4d8b2430a016f821
parentf4a9bd87ba84ce900dd2ba97974c48a0f4a01047
runtime, syscall: use int $0x80 to invoke syscalls on android/386

golang.org/cl/16796 broke android/386 by assuming behaviour specific to glibc's
dynamic linker. Copy bionic by using int $0x80 to invoke syscalls on
android/386 as the old alternative (CALL *runtime_vdso(SB)) cannot be compiled
without text relocations, which we want to get rid of on android.

Also remove "CALL *runtime_vdso(SB)" variant from the syscall package.

Change-Id: I6c01849f8dcbd073d000ddc8f13948a836b8b261
Reviewed-on: https://go-review.googlesource.com/16996
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/runtime/sys_linux_386.s
src/syscall/asm_linux_386.s