Fix region length calculations when regions end with .align padding.
authorJim Wilson <wilson@tuliptree.org>
Thu, 5 Feb 2004 23:50:21 +0000 (23:50 +0000)
committerJim Wilson <wilson@tuliptree.org>
Thu, 5 Feb 2004 23:50:21 +0000 (23:50 +0000)
commit5738bc242c501f8bc1344298398e89bdc2acac5e
tree99607e752dc014ca09b34e9b42f941d7f3992739
parent862c7bbf1d4b5a83be48d289fb6906994ff9f9d9
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