]> Cypherpunks repositories - gostls13.git/commit
runtime: remove thunk.s
authorRuss Cox <rsc@golang.org>
Mon, 22 Dec 2014 18:27:53 +0000 (13:27 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 23 Dec 2014 03:17:22 +0000 (03:17 +0000)
commit7a524a103647d0b839ff133be1b1b866c92d11fb
treec5b1f7f352509a9965911eb8fad11900e9c7ebc7
parent200e7bf6b13a16452e5add94bb641ed434526e37
runtime: remove thunk.s

Replace with uses of //go:linkname in Go files, direct use of name in .s files.
The only one that really truly needs a jump is reflect.call; the jump is now
next to the runtime.reflectcall assembly implementations.

Change-Id: Ie7ff3020a8f60a8e4c8645fe236e7883a3f23f46
Reviewed-on: https://go-review.googlesource.com/1962
Reviewed-by: Austin Clements <austin@google.com>
28 files changed:
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/asm_arm.s
src/runtime/asm_ppc64x.s
src/runtime/chan.go
src/runtime/cpuprof.go
src/runtime/env_posix.go
src/runtime/hashmap.go
src/runtime/iface.go
src/runtime/malloc.go
src/runtime/mem.go
src/runtime/mgc0.go
src/runtime/netpoll.go
src/runtime/noasm.go
src/runtime/os_nacl.go
src/runtime/os_plan9.go
src/runtime/os_windows.go
src/runtime/proc.go
src/runtime/proc1.go
src/runtime/runtime.go
src/runtime/runtime1.go
src/runtime/select.go
src/runtime/sema.go
src/runtime/signal_unix.go
src/runtime/stubs.go
src/runtime/thunk.s [deleted file]
src/runtime/time.go