+2005-08-22 Roland McGrath <roland@redhat.com>
+
+ * dwfl_module_getdwarf.c (find_symtab): Use elf_getdata instead of
+ elf_rawdata for symbol-related sections.
+
2005-08-10 Roland McGrath <roland@redhat.com>
* relocate.c (__libdwfl_relocate): Take argument DEBUGFILE,
/* Cache the data; MOD->syments was set above. */
- mod->symstrdata = elf_rawdata (elf_getscn (mod->symfile->elf, strshndx),
+ mod->symstrdata = elf_getdata (elf_getscn (mod->symfile->elf, strshndx),
NULL);
if (mod->symstrdata == NULL)
goto elferr;
mod->symxndxdata = NULL;
else
{
- mod->symxndxdata = elf_rawdata (xndxscn, NULL);
+ mod->symxndxdata = elf_getdata (xndxscn, NULL);
if (mod->symxndxdata == NULL)
goto elferr;
}
- mod->symdata = elf_rawdata (symscn, NULL);
+ mod->symdata = elf_getdata (symscn, NULL);
if (mod->symdata == NULL)
goto elferr;
}