AIX specific libc startup code..
authorUlrich Drepper <drepper@redhat.com>
Tue, 21 Mar 2000 01:17:14 +0000 (01:17 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 21 Mar 2000 01:17:14 +0000 (01:17 +0000)
sysdeps/unix/sysv/aix/libc-start.c [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/aix/libc-start.c b/sysdeps/unix/sysv/aix/libc-start.c
new file mode 100644 (file)
index 0000000..f7eb65e
--- /dev/null
@@ -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)
+{
+}