aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/mppa_k1c/i64_smod.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mppa_k1c/i64_smod.c')
-rw-r--r--runtime/mppa_k1c/i64_smod.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/mppa_k1c/i64_smod.c b/runtime/mppa_k1c/i64_smod.c
index e69de29b..3371eecf 100644
--- a/runtime/mppa_k1c/i64_smod.c
+++ b/runtime/mppa_k1c/i64_smod.c
@@ -0,0 +1,5 @@
+extern long __moddi3 (long a, long b);
+int i32_smod (int a, int b)
+{
+ return __moddi3 (a, b);
+}