(DISTINGUISH_LIB_VERSIONS): Don't relocate DT_STRTAB a second time.
[kopensolaris-gnu/glibc.git] / sysdeps / unix / sysv / linux / i386 / dl-librecon.h
index 4ae2e87..84b4396 100644 (file)
@@ -33,8 +33,7 @@
          const ElfW(Dyn) *d;                                                 \
          const char *strtab;                                                 \
                                                                              \
-         strtab = ((void *) _dl_loaded->l_addr                               \
-                   + _dl_loaded->l_info[DT_STRTAB]->d_un.d_ptr);             \
+         strtab = (const char *) _dl_loaded->l_info[DT_STRTAB]->d_un.d_ptr;  \
                                                                              \
          for (d = _dl_loaded->l_ld; d->d_tag != DT_NULL; ++d)                \
            if (d->d_tag == DT_NEEDED                                         \