From f6b1e65ec393b757a70cb30b0d8ab0ed1af3dedf Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 24 Jan 2013 19:44:23 +0000 Subject: 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 --- libgo/go/bytes/indexbyte.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libgo/go/bytes') 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 -- cgit v1.1