aboutsummaryrefslogtreecommitdiff
path: root/i960glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'i960glue.c')
-rw-r--r--i960glue.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/i960glue.c b/i960glue.c
new file mode 100644
index 0000000..0dc569d
--- /dev/null
+++ b/i960glue.c
@@ -0,0 +1,19 @@
+#include "../newlib/libc/ctype/ctype_.c"
+#include "../newlib/libc/stdlib/strtol.c"
+#include "../newlib/libc/stdlib/atoi.c"
+#include "../newlib/libc/reent/impure.c"
+
+
+/* these are for ld -r -wrap */
+
+void
+__real_exit (int code)
+{
+ exit (code);
+}
+
+void
+__real_abort (void)
+{
+ abort ();
+}