mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
* config/tc-ia64.c (fixup_unw_records): Don't let the "t" value in an epilogue directive go negative.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
|
||||||
|
|
||||||
|
* config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
|
||||||
|
in an epilogue directive go negative.
|
||||||
|
|
||||||
2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
|
2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR 474
|
PR 474
|
||||||
|
@ -2747,7 +2747,13 @@ fixup_unw_records (list, before_relax)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case epilogue:
|
case epilogue:
|
||||||
|
if (t < rlen)
|
||||||
ptr->r.record.b.t = rlen - 1 - t;
|
ptr->r.record.b.t = rlen - 1 - t;
|
||||||
|
else
|
||||||
|
/* This happens when a memory-stack-less procedure uses a
|
||||||
|
".restore sp" directive at the end of a region to pop
|
||||||
|
the frame state. */
|
||||||
|
ptr->r.record.b.t = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case mem_stack_f:
|
case mem_stack_f:
|
||||||
|
Reference in New Issue
Block a user