]> Cypherpunks repositories - gostls13.git/commit
runtime, syscall: switch linux/386 to use int 0x80
authorShenghou Ma <minux@golang.org>
Tue, 23 Feb 2016 06:26:50 +0000 (01:26 -0500)
committerAndrew Gerrand <adg@golang.org>
Thu, 14 Apr 2016 05:21:00 +0000 (05:21 +0000)
commit002cf2820d49009e6e5590d53b8ee640bfd6eb5c
tree97c8efcd4e4ee5d7fff6460c038ff83885fd88cd
parent8624a53c50d6c955501a14b480c799cf71c21718
runtime, syscall: switch linux/386 to use int 0x80

Like bionic, musl also doesn't provide vsyscall helper in %gs:0x10,
and as int $0x80 is as fast as calling %gs:0x10, just use int $0x80
always.

Because we're no longer using vsyscall in VDSO, get rid of VDSO code
for linux/386 too.

Fixes #14476.

Change-Id: I00ec8652060700e0a3c9b524bfe3c16a810263f6
Reviewed-on: https://go-review.googlesource.com/19833
Run-TryBot: Minux Ma <minux@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/22038
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/os_linux_386.go
src/runtime/rt0_linux_386.s
src/runtime/runtime1.go
src/runtime/signal_386.go
src/runtime/sys_linux_386.s
src/syscall/asm_linux_386.s