mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-16 18:21:41 +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)
|
unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy)
|
||||||
{
|
{
|
||||||
if (unw.needs_initialization)
|
if (unw.needs_initialization)
|
||||||
{
|
ia64_init ();
|
||||||
unw.needs_initialization = 0;
|
|
||||||
ia64_init ();
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef HAVE___THREAD
|
#ifndef HAVE___THREAD
|
||||||
if (policy == UNW_CACHE_PER_THREAD)
|
if (policy == UNW_CACHE_PER_THREAD)
|
||||||
|
|
Loading…
Add table
Reference in a new issue