aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m68hc11.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-m68hc11.c')
-rw-r--r--gas/config/tc-m68hc11.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gas/config/tc-m68hc11.c b/gas/config/tc-m68hc11.c
index 61f25ba..c0549ab 100644
--- a/gas/config/tc-m68hc11.c
+++ b/gas/config/tc-m68hc11.c
@@ -26,8 +26,6 @@
#include "opcode/m68hc11.h"
#include "dwarf2dbg.h"
-struct dwarf2_line_info debug_line;
-
const char comment_chars[] = ";!";
const char line_comment_chars[] = "#*";
const char line_separator_chars[] = "";
@@ -1375,13 +1373,8 @@ m68hc11_new_insn (size)
/* Emit line number information in dwarf2 debug sections. */
if (debug_type == DEBUG_DWARF2)
- {
- bfd_vma addr;
+ dwarf2_generate_asm_lineno (size);
- dwarf2_where (&debug_line);
- addr = frag_now->fr_address + frag_now_fix () - size;
- dwarf2_gen_line_info (addr, &debug_line);
- }
return f;
}