aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-16 05:22:26 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-16 05:22:26 +0000
commit8a0e201e331313cb2fe17a092bde0855773f3a4e (patch)
treeddf3fb00e6c7a15ddf5f24379ff3fe755b6e8f7a
parentd3d934d81cffcd24d6dce6f54e7f77204ecd777f (diff)
downloadglibc-8a0e201e331313cb2fe17a092bde0855773f3a4e.tar
glibc-8a0e201e331313cb2fe17a092bde0855773f3a4e.tar.gz
glibc-8a0e201e331313cb2fe17a092bde0855773f3a4e.tar.bz2
glibc-8a0e201e331313cb2fe17a092bde0855773f3a4e.zip
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.
-rw-r--r--ChangeLog6
-rw-r--r--elf/dl-support.c7
-rw-r--r--elf/rtld.c7
3 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f429ff75ea..9e437b8a6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-09-15 Ulrich Drepper <drepper@redhat.com>
+ * elf/rtld.c (_dl_dynamic_weak): Set to 1 by default for now.
+ * elf/dl-support.c: Likewise.
+
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Correct position of
st_blocks member in stat and stat64 structs.
Patch by Bill Nottingham <notting@redhat.com>.
@@ -13,8 +16,7 @@
Patches by Joseph S. Myers <jsm28@cam.ac.uk>.
* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX if
- necessary. Move includes of POSIX and Unix limits files to the
- end.
+ necessary. Move includes of POSIX and Unix limits files to the end.
* stdlib/Makefile (tests): Add tst-limits.
* stdlib/tst-limits.h: New file.
diff --git a/elf/dl-support.c b/elf/dl-support.c
index d2c8738043..50b37e8166 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 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;