summaryrefslogtreecommitdiff
path: root/libjava
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 /libjava
parent877cc28c99f98cb1ef2bdc9fda528344006de9d0 (diff)
downloadgcc-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 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/exception.cc8
2 files changed, 9 insertions, 4 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 9b785af5f3e..63b3f01a982 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2007-01-23 H.J. Lu <hongjiu.lu@intel.com>
PR libgcj/30550
diff --git a/libjava/exception.cc b/libjava/exception.cc
index 3d8fda1d790..4875dfde52f 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -128,7 +128,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);
@@ -251,7 +251,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);
@@ -271,7 +271,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);
@@ -317,7 +317,7 @@ PERSONALITY_FUNCTION (int version,
else
{
// Otherwise we have a catch handler.
- _Unwind_Sword ar_filter, ar_disp;
+ _sleb128_t ar_filter, ar_disp;
while (1)
{