aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/init-first.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips/init-first.c')
-rw-r--r--sysdeps/mips/init-first.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mips/init-first.c b/sysdeps/mips/init-first.c
index 3fc4b7bc04..309ff8bcf1 100644
--- a/sysdeps/mips/init-first.c
+++ b/sysdeps/mips/init-first.c
@@ -34,7 +34,7 @@ init (int *data)
__libc_init (argc, argv, envp);
}
-#ifdef PIC
+#ifdef SHARED
/* This function is called to initialize the shared C library.
It is called just before the user _start code from mips/elf/start.S,
with the stack set up as that code gets it. */
@@ -58,7 +58,7 @@ _init (int argc, ...)
void
__libc_init_first (int argc __attribute__ ((unused)), ...)
{
-#ifndef PIC
+#ifndef SHARED
init (&argc);
#endif
}