ARM not using .file/.loc

Daniel Jacobowitz drow@mvista.com
Thu Nov 21 15:17:00 GMT 2002


On Thu, Nov 21, 2002 at 09:43:43PM +0000, Richard Earnshaw wrote:
> > On Thu, Nov 21, 2002 at 09:35:27PM +0000, Richard Earnshaw wrote:
> > > > On Wed, Nov 20, 2002 at 05:21:17PM -0500, Daniel Jacobowitz wrote:
> > > > > Any reason we shouldn't just add 'arm*-*-*' to the insn=nop case?
> > > > 
> > > > Not that I know of.
> > > > 
> > > > 
> > > > r~
> > > 
> > > What precisely is this supposed to be for?
> > 
> > Sorry, could've been clearer: this is used to run certain tests on GAS
> > (and LD?).  Among them are whether we can emit .file/.loc for DWARF-2
> > instead of having to generate the .debug_line section ourselves in
> > .byte directives.
> 
> OK.  Thanks.  Do you know which version of gas on ARM first supported this 
> feature?  The configure.in notes seem to imply that it may vary from 
> target to target.

Looks like:
2000-11-17  Nick Clifton  <nickc@redhat.com>

        * config/tc-arm.c (md_pseudo_table): Add support for .line and
        .file pseudo ops.

Don't recall what version of binutils that was.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc mailing list