aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/reflect/makefunc_dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/reflect/makefunc_dummy.c')
-rw-r--r--libgo/go/reflect/makefunc_dummy.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/go/reflect/makefunc_dummy.c b/libgo/go/reflect/makefunc_dummy.c
new file mode 100644
index 00000000000..aba48df3eb8
--- /dev/null
+++ b/libgo/go/reflect/makefunc_dummy.c
@@ -0,0 +1,12 @@
+// Copyright 2013 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build !amd64
+
+// Dummy function for processors without makefunc support.
+
+void makeFuncStub () __asm__ ("reflect.makeFuncStub");
+void makeFuncStub ()
+{
+}