summaryrefslogtreecommitdiff
path: root/libgo/runtime/malloc.goc
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-24 19:44:23 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-24 19:44:23 +0000
commit9c03884abedea3ebae816f4bb2ac86220f233fb7 (patch)
treedf60a3ed3befa98bc7bd75b2c51377fb20837ea7 /libgo/runtime/malloc.goc
parent2b139ca67d033ba461ec0b042b9d077313cf585e (diff)
downloadgcc-9c03884abedea3ebae816f4bb2ac86220f233fb7.tar.gz
PR go/46986
all: prepend #__USER_LABEL_PREFIX__ to mangled Go symbols For old-fashioned Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195438 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/runtime/malloc.goc')
-rw-r--r--libgo/runtime/malloc.goc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/malloc.goc b/libgo/runtime/malloc.goc
index 2a614e5a186..48460b17959 100644
--- a/libgo/runtime/malloc.goc
+++ b/libgo/runtime/malloc.goc
@@ -23,7 +23,7 @@ MHeap runtime_mheap;
extern MStats mstats; // defined in zruntime_def_$GOOS_$GOARCH.go
extern volatile intgo runtime_MemProfileRate
- __asm__ ("runtime.MemProfileRate");
+ __asm__ (GOSYM_PREFIX "runtime.MemProfileRate");
// Allocate an object of at least size bytes.
// Small objects are allocated from the per-thread cache's free lists.
@@ -308,7 +308,7 @@ runtime_purgecachedstats(MCache *c)
}
extern uintptr runtime_sizeof_C_MStats
- __asm__ ("runtime.Sizeof_C_MStats");
+ __asm__ (GOSYM_PREFIX "runtime.Sizeof_C_MStats");
#define MaxArena32 (2U<<30)