summaryrefslogtreecommitdiff
path: root/libdwfl/dwfl_module_getdwarf.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2005-08-10 22:13:57 +0000
committerRoland McGrath <roland@redhat.com>2005-08-10 22:13:57 +0000
commitd2c5996f70844ae7816034b56e769ce163251718 (patch)
treed3031948a5700a4c252955b5878cc89b6a6a918b /libdwfl/dwfl_module_getdwarf.c
parentce4550aefd57ab68f6f279a5b662eb1716d7b361 (diff)
downloadelfutils-d2c5996f70844ae7816034b56e769ce163251718.tar.gz
2005-08-10 Roland McGrath <roland@redhat.com>
* relocate.c (__libdwfl_relocate): Take argument DEBUGFILE, use it instead of MOD->debug.file. * libdwflP.h: Update decl. * dwfl_module_getdwarf.c (load_dw): Update caller. Fixes bug #165598.
Diffstat (limited to 'libdwfl/dwfl_module_getdwarf.c')
-rw-r--r--libdwfl/dwfl_module_getdwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c
index 1583c7a8..cf982aaf 100644
--- a/libdwfl/dwfl_module_getdwarf.c
+++ b/libdwfl/dwfl_module_getdwarf.c
@@ -299,7 +299,7 @@ load_dw (Dwfl_Module *mod, Elf *debugfile)
find_symtab (mod);
Dwfl_Error result = mod->symerr;
if (result == DWFL_E_NOERROR)
- result = __libdwfl_relocate (mod);
+ result = __libdwfl_relocate (mod, debugfile);
if (result != DWFL_E_NOERROR)
return result;
}