diff options
author | Roland McGrath <roland@redhat.com> | 2009-04-24 20:12:58 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2009-04-24 20:12:58 +0000 |
commit | 5a4cef9b6c2899944308fdb8f78559fc0df766cc (patch) | |
tree | a2369e429320b9de36cc73d858273b8eedaf99d5 /elfutils/libdwfl/link_map.c | |
parent | d431016d60829733e5cf287f03bd190ebcb013e5 (diff) | |
download | elfutils-47dd27dd02369170e049156b01884fb34e552271.tar.gz |
0.141-10.141-1
- Update to 0.141
- libebl: sparc backend fixes (#490585)
some more arm backend support
- libdwfl: fix dwfl_module_build_id for prelinked DSO case (#489439)
fixes in core file support (#494858)
dwfl_module_getsym interface improved for non-address symbols
- eu-strip: fix infinite loop on strange inputs with -f
- eu-addr2line: take -j/--section=NAME option for binutils compatibility
(same effect as '(NAME)0x123' syntax already supported)
- Resolves: RHBZ #495213, RHBZ #465872, RHBZ #470055, RHBZ #484623
Diffstat (limited to 'elfutils/libdwfl/link_map.c')
-rw-r--r-- | elfutils/libdwfl/link_map.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/elfutils/libdwfl/link_map.c b/elfutils/libdwfl/link_map.c index e9890384..2d4d75f1 100644 --- a/elfutils/libdwfl/link_map.c +++ b/elfutils/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, @@ -587,7 +585,6 @@ consider_executable (Dwfl_Module *mod, GElf_Addr at_phdr, GElf_Addr at_entry, (*memory_callback) (mod->dwfl, -1, &buffer, &buffer_available, 0, 0, memory_callback_arg); - if (*elfclass == ELFCLASSNONE) *elfclass = ehdr.e_ident[EI_CLASS]; else if (*elfclass != ehdr.e_ident[EI_CLASS]) |