public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Jason Sullivan <jasonsul@us.ibm.com>
Cc: binutils@sources.redhat.com
Subject: Re: Help with debugging coff .cset bug?
Date: Fri, 19 Jul 2002 03:35:00 -0000	[thread overview]
Message-ID: <20020719100956.GJ30362@bubble.sa.bigpond.net.au> (raw)
In-Reply-To: <OF67167B62.62E0754A-ON85256BF9.00775318@raleigh.ibm.com>

On Wed, Jul 17, 2002 at 06:18:28PM -0400, Jason Sullivan wrote:
> I'm making amusing attempts to debug a problem with .csect addressing in
> the gas assembler.  I've got it configured on AIX
> (--host=rs6000-ibm-aix4.3.3.0 --target=powerpc-ibm-aix) and Linux
> (--host=i686-pc-linux-gnu --target=powerpc-ibm-aix), and I see the problem
> in both places.  When I look at the .lst file and dump the object file, the
> first and second .csects begin at the right address (0, since I haven't
> linked it), but the third .csect begins where the first one left off (so if
> the last address in the first section is 0x18, the first address of the
> third section will be 0x1c).

Hi Jason,
  You don't say what you consider the correct behaviour, at least not
explicitly.  I'll assume that you expect the third csect to start from
zero.  Is that so?  From what I've read about csects they appear to
behave more or less like ELF sections, so that would be reasonable.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

  reply	other threads:[~2002-07-19 10:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-17 15:25 Jason Sullivan
2002-07-19  3:35 ` Alan Modra [this message]
2002-07-22  4:19 ` Nick Clifton
2002-07-19  7:50 Jason Sullivan
2002-07-31 15:24 Jason Sullivan

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=20020719100956.GJ30362@bubble.sa.bigpond.net.au \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sources.redhat.com \
    --cc=jasonsul@us.ibm.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).