From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Clifton To: Tracy Kuhrt Cc: binutils List Subject: Re: Incorrect Listing Output with .lcomm Date: Mon, 10 Sep 2001 10:18:00 -0000 Message-id: References: <3B99553B.1F2443A@microchip.com> X-SW-Source: 2001-09/msg00143.html 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