re PR go/46986 (Go is not supported on Darwin)
[platform/upstream/gcc.git] / libgo / runtime / parfor.c
index 98ebdeb..591b968 100644 (file)
@@ -37,7 +37,7 @@ runtime_parforalloc(uint32 nthrmax)
 // func parforalloc2(nthrmax uint32) *ParFor
 
 ParFor *runtime_parforalloc2(uint32)
-   asm("runtime.parforalloc2");
+   __asm__ (GOSYM_PREFIX "runtime.parforalloc2");
 
 ParFor *
 runtime_parforalloc2(uint32 nthrmax)
@@ -78,7 +78,7 @@ runtime_parforsetup(ParFor *desc, uint32 nthr, uint32 n, void *ctx, bool wait, v
 // func parforsetup2(desc *ParFor, nthr, n uint32, ctx *byte, wait bool, body func(*ParFor, uint32))
 
 void runtime_parforsetup2(ParFor *, uint32, uint32, void *, bool, void *)
-  asm("runtime.parforsetup2");
+  __asm__ (GOSYM_PREFIX "runtime.parforsetup2");
 
 void
 runtime_parforsetup2(ParFor *desc, uint32 nthr, uint32 n, void *ctx, bool wait, void *body)
@@ -219,7 +219,7 @@ struct parforiters_ret {
 };
 
 struct parforiters_ret runtime_parforiters(ParFor *, uintptr)
-  asm("runtime.parforiters");
+  __asm__ (GOSYM_PREFIX "runtime.parforiters");
 
 struct parforiters_ret
 runtime_parforiters(ParFor *desc, uintptr tid)