Fix bugs in handling of the .restore directive.
authorJim Wilson <wilson@tuliptree.org>
Wed, 21 Feb 2001 22:39:59 +0000 (22:39 +0000)
committerJim Wilson <wilson@tuliptree.org>
Wed, 21 Feb 2001 22:39:59 +0000 (22:39 +0000)
commit33d01f331b0673ed67fa8a71c9cb90f7d35d16b7
treeee034d403f66041d2b6f03db319859edf205ed6a
parentdd425adaa8da7d06250ea4303bd0275e790adeba
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