diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-04-01 09:41:37 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-04-01 09:41:37 +0000 |
commit | 1a6da537df1fe1726d95407ec04cf65caa1f8121 (patch) | |
tree | 6bce92bfbf8738fc893911aab9c9712da72ab6e6 /elf/dl-addr.c | |
parent | ef860a878bf532436a469fc1f89fe3366862a949 (diff) | |
download | glibc-1a6da537df1fe1726d95407ec04cf65caa1f8121.tar glibc-1a6da537df1fe1726d95407ec04cf65caa1f8121.tar.gz glibc-1a6da537df1fe1726d95407ec04cf65caa1f8121.tar.bz2 glibc-1a6da537df1fe1726d95407ec04cf65caa1f8121.zip |
Updated to fedora-glibc-20090401T0935cvs/fedora-glibc-2_9_90-12
Diffstat (limited to 'elf/dl-addr.c')
-rw-r--r-- | elf/dl-addr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-addr.c b/elf/dl-addr.c index 17745b55b0..2b53a5ed09 100644 --- a/elf/dl-addr.c +++ b/elf/dl-addr.c @@ -1,5 +1,5 @@ /* Locate the shared object symbol nearest a given address. - Copyright (C) 1996-2004, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 1996-2007, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -132,7 +132,7 @@ _dl_addr (const void *address, Dl_info *info, __rtld_lock_lock_recursive (GL(dl_load_lock)); /* Find the highest-addressed object that ADDRESS is not below. */ - for (Lmid_t ns = 0; ns < DL_NNS; ++ns) + for (Lmid_t ns = 0; ns < GL(dl_nns); ++ns) for (struct link_map *l = GL(dl_ns)[ns]._ns_loaded; l; l = l->l_next) if (addr >= l->l_map_start && addr < l->l_map_end && (l->l_contiguous || _dl_addr_inside_object (l, addr))) |