diff options
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r-- | gas/dwarf2dbg.c | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 01ac9d9..5866cb4 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -31,6 +31,9 @@ #include <limits.h> #include "as.h" + +#ifdef BFD_ASSEMBLER + #include "dwarf2dbg.h" #include "subsegs.h" @@ -1244,3 +1247,53 @@ dwarf2_finish () out_debug_info (info_seg, abbrev_seg, line_seg); } } + +#else +void +dwarf2_finish () +{ +} + +int +dwarf2dbg_estimate_size_before_relax (frag) + fragS *frag ATTRIBUTE_UNUSED; +{ + as_fatal (_("dwarf2 is not supported for this object file format")); + return 0; +} + +int +dwarf2dbg_relax_frag (frag) + fragS *frag ATTRIBUTE_UNUSED; +{ + as_fatal (_("dwarf2 is not supported for this object file format")); + return 0; +} + +void +dwarf2dbg_convert_frag (frag) + fragS *frag ATTRIBUTE_UNUSED; +{ + as_fatal (_("dwarf2 is not supported for this object file format")); +} + +void +dwarf2_emit_insn (size) + int size ATTRIBUTE_UNUSED; +{ +} + +void +dwarf2_directive_file (dummy) + int dummy ATTRIBUTE_UNUSED; +{ + as_fatal (_("dwarf2 is not supported for this object file format")); +} + +void +dwarf2_directive_loc (dummy) + int dummy ATTRIBUTE_UNUSED; +{ + as_fatal (_("dwarf2 is not supported for this object file format")); +} +#endif /* BFD_ASSEMBLER */ |