diff options
author | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-21 09:47:41 +0300 |
---|---|---|
committer | Tommi Rantala <tt.rantala@gmail.com> | 2012-09-28 14:06:07 +0300 |
commit | 5d0f376b08126b51a001d7cdfba1ec4e0d644f54 (patch) | |
tree | 0a531ec25d61d7ff902b100af5828a72bb0eb87b /include/tdep-hppa | |
parent | c2d6f85a0ac0562f9edaaefd584376af89412a17 (diff) | |
download | libunwind-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-hppa')
-rw-r--r-- | include/tdep-hppa/libunwind_i.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tdep-hppa/libunwind_i.h b/include/tdep-hppa/libunwind_i.h index a94138d6..b5bbcecc 100644 --- a/include/tdep-hppa/libunwind_i.h +++ b/include/tdep-hppa/libunwind_i.h @@ -224,7 +224,7 @@ dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) #endif /* !UNW_LOCAL_ONLY */ #define tdep_getcontext_trace unw_getcontext -#define tdep_needs_initialization UNW_OBJ(needs_initialization) +#define tdep_init_done UNW_OBJ(init_done) #define tdep_init UNW_OBJ(init) /* Platforms that support UNW_INFO_FORMAT_TABLE need to define tdep_search_unwind_table. */ @@ -259,7 +259,7 @@ dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) #define tdep_get_ip(c) ((c)->dwarf.ip) #define tdep_big_endian(as) 1 -extern int tdep_needs_initialization; +extern int tdep_init_done; extern void tdep_init (void); extern int tdep_search_unwind_table (unw_addr_space_t as, unw_word_t ip, |