]> Cypherpunks repositories - gostls13.git/commit
runtime: invoke vsyscall helper via TCB when dynamic linking on linux/386
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 27 Oct 2015 03:40:30 +0000 (16:40 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Wed, 28 Oct 2015 01:36:25 +0000 (01:36 +0000)
commitbc3f14fd2afda8af73854104ac6a1cf42cef1519
tree7f9e42533fdc3f5d763e05f05b3fb500bf849f7c
parent3ae4dc8a7518fa90336436d52b540fd59fe10aa0
runtime: invoke vsyscall helper via TCB when dynamic linking on linux/386

The dynamic linker on linux/386 stores the address of the vsyscall helper at a
fixed offset from the %gs register on linux/386 for easy access from PIC code.

Change-Id: I635305cfecceef2289985d62e676e16810ed6b94
Reviewed-on: https://go-review.googlesource.com/16346
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/sys_linux_386.s