.file/.loc for m68k targets
Nick Clifton
nickc@redhat.com
Tue Jul 17 07:25:00 GMT 2001
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
More information about the Binutils
mailing list