diff options
| author | Shenghou Ma <minux@golang.org> | 2016-02-23 01:26:50 -0500 |
|---|---|---|
| committer | Minux Ma <minux@golang.org> | 2016-02-24 02:07:17 +0000 |
| commit | 1439158120742e5f41825de90a76b680da64bf76 (patch) | |
| tree | 25147abe938a44e3ed08c42817ead698bc99061b /src/runtime/rt0_linux_386.s | |
| parent | 5c096cc092013331022c33c5e3d31228edd17dab (diff) | |
| download | go-1439158120742e5f41825de90a76b680da64bf76.tar.xz | |
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>
Diffstat (limited to 'src/runtime/rt0_linux_386.s')
| -rw-r--r-- | src/runtime/rt0_linux_386.s | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/rt0_linux_386.s b/src/runtime/rt0_linux_386.s index 59a30b41e8..23bfc98b10 100644 --- a/src/runtime/rt0_linux_386.s +++ b/src/runtime/rt0_linux_386.s @@ -73,11 +73,3 @@ GLOBL _rt0_386_linux_lib_argv<>(SB),NOPTR, $4 TEXT main(SB),NOSPLIT,$0 JMP runtime·rt0_go(SB) - -TEXT _fallback_vdso(SB),NOSPLIT,$0 - INT $0x80 - RET - -DATA runtime·_vdso(SB)/4, $_fallback_vdso(SB) -GLOBL runtime·_vdso(SB), NOPTR, $4 - |
