summary refs log tree commit diff
path: root/sysdeps/generic/dl-sysdep.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-12-02 09:03:14 +0000
committerRoland McGrath <roland@gnu.org>1995-12-02 09:03:14 +0000
commit376fd36e2d2383b9049e81ce9494b904a101e4d1 (patch)
tree08ccc4e643f52dda5bd581b28305fe8252b481b6 /sysdeps/generic/dl-sysdep.c
parent8e2e98a2a99a15ceee23e780c072296a3c377586 (diff)
downloadglibc-376fd36e2d2383b9049e81ce9494b904a101e4d1.tar.gz
glibc-376fd36e2d2383b9049e81ce9494b904a101e4d1.tar.xz
glibc-376fd36e2d2383b9049e81ce9494b904a101e4d1.zip
(_dl_sysdep_start) [DL_SYSDEP_INIT]: Invoke this macro before calling DL_MAIN.
Diffstat (limited to 'sysdeps/generic/dl-sysdep.c')
-rw-r--r--sysdeps/generic/dl-sysdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 49379761ad..5337ed6936 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -76,6 +76,10 @@ _dl_sysdep_start (void **start_argptr,
 
   _dl_secure = uid != euid || gid != egid;
 
+#ifdef DL_SYSDEP_INIT
+  DL_SYSDEP_INIT;
+#endif
+
   (*dl_main) (phdr, phnum, &user_entry);
   return user_entry;
 }