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: Incorrect Listing Output with .lcomm


Hi Tracy,

> binutils configured for a target of sparc-sun-coff generates the
> following listing file in which the line numbers listed under DEFINED
> SYMBOLS do not match the line numbers where the symbol was defined.
> Also, the very first symbol 'a', does not have an associated file and
> line number.
> 
> Any ideas where I should start looking?

I suggest you start by examining the code in s_lcomm_internal() in
gas/read.c.  This parses the .lcomm directive and assigns a frag to
the newly creqted symbol, and it is the frag that contains the line
number information.

Cheers
        Nick


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