about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/src/__shcall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/src/__shcall.c b/arch/sh/src/__shcall.c
new file mode 100644
index 00000000..dfe80a7f
--- /dev/null
+++ b/arch/sh/src/__shcall.c
@@ -0,0 +1,5 @@
+__attribute__((__visibility__("hidden")))
+int __shcall(void *arg, int (*func)(void *))
+{
+	return func(arg);
+}