aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2004-02-21 00:24:15 +0000
committerJim Wilson <wilson@tuliptree.org>2004-02-21 00:24:15 +0000
commitb5e0fabd1f01350077bab42b9f6c5cd00a8144df (patch)
tree6dafc4bdb6eba526bdeba46d622b3abb3e7a3419 /gas/config/tc-ia64.h
parent1dbe47d6473ac1895f2ba3cc39f9d2e904621340 (diff)
downloadgdb-b5e0fabd1f01350077bab42b9f6c5cd00a8144df.zip
gdb-b5e0fabd1f01350077bab42b9f6c5cd00a8144df.tar.gz
gdb-b5e0fabd1f01350077bab42b9f6c5cd00a8144df.tar.bz2
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.
Diffstat (limited to 'gas/config/tc-ia64.h')
-rw-r--r--gas/config/tc-ia64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h
index d1a04ee..e27f5e0 100644
--- a/gas/config/tc-ia64.h
+++ b/gas/config/tc-ia64.h
@@ -115,6 +115,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 int ia64_estimate_size_before_relax (fragS *, asection *);
extern void ia64_convert_frag (fragS *);
#define md_end() ia64_end_of_source ()
@@ -138,7 +139,7 @@ extern void ia64_convert_frag (fragS *);
#define md_create_short_jump(p,f,t,fr,s) \
as_fatal ("ia64_create_short_jump")
#define md_estimate_size_before_relax(f,s) \
- (f)->fr_var
+ ia64_estimate_size_before_relax(f,s)
#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