mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-28 18:07:37 +01:00
IA64: use tdep_find_unwind_table() in coredump lib
Fixup commit d93d96ad83
("Fix compilation
on IA64"), and replace the dwarf_find_unwind_table() call with
tdep_find_unwind_table().
Fixes linkage error on IA64:
../src/.libs/libunwind-coredump.so: undefined reference to `dwarf_find_unwind_table'
This commit is contained in:
parent
354b3fd45b
commit
5d36914c9b
2 changed files with 3 additions and 3 deletions
|
@ -68,9 +68,9 @@ get_unwind_info(struct UCD_info *ui, unw_addr_space_t as, unw_word_t ip)
|
|||
|
||||
/* Here, SEGBASE is the starting-address of the (mmap'ped) segment
|
||||
which covers the IP we're looking for. */
|
||||
if (dwarf_find_unwind_table(&ui->edi, as, phdr->backing_filename, segbase, mapoff, ip) < 0)
|
||||
if (tdep_find_unwind_table(&ui->edi, as, phdr->backing_filename, segbase, mapoff, ip) < 0)
|
||||
{
|
||||
Debug(1, "%s returns error: dwarf_find_unwind_table failed\n", __func__);
|
||||
Debug(1, "%s returns error: tdep_find_unwind_table failed\n", __func__);
|
||||
return -UNW_ENOINFO;
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg,
|
|||
|
||||
Debug (16, "checking object %s\n", path);
|
||||
|
||||
di = dwarf_find_unwind_table (&ui->edi, as, path, lo, off);
|
||||
di = tdep_find_unwind_table (&ui->edi, as, path, lo, off);
|
||||
if (di)
|
||||
{
|
||||
res = _Uia64_find_dyn_list (as, di, arg);
|
||||
|
|
Loading…
Reference in a new issue