From 8a0e201e331313cb2fe17a092bde0855773f3a4e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 16 Sep 2000 05:22:26 +0000 Subject: Update. * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now. * elf/dl-support.c: Likewise. necessary. Move includes of POSIX and Unix limits files to the end. --- elf/dl-support.c | 7 +++++++ elf/rtld.c | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'elf') diff --git a/elf/dl-support.c b/elf/dl-support.c index d2c8738..50b37e8 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -43,7 +43,14 @@ int _dl_debug_versions; int _dl_debug_reloc; int _dl_debug_files; 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 /* If nonzero print warnings about problematic situations. */ int _dl_verbose; diff --git a/elf/rtld.c b/elf/rtld.c index 4f92844..b2c9f5d 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; -- cgit v1.1