aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-15 18:42:14 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-15 18:42:14 +0000
commitaa2bc6a32d523af80d296aa9fe063b72ef99aa82 (patch)
treec7cdacf602e4bd0081a5797094124c35299e5dac
parent3a60301aead4c0e4d65291b89861a5b315918b27 (diff)
downloadglibc-aa2bc6a32d523af80d296aa9fe063b72ef99aa82.zip
glibc-aa2bc6a32d523af80d296aa9fe063b72ef99aa82.tar.gz
glibc-aa2bc6a32d523af80d296aa9fe063b72ef99aa82.tar.bz2
Update.
1998-09-15 Ulrich Drepper <drepper@cygnus.com> * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP] (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
-rw-r--r--ChangeLog5
-rw-r--r--elf/dynamic-link.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 90ab567..4893627 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-09-15 Ulrich Drepper <drepper@cygnus.com>
+
+ * elf/dynamic-link.h [!ELF_MACHINE_PLTREL_OVERLAP]
+ (_ELF_DYNAMIC_DO_RELOC): Correctly set ranges[1].lazy.
+
1998-09-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* stdio-common/Makefile: Include Makeconfig so that
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index 9e2ca03..85d75d6 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -119,7 +119,6 @@ elf_get_dynamic_info (ElfW(Dyn) *dyn,
struct { ElfW(Addr) start, size; int lazy; } ranges[2]; \
int ranges_index; \
ranges[0].lazy = 0; \
- ranges[1].lazy = 1; \
ranges[0].size = ranges[1].size = 0; \
ranges[0].start = 0; \
\
@@ -141,6 +140,7 @@ elf_get_dynamic_info (ElfW(Dyn) *dyn,
{ \
ranges[1].start = start; \
ranges[1].size = (map)->l_info[DT_PLTRELSZ]->d_un.d_val; \
+ ranges[1].lazy = lazy; \
} \
else \
/* Combine processing the sections. */ \