aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-c.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel1@de.ibm.com>2007-01-24 14:46:47 +0000
committerAndreas Krebbel <krebbel@gcc.gnu.org>2007-01-24 14:46:47 +0000
commitf767122b2eba529a485129386dc41ecfcc07cce4 (patch)
tree40d181be30a62b741ff60c3fc615a9ba1edb4fe6 /gcc/unwind-c.c
parent877cc28c99f98cb1ef2bdc9fda528344006de9d0 (diff)
downloadgcc-f767122b2eba529a485129386dc41ecfcc07cce4.zip
gcc-f767122b2eba529a485129386dc41ecfcc07cce4.tar.gz
gcc-f767122b2eba529a485129386dc41ecfcc07cce4.tar.bz2
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 'gcc/unwind-c.c')
-rw-r--r--gcc/unwind-c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/unwind-c.c b/gcc/unwind-c.c
index c8f34ac..f287ea2 100644
--- a/gcc/unwind-c.c
+++ b/gcc/unwind-c.c
@@ -50,7 +50,7 @@ static const unsigned char *
parse_lsda_header (struct _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);
@@ -175,7 +175,7 @@ PERSONALITY_FUNCTION (int version,
return _URC_CONTINUE_UNWIND;
else
{
- _Unwind_Word cs_lp, cs_action;
+ _uleb128_t cs_lp, cs_action;
do
{
p = read_uleb128 (p, &cs_lp);
@@ -185,7 +185,7 @@ PERSONALITY_FUNCTION (int version,
/* Can never have null landing pad for sjlj -- that would have
been indicated by a -1 call site index. */
- landing_pad = cs_lp + 1;
+ landing_pad = (_Unwind_Ptr)cs_lp + 1;
if (cs_action)
action_record = info.action_table + cs_action - 1;
goto found_something;
@@ -195,7 +195,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);