aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/env_posix.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2013-01-24 19:44:23 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2013-01-24 19:44:23 +0000
commitf6b1e65ec393b757a70cb30b0d8ab0ed1af3dedf (patch)
treedf60a3ed3befa98bc7bd75b2c51377fb20837ea7 /libgo/runtime/env_posix.c
parentf5ba49ac2e76583f732bc2cdb76ed54e59bffd09 (diff)
downloadgcc-f6b1e65ec393b757a70cb30b0d8ab0ed1af3dedf.zip
gcc-f6b1e65ec393b757a70cb30b0d8ab0ed1af3dedf.tar.gz
gcc-f6b1e65ec393b757a70cb30b0d8ab0ed1af3dedf.tar.bz2
re PR go/46986 (Go is not supported on Darwin)
PR go/46986 all: prepend #__USER_LABEL_PREFIX__ to mangled Go symbols For old-fashioned Darwin. From-SVN: r195438
Diffstat (limited to 'libgo/runtime/env_posix.c')
-rw-r--r--libgo/runtime/env_posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/env_posix.c b/libgo/runtime/env_posix.c
index 31f4179..7f3fa0d 100644
--- a/libgo/runtime/env_posix.c
+++ b/libgo/runtime/env_posix.c
@@ -7,7 +7,7 @@
#include "runtime.h"
#include "array.h"
-extern Slice syscall_Envs asm ("syscall.Envs");
+extern Slice syscall_Envs __asm__ (GOSYM_PREFIX "syscall.Envs");
const byte*
runtime_getenv(const char *s)