This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: .file/.loc for m68k targets


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]