* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a

body record so that an error is given for misplaced .save
	pseudo-ops.
This commit is contained in:
Andreas Schwab
2002-03-12 09:30:42 +00:00
parent 3daeddf6b0
commit 1e16b528eb
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-03-12 Andreas Schwab <schwab@suse.de>
* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
body record so that an error is given for misplaced .save
pseudo-ops.
2002-03-09 Alan Modra <amodra@bigpond.net.au> 2002-03-09 Alan Modra <amodra@bigpond.net.au>
* config/tc-i386.h (REX_OPCODE): Define. * config/tc-i386.h (REX_OPCODE): Define.

View File

@ -2709,6 +2709,10 @@ fixup_unw_records (list)
size = (slot_index (last_addr, last_frag, first_addr, first_frag) size = (slot_index (last_addr, last_frag, first_addr, first_frag)
+ dir_len); + dir_len);
rlen = ptr->r.record.r.rlen = size; rlen = ptr->r.record.r.rlen = size;
if (ptr->r.type == body)
/* End of region. */
region = 0;
else
region = ptr; region = ptr;
break; break;
} }