Commit b80c0987 by Jakub Jelinek Committed by Jakub Jelinek

unwind-ia64.c (uw_update_reg_address): Handle .save XX, r0.

	* config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
	.save XX, r0.

From-SVN: r66861
parent 18abc5e1
2003-05-16 Jakub Jelinek <jakub@redhat.com>
* config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
.save XX, r0.
2003-05-15 Roger Sayle <roger@eyesopen.com> 2003-05-15 Roger Sayle <roger@eyesopen.com>
* config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo. * config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo.
......
...@@ -1771,6 +1771,11 @@ uw_update_reg_address (struct _Unwind_Context *context, ...@@ -1771,6 +1771,11 @@ uw_update_reg_address (struct _Unwind_Context *context,
addr = ia64_rse_skip_regs ((unsigned long *) context->bsp, rval - 32); addr = ia64_rse_skip_regs ((unsigned long *) context->bsp, rval - 32);
else if (rval >= 2) else if (rval >= 2)
addr = context->ireg[rval - 2].loc; addr = context->ireg[rval - 2].loc;
else if (rval == 0)
{
static const unsigned long dummy;
addr = (void *) &dummy;
}
else else
abort (); abort ();
break; break;
...@@ -1822,6 +1827,11 @@ uw_update_reg_address (struct _Unwind_Context *context, ...@@ -1822,6 +1827,11 @@ uw_update_reg_address (struct _Unwind_Context *context,
context->ireg[regno - UNW_REG_R2].nat context->ireg[regno - UNW_REG_R2].nat
= context->ireg[rval - 2].nat; = context->ireg[rval - 2].nat;
} }
else if (rval == 0)
{
context->ireg[regno - UNW_REG_R2].nat.type = UNW_NAT_NONE;
context->ireg[regno - UNW_REG_R2].nat.off = 0;
}
else else
abort (); abort ();
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment