unwind-dw2.c (uw_init_context_1): Fix test that checks if dwarf_reg_size_table has been initialized.

* unwind-dw2.c (uw_init_context_1): Fix test that checks if
	dwarf_reg_size_table has been initialized.

From-SVN: r118188
This commit is contained in:
J"orn Rennecke 2006-10-30 17:55:33 +00:00 committed by Joern Rennecke
parent 428aba16aa
commit 7bec3e8418
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-10-30 J"orn Rennecke <joern.rennecke@st.com>
* unwind-dw2.c (uw_init_context_1): Fix test that checks if
dwarf_reg_size_table has been initialized.
2006-10-30 Roger Sayle <roger@eyesopen.com>
* builtins.c (expand_builtin_mathfn_3): Correct coding style.

View File

@ -1374,7 +1374,7 @@ uw_init_context_1 (struct _Unwind_Context *context,
{
static __gthread_once_t once_regsizes = __GTHREAD_ONCE_INIT;
if (__gthread_once (&once_regsizes, init_dwarf_reg_size_table) != 0
|| dwarf_reg_size_table[0] == 0)
&& dwarf_reg_size_table[0] == 0)
init_dwarf_reg_size_table ();
}
#else