summaryrefslogtreecommitdiff
path: root/include/tdep-ia64
diff options
context:
space:
mode:
authorTommi Rantala <tt.rantala@gmail.com>2012-09-21 09:47:41 +0300
committerTommi Rantala <tt.rantala@gmail.com>2012-09-28 14:06:07 +0300
commit5d0f376b08126b51a001d7cdfba1ec4e0d644f54 (patch)
tree0a531ec25d61d7ff902b100af5828a72bb0eb87b /include/tdep-ia64
parentc2d6f85a0ac0562f9edaaefd584376af89412a17 (diff)
downloadlibunwind-5d0f376b08126b51a001d7cdfba1ec4e0d644f54.tar.gz
Invert tdep_init() flag logic
Invert the flag that signals that tdep_init() was called, to move the symbol from data to BSS.
Diffstat (limited to 'include/tdep-ia64')
-rw-r--r--include/tdep-ia64/libunwind_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tdep-ia64/libunwind_i.h b/include/tdep-ia64/libunwind_i.h
index 71e4310b..4d1806d6 100644
--- a/include/tdep-ia64/libunwind_i.h
+++ b/include/tdep-ia64/libunwind_i.h
@@ -186,7 +186,7 @@ struct ia64_global_unwind_state
{
pthread_mutex_t lock; /* global data lock */
- volatile char needs_initialization;
+ volatile char init_done;
/* Table of registers that prologues can save (and order in which
they're saved). */
@@ -217,7 +217,7 @@ struct ia64_global_unwind_state
};
#define tdep_getcontext_trace unw_getcontext
-#define tdep_needs_initialization unw.needs_initialization
+#define tdep_init_done unw.init_done
#define tdep_init UNW_OBJ(init)
/* Platforms that support UNW_INFO_FORMAT_TABLE need to define
tdep_search_unwind_table. */