1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-27 09:37:38 +01:00

(_UPT_get_dyn_info_list_addr): Don't cache dyn-info-list address here. Do it

in libunwind proper instead.

(Logical change 1.61)
This commit is contained in:
mostang.com!davidm 2003-03-11 01:11:18 +00:00
parent 455b0acd97
commit 7e7d86ade8

View file

@ -42,14 +42,6 @@ _UPT_get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dil_addr,
unw_word_t res;
int count = 0;
if (ui->checked_dyn_info_list_addr)
{
*dil_addr = ui->dyn_info_list_addr;
return *dil_addr ? 0 : -UNW_ENOINFO;
}
ui->checked_dyn_info_list_addr = 1;
debug (100, "%s: looking for dyn_info list\n", __FUNCTION__);
#if UNW_TARGET_IA64
@ -75,7 +67,7 @@ _UPT_get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dil_addr,
{
debug (100, "%s: dyn_info_list_addr = 0x%lx\n",
__FUNCTION__, (long) res);
ui->dyn_info_list_addr = *dil_addr = res;
*dil_addr = res;
}
}
}