aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-11-06 18:12:45 +0000
committerIan Lance Taylor <iant@google.com>2012-11-06 18:12:45 +0000
commitcaacb5e6aea8544a1728a63d359215ed08c2a938 (patch)
tree6c400558efbf8a6da2a288d4c1fa498c441915d2 /gcc/go
parentd0c23ec601d6f4af635ec5d78a97ab1891506a03 (diff)
compiler, runtime: Memcmp routine returns intgo.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/go')
-rw-r--r--gcc/go/gofrontend/runtime.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/runtime.def b/gcc/go/gofrontend/runtime.def
index fc720cd9c09..d6895336657 100644
--- a/gcc/go/gofrontend/runtime.def
+++ b/gcc/go/gofrontend/runtime.def
@@ -29,7 +29,7 @@
// result types.
// The standard C memcmp function, used for struct comparisons.
-DEF_GO_RUNTIME(MEMCMP, "memcmp", P3(POINTER, POINTER, UINTPTR), R1(INT))
+DEF_GO_RUNTIME(MEMCMP, "__go_memcmp", P3(POINTER, POINTER, UINTPTR), R1(INT))
// Range over a string, returning the next index.
DEF_GO_RUNTIME(STRINGITER, "runtime.stringiter", P2(STRING, INT), R1(INT))