Fix region length calculations when regions end with .align padding.
commit77281a9e2cc7e511d46a8a99803851455c129062
authorJim Wilson <wilson@tuliptree.org>
Thu, 5 Feb 2004 23:50:21 +0000 (5 23:50 +0000)
committerJim Wilson <wilson@tuliptree.org>
Thu, 5 Feb 2004 23:50:21 +0000 (5 23:50 +0000)
tree628d7f9ae03a36a32672e68e643655131c00e872
parentf499cfa72f63b7fd1d7ee435f0f25a0bee67c4fe
Fix region length calculations when regions end with .align padding.
* config/tc-ia64.c (output_endp): New.
(count_bits): Delete.
(ia64_flush_insns, process_one_record, optimize_unw_records): Handle
endp unwind records.
(fixup_unw_records): Handle endp unwind records.  Delete code for
shortening prologue regions not followed by a body record.
(dot_endp): Call add_unwind_entry to emit endp unwind record.
* config/tc-ia64.h (unw_record_type): Add endp.
gas/ChangeLog
gas/config/tc-ia64.c
gas/config/tc-ia64.h