diff options
Diffstat (limited to 'libgo/go/runtime/malloc.go')
-rw-r--r-- | libgo/go/runtime/malloc.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libgo/go/runtime/malloc.go b/libgo/go/runtime/malloc.go index 68e5494..e1e908b 100644 --- a/libgo/go/runtime/malloc.go +++ b/libgo/go/runtime/malloc.go @@ -114,13 +114,12 @@ import ( // C function to get the end of the program's memory. func getEnd() uintptr -// For gccgo, use go:linkname to rename compiler-called functions to -// themselves, so that the compiler will export them. +// For gccgo, use go:linkname to export compiler-called functions. // -//go:linkname newobject runtime.newobject +//go:linkname newobject // Functions called by C code. -//go:linkname mallocgc runtime.mallocgc +//go:linkname mallocgc const ( debugMalloc = false |