mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-30 10:37:37 +01:00
(tdep_init): Rename from ia64_init().
(Logical change 1.162)
This commit is contained in:
parent
78cec36290
commit
f8b49d4222
1 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ HIDDEN struct ia64_global_unwind_state unw =
|
||||||
};
|
};
|
||||||
|
|
||||||
HIDDEN void
|
HIDDEN void
|
||||||
ia64_init (void)
|
tdep_init (void)
|
||||||
{
|
{
|
||||||
extern void unw_hash_index_t_is_too_narrow (void);
|
extern void unw_hash_index_t_is_too_narrow (void);
|
||||||
uint8_t f1_bytes[16] = {
|
uint8_t f1_bytes[16] = {
|
||||||
|
@ -73,7 +73,7 @@ ia64_init (void)
|
||||||
sigprocmask (SIG_SETMASK, &unwi_full_sigmask, &saved_sigmask);
|
sigprocmask (SIG_SETMASK, &unwi_full_sigmask, &saved_sigmask);
|
||||||
mutex_lock (&unw.lock);
|
mutex_lock (&unw.lock);
|
||||||
{
|
{
|
||||||
if (!unw.needs_initialization)
|
if (!tdep_needs_initialization)
|
||||||
/* another thread else beat us to it... */
|
/* another thread else beat us to it... */
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ ia64_init (void)
|
||||||
#ifndef UNW_REMOTE_ONLY
|
#ifndef UNW_REMOTE_ONLY
|
||||||
ia64_local_addr_space_init ();
|
ia64_local_addr_space_init ();
|
||||||
#endif
|
#endif
|
||||||
unw.needs_initialization = 0; /* signal that we're initialized... */
|
tdep_needs_initialization = 0; /* signal that we're initialized... */
|
||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
mutex_unlock (&unw.lock);
|
mutex_unlock (&unw.lock);
|
||||||
|
|
Loading…
Reference in a new issue