diff options
Diffstat (limited to 'libgo/go/runtime/stubs.go')
-rw-r--r-- | libgo/go/runtime/stubs.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libgo/go/runtime/stubs.go b/libgo/go/runtime/stubs.go index efb037399bf..bda2c694ac6 100644 --- a/libgo/go/runtime/stubs.go +++ b/libgo/go/runtime/stubs.go @@ -306,10 +306,6 @@ func setSupportAES(v bool) { support_aes = v } -// Here for gccgo until we port lock_*.go. -func lock(l *mutex) -func unlock(l *mutex) - // Here for gccgo. func errno() int @@ -317,9 +313,6 @@ func errno() int func entersyscall(int32) func entersyscallblock(int32) -// Here for gccgo until we port mgc.go. -func GC() - // For gccgo to call from C code, so that the C code and the Go code // can share the memstats variable for now. //go:linkname getMstats runtime.getMstats @@ -327,16 +320,6 @@ func getMstats() *mstats { return &memstats } -// Temporary for gccgo until we port mem_GOOS.go. -func sysAlloc(n uintptr, sysStat *uint64) unsafe.Pointer -func sysFree(v unsafe.Pointer, n uintptr, sysStat *uint64) - -// Temporary for gccgo until we port malloc.go -func persistentalloc(size, align uintptr, sysStat *uint64) unsafe.Pointer - -// Temporary for gccgo until we port mheap.go -func setprofilebucket(p unsafe.Pointer, b *bucket) - // Get signal trampoline, written in C. func getSigtramp() uintptr |