diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-04-01 00:26:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-04-01 00:26:36 +0000 |
commit | 22c8319345a279e22cf17aa5f9aa851a2b4091c2 (patch) | |
tree | a98c574aaecffb284a8087bd0228dc641ffbcd81 /elf/dl-load.c | |
parent | 20739e5454c12acbc0479387fe795c5b19a4166f (diff) | |
download | glibc-22c8319345a279e22cf17aa5f9aa851a2b4091c2.tar.gz glibc-22c8319345a279e22cf17aa5f9aa851a2b4091c2.tar.xz glibc-22c8319345a279e22cf17aa5f9aa851a2b4091c2.zip |
* elf/dl-open.c: Keep track of used name spaces and only iterate over cvs/fedora-glibc-20090401T0935
those which are used. * elf/dl-addr.c: Likewise. * elf/dl-caller.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-libc.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r-- | elf/dl-load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c index 03edbab279..0052bc22d4 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1959,7 +1959,7 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded, struct filebuf fb; assert (nsid >= 0); - assert (nsid < DL_NNS); + assert (nsid < GL(dl_nns)); /* Look for this name among those already loaded. */ for (l = GL(dl_ns)[nsid]._ns_loaded; l; l = l->l_next) |