2004-01-07 H.J. Lu <hongjiu.lu@intel.com>
commitc20149752042fe73680ba84a1b5a1b2c79138d4e
authorH.J. Lu <hjl@lucon.org>
Wed, 7 Jan 2004 19:19:35 +0000 (7 19:19 +0000)
committerH.J. Lu <hjl@lucon.org>
Wed, 7 Jan 2004 19:19:35 +0000 (7 19:19 +0000)
treeac07841aee0bca020602e8065ee233d6a9c838cd
parent356ae688231c6dd14e7f4e5321a52fa2cdbc163a
2004-01-07  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (unwind): Move next_slot_number and
next_slot_frag to ...
(unw_rec_list): Here.
(free_list_records): Removed.
(output_unw_records): Likewise.
(generate_unwind_image): Make it void.
(alloc_record): Initialize next_slot_number and next_slot_frag.
(slot_index): Take .org, .space and .align into account.
(fixup_unw_records): Don't set slot_number to 0. Use
list->next_slot_number and list->next_slot_frag instead of
unwind.next_slot_number and unwind.next_slot_frag.
(ia64_convert_frag): New.
(generate_unwind_image): Generate a rs_machine_dependent frag
for unwind record.
(emit_one_bundle): Use list->next_slot_number and
list->next_slot_frag instead of unwind.next_slot_number and
unwind.next_slot_frag.

* config/tc-ia64.h (md_convert_frag): Defined as
ia64_convert_frag.
(md_estimate_size_before_relax): Defined as (f)->fr_var.
gas/ChangeLog
gas/config/tc-ia64.c
gas/config/tc-ia64.h