Fix bugs in handling of the .restore directive.
commitb3c73c977debad48c9271846aa6f252a75d9551a
authorJim Wilson <wilson@tuliptree.org>
Wed, 21 Feb 2001 22:39:59 +0000 (21 22:39 +0000)
committerJim Wilson <wilson@tuliptree.org>
Wed, 21 Feb 2001 22:39:59 +0000 (21 22:39 +0000)
tree7131b1e1532fa535f8f1908f7d22756b19b97be7
parentf6e4485dc9ff173d114e95ec0a3814879f9c5e89
Fix bugs in handling of the .restore directive.
* config/tc-ia64.c (struct unwind): Add member "prologue_count".
(dot_proc): Clear unwind.prologue_count to zero.
(dot_prologue): Increment unwind.prologue_count.
(dot_restore): If second operand is omitted, use
unwind.prologue_count -1 for "ecount" (# of additional regions to
pop).  Decrement unwind.prologue_count by number of regions
popped.
gas/ChangeLog
gas/config/tc-ia64.c