aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/aix/libc-start.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/libc-start.c')
-rw-r--r--sysdeps/unix/sysv/aix/libc-start.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/aix/libc-start.c b/sysdeps/unix/sysv/aix/libc-start.c
new file mode 100644
index 0000000000..f7eb65e8b4
--- /dev/null
+++ b/sysdeps/unix/sysv/aix/libc-start.c
@@ -0,0 +1,20 @@
+/* We don't need the usual code since we are using the AIX crt code. */
+
+/* This function is called in the AIX crt0. */
+void
+__mod_init (void)
+{
+ /* XXX What has to be done? */
+}
+
+/* This variable is reference in the AIX crt0 code.
+ XXX Since I don't know how it is used make it a pointer to a function. */
+void *__crt0v = __mod_init;
+
+
+/* XXX Another weird function from the C library. I have no idea what
+ it does but it is needed by libgcc. */
+void
+_savef14 (void)
+{
+}