From 49ad572a70b8aeb91e57483a11dd1b77e31c4468 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 28 Feb 2004 17:56:22 +0000 Subject: Update. * elf/rtld.c (dl_main): Adjust l->l_ld of the vDSO by l->l_addr. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Only set GL(dl_sysinfo) if non-zero. --- sysdeps/generic/dl-sysdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index b95c02d92f..bdd7326c58 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -201,7 +201,7 @@ _dl_sysdep_start (void **start_argptr, #if defined NEED_DL_SYSINFO /* Only set the sysinfo value if we also have the vsyscall DSO. */ - if (GL(dl_sysinfo_dso) != 0) + if (GL(dl_sysinfo_dso) != 0 && new_sysinfo) GL(dl_sysinfo) = new_sysinfo; #endif -- cgit 1.4.1