]> 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)
committerMinux Ma <minux@golang.org>
Wed, 24 Feb 2016 02:07:17 +0000 (02:07 +0000)
commit1439158120742e5f41825de90a76b680da64bf76
tree25147abe938a44e3ed08c42817ead698bc99061b
parent5c096cc092013331022c33c5e3d31228edd17dab
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>
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