Fix unwind info problems with .align.
authorJim Wilson <wilson@tuliptree.org>
Sat, 21 Feb 2004 00:24:15 +0000 (00:24 +0000)
committerJim Wilson <wilson@tuliptree.org>
Sat, 21 Feb 2004 00:24:15 +0000 (00:24 +0000)
commitb5e0fabd1f01350077bab42b9f6c5cd00a8144df
tree6dafc4bdb6eba526bdeba46d622b3abb3e7a3419
parent1dbe47d6473ac1895f2ba3cc39f9d2e904621340
Fix unwind info problems with .align.
* config/tc-ia64.c (slot_index): New arg before_relax.  Use instead of
finalize_syms.
(fixup_unw_records): New arg before_relax.  Pass to slot_index.
(ia64_estimate_size_before_relax): New.
(ia64_convert_frag): Pass 0 to fixup_unw_records.  Add comment.
(generate_unwind_image): Pass 1 to fixup_unw_records.
* config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
(md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
gas/ChangeLog
gas/config/tc-ia64.c
gas/config/tc-ia64.h