public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: "Mark E." <snowball3@usa.net>
To: gas2@cygnus.com
Subject: Re: .eh_frame problem
Date: Wed, 03 Mar 1999 21:15:00 -0000	[thread overview]
Message-ID: <199903040515.FAA105708@out2.ibm.net> (raw)
In-Reply-To: <199903040053.QAA03202@rtl.cygnus.com>

> I doubt it, since I think that djgpp doesn't use BFD_ASSEMBLER.  If
> you look at gas/config/tc-i386.h at md_maybe_text, you will see how
> gas guesses whether to pad with 0x90 or 0.
> 
 
Here's the code:
#ifdef BFD_ASSEMBLER
#define md_maybe_text() \
 ((bfd_get_section_flags (stdoutput, now_seg) & 
SEC_CODE) != 0)
#else
#define md_maybe_text() \
 (now_seg != data_section && now_seg != 
bss_section)
#endif

It seems to me, to parallel the BFD_ASSEMBER 
version, that the !BFD_ASSEMBER version should 
be something like:
#define md_maybe_text() (now_seg == 
text_section)

Mark

--- 
Mark Elbrecht
snowball3@usa.net http://members.xoom.com/snowball3/

  parent reply	other threads:[~1999-03-03 21:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-02 21:56 Mark E.
1999-03-03 16:53 ` Ian Lance Taylor
1999-03-03 21:00   ` Mark E.
1999-03-03 21:15   ` Mark E. [this message]
1999-03-04 14:32     ` Ian Lance Taylor
1999-03-03  7:17 Mark E.

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=199903040515.FAA105708@out2.ibm.net \
    --to=snowball3@usa.net \
    --cc=gas2@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).