mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 08:37:38 +01:00
(unw_set_caching_policy): Let ia64_init() clear unw.needs_initialization.
(Logical change 1.111)
This commit is contained in:
parent
f5f706c35e
commit
add6b939a0
1 changed files with 1 additions and 4 deletions
|
@ -29,10 +29,7 @@ int
|
|||
unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy)
|
||||
{
|
||||
if (unw.needs_initialization)
|
||||
{
|
||||
unw.needs_initialization = 0;
|
||||
ia64_init ();
|
||||
}
|
||||
ia64_init ();
|
||||
|
||||
#ifndef HAVE___THREAD
|
||||
if (policy == UNW_CACHE_PER_THREAD)
|
||||
|
|
Loading…
Reference in a new issue