summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-06-29 17:20:10 +0000
committerUlrich Drepper <drepper@redhat.com>2002-06-29 17:20:10 +0000
commita32c7fb447ed82297343b2d7d6da84b57d3ebca1 (patch)
tree339171c831d641190b1f42e4c939aa83e3f8f4e6 /elf
parente438a4684563c16b6d8bfb8e4066d277133e1912 (diff)
downloadglibc-a32c7fb447ed82297343b2d7d6da84b57d3ebca1.tar.gz
Update.
2002-06-29 Ulrich Drepper <drepper@redhat.com> * locales/en_AU: Add am/pm support. Patch partly by maffew@cat.org.au [PR libc/3911].
Diffstat (limited to 'elf')
-rw-r--r--elf/do-rel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/do-rel.h b/elf/do-rel.h
index 7f3b06acd2..bad102549b 100644
--- a/elf/do-rel.h
+++ b/elf/do-rel.h
@@ -70,7 +70,7 @@ elf_dynamic_do_rel (struct link_map *map,
ElfW(Word) nrelative = (map->l_info[RELCOUNT_IDX] == NULL
? 0 : map->l_info[RELCOUNT_IDX]->d_un.d_val);
const ElfW(Rel) *relative = r;
- r = MIN (r + nrelative, end);
+ r = r + MIN (nrelative, relsize / sizeof (ElfW(Rel)));
#ifndef RTLD_BOOTSTRAP
/* This is defined in rtld.c, but nowhere in the static libc.a; make