aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/bytes
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/go/bytes
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/go/bytes')
-rw-r--r--libgo/go/bytes/indexbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/bytes/indexbyte.c b/libgo/go/bytes/indexbyte.c
index 1f4399c..cbc7847 100644
--- a/libgo/go/bytes/indexbyte.c
+++ b/libgo/go/bytes/indexbyte.c
@@ -14,7 +14,7 @@
library function, which shouldn't need much stack space. */
intgo IndexByte (struct __go_open_array, char)
- asm ("bytes.IndexByte")
+ __asm__ (GOSYM_PREFIX "bytes.IndexByte")
__attribute__ ((no_split_stack));
intgo
@@ -31,7 +31,7 @@ IndexByte (struct __go_open_array s, char b)
/* Comparison. */
_Bool Equal (struct __go_open_array a, struct __go_open_array b)
- asm ("bytes.Equal")
+ __asm__ (GOSYM_PREFIX "bytes.Equal")
__attribute__ ((no_split_stack));
_Bool