about summary refs log tree commit diff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 4f92844e54..b2c9f5dc20 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -84,7 +84,14 @@ const char *_dl_profile;
 const char *_dl_profile_output;
 struct link_map *_dl_profile_map;
 int _dl_lazy;
+/* XXX I know about at least one case where we depend on the old weak
+   behavior (it has to do with librt).  Until we get DSO groups implemented
+   we have to make this the default.  Bummer. --drepper  */
+#if 0
 int _dl_dynamic_weak;
+#else
+int _dl_dynamic_weak = 1;
+#endif
 int _dl_debug_libs;
 int _dl_debug_impcalls;
 int _dl_debug_bindings;