summaryrefslogtreecommitdiffstats
path: root/libgo/runtime/go-setenv.c
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/go-setenv.c
parent2b139ca67d033ba461ec0b042b9d077313cf585e (diff)
downloadppe42-gcc-9c03884abedea3ebae816f4bb2ac86220f233fb7.tar.gz
ppe42-gcc-9c03884abedea3ebae816f4bb2ac86220f233fb7.zip
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/go-setenv.c')
-rw-r--r--libgo/runtime/go-setenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-setenv.c b/libgo/runtime/go-setenv.c
index 41f14d4b734..53ef2d396d4 100644
--- a/libgo/runtime/go-setenv.c
+++ b/libgo/runtime/go-setenv.c
@@ -14,7 +14,7 @@
/* Set the C environment from Go. This is called by syscall.Setenv. */
-void setenv_c (String, String) __asm__ ("syscall.setenv_c");
+void setenv_c (String, String) __asm__ (GOSYM_PREFIX "syscall.setenv_c");
void
setenv_c (String k, String v)
OpenPOWER on IntegriCloud