From 73f209588f424a1db0c4206e5a894949027c66fd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 7 Jan 2004 19:19:35 +0000 Subject: 2004-01-07 H.J. Lu * 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/config/tc-ia64.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gas/config/tc-ia64.h') diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index 8d2f437..6fd049f 100644 --- a/gas/config/tc-ia64.h +++ b/gas/config/tc-ia64.h @@ -112,6 +112,7 @@ extern void ia64_handle_align PARAMS ((fragS *f)); extern void ia64_after_parse_args PARAMS ((void)); extern void ia64_dwarf2_emit_offset PARAMS ((symbolS *, unsigned int)); extern void ia64_check_label PARAMS ((symbolS *)); +extern void ia64_convert_frag (fragS *); #define md_end() ia64_end_of_source () #define md_start_line_hook() ia64_start_line () @@ -126,12 +127,12 @@ extern void ia64_check_label PARAMS ((symbolS *)); #define TC_FORCE_RELOCATION(f) ia64_force_relocation (f) #define tc_fix_adjustable(f) ia64_fix_adjustable (f) #define MD_APPLY_SYM_VALUE(FIX) 0 -#define md_convert_frag(b,s,f) as_fatal ("ia64_convert_frag") +#define md_convert_frag(b,s,f) ia64_convert_frag (f) #define md_create_long_jump(p,f,t,fr,s) as_fatal ("ia64_create_long_jump") #define md_create_short_jump(p,f,t,fr,s) \ as_fatal ("ia64_create_short_jump") #define md_estimate_size_before_relax(f,s) \ - (as_fatal ("ia64_estimate_size_before_relax"), 1) + (f)->fr_var #define md_elf_section_letter ia64_elf_section_letter #define md_elf_section_flags ia64_elf_section_flags #define TC_FIX_TYPE struct ia64_fix -- cgit v1.1