about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/dl-librecon.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/dl-librecon.h')
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-librecon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/dl-librecon.h b/sysdeps/unix/sysv/linux/i386/dl-librecon.h
index 5e41977dde..9f52031518 100644
--- a/sysdeps/unix/sysv/linux/i386/dl-librecon.h
+++ b/sysdeps/unix/sysv/linux/i386/dl-librecon.h
@@ -28,15 +28,15 @@
       /* We have to find out whether the binary is linked against	      \
 	 libc 5 or glibc.  We do this by looking at all the DT_NEEDED	      \
 	 entries.  If one is libc.so.5 this is a libc 5 linked binary.  */    \
-      if (GL(dl_loaded)->l_info[DT_NEEDED])				      \
+      if (main_map->l_info[DT_NEEDED])					      \
 	{								      \
 	  /* We have dependencies.  */					      \
 	  const ElfW(Dyn) *d;						      \
 	  const char *strtab;						      \
 									      \
-	  strtab = (const char *) D_PTR (GL(dl_loaded), l_info[DT_STRTAB]);   \
+	  strtab = (const char *) D_PTR (main_map, l_info[DT_STRTAB]);	      \
 									      \
-	  for (d = GL(dl_loaded)->l_ld; d->d_tag != DT_NULL; ++d)	      \
+	  for (d = main_map->l_ld; d->d_tag != DT_NULL; ++d)		      \
 	    if (d->d_tag == DT_NEEDED					      \
 		&& strcmp (strtab + d->d_un.d_val, "libc.so.5") == 0)	      \
 	      break;							      \