]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 9 Aug 1998 00:44:23 +0000 (00:44 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 9 Aug 1998 00:44:23 +0000 (00:44 +0000)
1998-08-09  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.

ChangeLog
elf/dl-reloc.c

index 6a73cb6c4e538879c7593fe3afb7cd37ecfd0591..d56e798f29c9b70679fbf688166e90589c883e7f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-08-09  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.
+
 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
 
        * sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
index 1c0cbb67c40773d8f4bc55cfb008643cb93a7b3f..55e62b67059727a64ddc738f86ac9847c353f36d 100644 (file)
@@ -33,9 +33,15 @@ _dl_relocate_object (struct link_map *l, struct link_map *scope[], int lazy,
   if (l->l_relocated)
     return;
 
+  /* If DT_BIND_NOW is set relocate all references in this object.  We
+     do not do this if we are profiling, of course.  */
+  if (!consider_profiling && l->l_info[DT_BIND_NOW])
+    lazy = 0;
+
   if (_dl_debug_reloc)
     _dl_debug_message (1, "\nrelocation processing: ",
-                      l->l_name[0] ? l->l_name : _dl_argv[0], "\n", NULL);
+                      l->l_name[0] ? l->l_name : _dl_argv[0],
+                      lazy ? " (lazy)\n" : "\n", NULL);
 
   if (l->l_info[DT_TEXTREL])
     {