public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
To: binutils List <binutils@sourceware.cygnus.com>
Subject: Incorrect Listing Output with .lcomm
Date: Fri, 07 Sep 2001 16:16:00 -0000	[thread overview]
Message-ID: <3B99553B.1F2443A@microchip.com> (raw)

Given the source:
        .data

        .lcomm a, 1

        .lcomm b, 50
        .lcomm c, 1

        .text
foo:
        .lcomm d, 1
        .lcomm e, 10
        .lcomm f, 20
        .lcomm g, 1
        .end


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?

SPARC GAS  /home/users/kuhrtt/tmp/lcomm.s                       page 1


   1                            .data
   2
   3                            .lcomm a, 1
   4
   5                            .lcomm b, 50
   6                            .lcomm c, 1
   7
   8                            .text
   9                    foo:
  10                            .lcomm d, 1
  11                            .lcomm e, 10
  12                            .lcomm f, 20
  13                            .lcomm g, 1
  14                            .end

SPARC GAS  /home/users/kuhrtt/tmp/lcomm.s                       page 2


DEFINED SYMBOLS
                            *ABS*:00000000 fake
                             .bss:00000000 a
/home/users/kuhrtt/tmp/lcomm.s:5      .bss:00000008 b
/home/users/kuhrtt/tmp/lcomm.s:5      .bss:0000003a c
/home/users/kuhrtt/tmp/lcomm.s:9      .text:00000000 foo
/home/users/kuhrtt/tmp/lcomm.s:6      .bss:0000003b d
/home/users/kuhrtt/tmp/lcomm.s:11     .bss:00000040 e
/home/users/kuhrtt/tmp/lcomm.s:12     .bss:00000050 f
/home/users/kuhrtt/tmp/lcomm.s:12     .bss:00000064 g
                            .text:00000000 .text
                            .data:00000000 .data
                             .bss:00000000 .bss

NO UNDEFINED SYMBOLS


             reply	other threads:[~2001-09-07 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-07 16:16 Tracy Kuhrt [this message]
2001-09-10 10:18 ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B99553B.1F2443A@microchip.com \
    --to=tracy.kuhrt@microchip.com \
    --cc=binutils@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).