+2001-08-01 Mark Kettenis <kettenis@gnu.org>
+
+ * unwind-pe.h (base_of_encoded_value, read_encoded_value): Define
+ only if NO_BASE_OF_ENCODED_VALUE isn't defined.
+ * unwind-dw2-fde.c (NO_BASE_OF_ENCODED_VALUE): Define before
+ including "unwind-pe.h".
+
Wed Aug 1 20:01:42 CEST 2001 Jan Hubicka <jh@suse.cz>
* rs6000.md (define_splits): Kill unused constraints.
__gxx_abort ();
}
+#ifndef NO_BASE_OF_ENCODED_VALUE
+
/* Given an encoding and an _Unwind_Context, return the base to which
the encoding is relative. This base may then be passed to
read_encoded_value_with_base for use when the _Unwind_Context is
__gxx_abort ();
}
+#endif
+
/* Load an encoded value from memory at P. The value is returned in VAL;
The function returns P incremented past the value. BASE is as given
by base_of_encoded_value for this encoding in the appropriate context. */
return p;
}
+#ifndef NO_BASE_OF_ENCODED_VALUE
+
/* Like read_encoded_value_with_base, but get the base from the context
rather than providing it directly. */
p, val);
}
+#endif
+
/* Read an unsigned leb128 value from P, store the value in VAL, return
P incremented past the value. */