This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: .file/.loc for m68k targets
- To: schwab at suse dot de
- Subject: Re: .file/.loc for m68k targets
- From: Nick Clifton <nickc at redhat dot com>
- Date: Tue, 17 Jul 2001 15:26:14 GMT
- CC: binutils at sources dot redhat dot com
- References: <jezoa392lc.fsf@sykes.suse.de>
Hi Andreas,
: This patch add support for dwarf2 .file and .loc in the m68k assembler.
:
: 2001-07-17 Andreas Schwab <schwab@suse.de>
:
: * config/tc-m68k.c (md_pseudo_table): Add .file and .loc.
: * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
There are a couple of problems with this patch.
You only want to use the dwarf2 directives if BFD_ASSEMBLER is
defined, or, more probably, if OBJ_ELF is defined.
Secondly, you presumably need to add a call to dwarf2_emit_insn()
somewhere so that the line table information is actually constructed.
Cheers
Nick