diff options
| author | Roland McGrath <[email protected]> | 2009-02-10 17:03:19 -0800 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2009-02-10 17:03:19 -0800 |
| commit | 45c01cd45fde155a91bcfe3533437946afa041ad (patch) | |
| tree | 56e08957dc11989f2f9f46ed26a18172b141b23a /libdwfl/link_map.c | |
| parent | a9d51bfe57609a2623ba4c626454456c4310bec9 (diff) | |
Remove assert depending on confluence of guesses without anomaly.
Diffstat (limited to 'libdwfl/link_map.c')
| -rw-r--r-- | libdwfl/link_map.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libdwfl/link_map.c b/libdwfl/link_map.c index e9890384..30fb445a 100644 --- a/libdwfl/link_map.c +++ b/libdwfl/link_map.c @@ -1,5 +1,5 @@ /* Report modules by examining dynamic linker data structures. - Copyright (C) 2008 Red Hat, Inc. + Copyright (C) 2008, 2009 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -561,9 +561,7 @@ consider_executable (Dwfl_Module *mod, GElf_Addr at_phdr, GElf_Addr at_entry, void *buffer = NULL; size_t buffer_available = addrsize (ehdr.e_ident[EI_CLASS]); - Dwfl_Module *m; - int segndx = INTUSE(dwfl_addrsegment) (mod->dwfl, d_val_vaddr, &m); - assert (m == mod); + int segndx = INTUSE(dwfl_addrsegment) (mod->dwfl, d_val_vaddr, NULL); if ((*memory_callback) (mod->dwfl, segndx, &buffer, &buffer_available, |
