Incorrect Listing Output with .lcomm
Nick Clifton
nickc@cambridge.redhat.com
Mon Sep 10 10:18:00 GMT 2001
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
More information about the Binutils
mailing list