]> gcc.gnu.org Git - gcc.git/commitdiff
unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
authorMatt Kraai <kraai@alumni.cmu.edu>
Sat, 14 Jun 2003 03:08:12 +0000 (03:08 +0000)
committerMatt Kraai <kraai@gcc.gnu.org>
Sat, 14 Jun 2003 03:08:12 +0000 (03:08 +0000)
* unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
* unwind-pe.h (size_of_encoded_value): Do not define if
NO_SIZE_OF_ENCODED_VALUE is defined.

From-SVN: r67930

gcc/ChangeLog
gcc/unwind-c.c
gcc/unwind-pe.h

index 4737fa0e3c55c2835cb4657d0fd0fd44720742e6..d9b3523dfa3d6bbd1cce46037b0d1e77b64d62e0 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-13  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
+       * unwind-pe.h (size_of_encoded_value): Do not define if
+       NO_SIZE_OF_ENCODED_VALUE is defined.
+
 2003-06-13  Roger Sayle  <roger@eyesopen.com>
 
        * expr.c (expand_expr <COMPLEX_CST>): Handle the case of
index 9ce09568988265b2c4dc6f62c5ee49a5a70b42ab..8f2f5c43fe05dc5088d5727abbc2e5c04303e8ff 100644 (file)
@@ -23,6 +23,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #include "tconfig.h"
 #include "tsystem.h"
 #include "unwind.h"
+#define NO_SIZE_OF_ENCODED_VALUE
 #include "unwind-pe.h"
 
 typedef struct
index d32e506667d6544df7033c24b9eec345c00a6802..bfa455c4f32d0eec44a824fc33b423fc92f02b5b 100644 (file)
@@ -52,6 +52,8 @@
 #define DW_EH_PE_indirect      0x80
 \f
 
+#ifndef NO_SIZE_OF_ENCODED_VALUE
+
 /* Given an encoding, return the number of bytes the format occupies.
    This is only defined for fixed-size encodings, and so does not
    include leb128.  */
@@ -76,6 +78,8 @@ size_of_encoded_value (unsigned char encoding)
   __gxx_abort ();
 }
 
+#endif
+
 #ifndef NO_BASE_OF_ENCODED_VALUE
 
 /* Given an encoding and an _Unwind_Context, return the base to which
This page took 0.118063 seconds and 5 git commands to generate.