+2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
+
+ PR bootstrap/83015
+ * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
+ parameter.
+ * config/xtensa/unwind-dw2-xtensa.c: Likewise
+ * config/ia64/unwind-ia64.c: Add frames parameter.
+ * unwind-sjlj.c: Likewise.
+
2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
* config/i386/linux-unwind.h: Include
our caller. */
#if defined( __CR16C__ )
-#define uw_install_context(CURRENT, TARGET) \
+#define uw_install_context(CURRENT, TARGET, FRAMES) \
do \
{ \
long offset = uw_install_context_1 ((CURRENT), (TARGET)); \
} \
while (0)
#else
-#define uw_install_context(CURRENT, TARGET) \
+#define uw_install_context(CURRENT, TARGET, FRAMES) \
do \
{ \
long offset = uw_install_context_1 ((CURRENT), (TARGET)); \
static void __attribute__((noreturn))
uw_install_context (struct _Unwind_Context *current __attribute__((unused)),
- struct _Unwind_Context *target)
+ struct _Unwind_Context *target,
+ unsigned long frames __attribute__((unused)))
{
unw_word ireg_buf[4], ireg_nat = 0, ireg_pr = 0;
unw_word saved_lc;
macro because __builtin_eh_return must be invoked in the context of
our caller. */
-#define uw_install_context(CURRENT, TARGET) \
+#define uw_install_context(CURRENT, TARGET, FRAMES) \
do \
{ \
long offset = uw_install_context_1 ((CURRENT), (TARGET)); \
static void __attribute__((noreturn))
uw_install_context (struct _Unwind_Context *current __attribute__((unused)),
- struct _Unwind_Context *target)
+ struct _Unwind_Context *target,
+ unsigned long frames __attribute__((unused)))
{
_Unwind_SjLj_SetContext (target->fc);
longjmp (target->fc->jbuf, 1);