(rtld_global_ro): Initialize _dl_discover_osversion.
authordrepper <drepper>
Sat, 8 Mar 2008 07:29:40 +0000 (07:29 +0000)
committerdrepper <drepper>
Sat, 8 Mar 2008 07:29:40 +0000 (07:29 +0000)
elf/rtld.c

index 9497e5d..46bece7 100644 (file)
@@ -162,7 +162,10 @@ struct rtld_global_ro _rtld_global_ro attribute_relro =
     ._dl_check_caller = _dl_check_caller,
     ._dl_open = _dl_open,
     ._dl_close = _dl_close,
-    ._dl_tls_get_addr_soft = _dl_tls_get_addr_soft
+    ._dl_tls_get_addr_soft = _dl_tls_get_addr_soft,
+#ifdef HAVE_DL_DISCOVER_OSVERSION
+    ._dl_discover_osversion = _dl_discover_osversion
+#endif
   };
 /* If we would use strong_alias here the compiler would see a
    non-hidden definition.  This would undo the effect of the previous