mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
* elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist.
This commit is contained in:
parent
e8b6b64d3c
commit
3c45708967
@ -1,3 +1,7 @@
|
||||
2007-06-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist.
|
||||
|
||||
2007-06-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf/dl-close.c (_dl_close_worker): Remove all to be removed
|
||||
|
@ -244,13 +244,9 @@ _dl_lookup_symbol_x (const char *undef_name, struct link_map *undef_map,
|
||||
|
||||
size_t i = 0;
|
||||
if (__builtin_expect (skip_map != NULL, 0))
|
||||
{
|
||||
/* Search the relevant loaded objects for a definition. */
|
||||
while ((*scope)->r_list[i] != skip_map)
|
||||
++i;
|
||||
|
||||
assert (i < (*scope)->r_nlist);
|
||||
}
|
||||
/* Search the relevant loaded objects for a definition. */
|
||||
while ((*scope)->r_list[i] != skip_map)
|
||||
++i;
|
||||
|
||||
/* Search the relevant loaded objects for a definition. */
|
||||
for (size_t start = i; *scope != NULL; start = 0, ++scope)
|
||||
|
Loading…
Reference in New Issue
Block a user