diff options
author | Andreas Krebbel <krebbel1@de.ibm.com> | 2007-01-24 14:46:47 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2007-01-24 14:46:47 +0000 |
commit | f767122b2eba529a485129386dc41ecfcc07cce4 (patch) | |
tree | 40d181be30a62b741ff60c3fc615a9ba1edb4fe6 /libstdc++-v3 | |
parent | 877cc28c99f98cb1ef2bdc9fda528344006de9d0 (diff) | |
download | gcc-f767122b2eba529a485129386dc41ecfcc07cce4.tar.gz |
unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with
_uleb128_t and _Unwind_SWord with _sleb128_t.
* unwind-dw2.c (extract_cie_info, execute_stack_op, execute_cfa_program,
uw_frame_state_for, uw_update_context_1): Likewise.
* unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise.
* unwind-pe.h (read_uleb128, read_sleb128,
read_encoded_value_with_base): Likewise.
* unwind-generic.h: Define _sleb128_t and _uleb128_t types.
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec,
get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced
_Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com>
* exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced
_Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t.
From-SVN: r121116
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/eh_personality.cc | 22 |
2 files changed, 17 insertions, 11 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8cf4f9287a8..56f746ab993 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> + + * libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec, + get_ttype_entry, empty_exception_spec, PERSONALITY_FUNCTION): Replaced + _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. + 2007-01-22 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algobase.h (__fill_aux(unsigned char*, diff --git a/libstdc++-v3/libsupc++/eh_personality.cc b/libstdc++-v3/libsupc++/eh_personality.cc index 9b0654b8875..1e7cc8034df 100644 --- a/libstdc++-v3/libsupc++/eh_personality.cc +++ b/libstdc++-v3/libsupc++/eh_personality.cc @@ -56,7 +56,7 @@ static const unsigned char * parse_lsda_header (_Unwind_Context *context, const unsigned char *p, lsda_header_info *info) { - _Unwind_Word tmp; + _uleb128_t tmp; unsigned char lpstart_encoding; info->Start = (context ? _Unwind_GetRegionStart (context) : 0); @@ -92,7 +92,7 @@ parse_lsda_header (_Unwind_Context *context, const unsigned char *p, // Return an element from a type table. static const std::type_info* -get_ttype_entry(lsda_header_info* info, _Unwind_Word i) +get_ttype_entry(lsda_header_info* info, _uleb128_t i) { _Unwind_Ptr ptr; @@ -112,15 +112,15 @@ typedef _Unwind_Control_Block _throw_typet; static bool check_exception_spec(lsda_header_info* info, _throw_typet* throw_type, - void* thrown_ptr, _Unwind_Sword filter_value) + void* thrown_ptr, _sleb128_t filter_value) { - const _Unwind_Word* e = ((const _Unwind_Word*) info->TType) + const _uleb128_t* e = ((const _uleb128_t*) info->TType) - filter_value - 1; while (1) { const std::type_info* catch_type; - _Unwind_Word tmp; + _uleb128_t tmp; tmp = *e; @@ -210,7 +210,7 @@ typedef const std::type_info _throw_typet; // Return an element from a type table. static const std::type_info * -get_ttype_entry (lsda_header_info *info, _Unwind_Word i) +get_ttype_entry (lsda_header_info *info, _uleb128_t i) { _Unwind_Ptr ptr; @@ -253,14 +253,14 @@ get_adjusted_ptr (const std::type_info *catch_type, static bool check_exception_spec(lsda_header_info* info, _throw_typet* throw_type, - void* thrown_ptr, _Unwind_Sword filter_value) + void* thrown_ptr, _sleb128_t filter_value) { const unsigned char *e = info->TType - filter_value - 1; while (1) { const std::type_info *catch_type; - _Unwind_Word tmp; + _uleb128_t tmp; e = read_uleb128 (e, &tmp); @@ -329,7 +329,7 @@ static bool empty_exception_spec (lsda_header_info *info, _Unwind_Sword filter_value) { const unsigned char *e = info->TType - filter_value - 1; - _Unwind_Word tmp; + _uleb128_t tmp; e = read_uleb128 (e, &tmp); return tmp == 0; @@ -489,7 +489,7 @@ PERSONALITY_FUNCTION (int version, while (p < info.action_table) { _Unwind_Ptr cs_start, cs_len, cs_lp; - _Unwind_Word cs_action; + _uleb128_t cs_action; // Note that all call-site encodings are "absolute" displacements. p = read_encoded_value (0, info.call_site_encoding, p, &cs_start); @@ -535,7 +535,7 @@ PERSONALITY_FUNCTION (int version, { // Otherwise we have a catch handler or exception specification. - _Unwind_Sword ar_filter, ar_disp; + _sleb128_t ar_filter, ar_disp; const std::type_info* catch_type; _throw_typet* throw_type; bool saw_cleanup = false; |