OSDN Git Service

2007-08-06 Andrew Pinski <pinskia@gmail.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Aug 2007 14:17:59 +0000 (14:17 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Aug 2007 14:17:59 +0000 (14:17 +0000)
        PR libobjc/30731
        * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
        of _Unwind_Word for variables which are used in
        read_uleb128/read_sleb128.
        (PERSONALITY_FUNCTION): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127242 138bc75d-0d04-0410-961f-82ee72b054a4

libobjc/ChangeLog
libobjc/exception.c

index f77dc40..ae946e8 100644 (file)
@@ -1,3 +1,11 @@
+2007-08-06  Andrew Pinski  <pinskia@gmail.com>
+
+       PR libobjc/30731
+       * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
+       of _Unwind_Word for variables which are used in
+       read_uleb128/read_sleb128.
+       (PERSONALITY_FUNCTION): Likewise.
+
 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        * aclocal.m4: Regenerated.
index e1de2ae..4777c3b 100644 (file)
@@ -75,7 +75,7 @@ static const unsigned char *
 parse_lsda_header (struct _Unwind_Context *context, const unsigned char *p,
                   struct lsda_header_info *info)
 {
-  _Unwind_Word tmp;
+  _uleb128_t tmp;
   unsigned char lpstart_encoding;
 
   info->Start = (context ? _Unwind_GetRegionStart (context) : 0);
@@ -205,7 +205,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);
@@ -225,7 +225,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);
@@ -271,7 +271,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)
        {