From a8316fe296bb35169ef4d0bb07fc250a02148589 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 17 Nov 2000 18:07:33 +0000 Subject: * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number. * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for tri-state definition of alpha_flag_mdebug. * config/tc-alpha.c (alpha_flag_mdebug): Init to -1. (s_alpha_file): Store first .file directive. (s_alpha_stab): New. (md_pseudo_table): Add stabs and stabn. --- gas/dwarf2dbg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gas/dwarf2dbg.c') diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index faa9ceeaa55..b09b8dbc2e3 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -444,6 +444,10 @@ dwarf2_gen_line_info (addr, l) /* No filename, no filnum => no play. */ return; + /* Early out for as-yet incomplete location information. */ + if (l->line == 0) + return; + /* Must save these before the subseg_new call, as that call will change them. */ saved_seg = now_seg; -- cgit v1.2.1