public inbox for
 help / color / mirror / Atom feed
From: Ian Lance Taylor <>
Subject: Re: pei symbols
Date: Tue, 02 Jun 1998 19:39:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

   Date: Tue, 2 Jun 1998 20:15:08 -0400
   From: Christopher Faylor <>

   >   Pei function symbols need to have a 20 in
   >   internal_syment->n_type
   >   similar to ecoff, anyone know how to get gcc to
   >   generate the appropriate .def/.endef?
   >This patch seems to do it in gcc.  I might try to clean it up and get
   >it into egcs.

   What does adding this do?

It sets the n_type field of all function symbols to DT_FCN << N_BTSHFT
(e.g., 0x20).  The Microsoft PE documentation says that this is
required for all function symbols, for some reason involving
incremental linking.

I doubt it matters for cygwin32.  It's just a minor cleanup of the
Win32 toolchain.


  reply	other threads:[~1998-06-02 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-02 17:14 Christopher Faylor
1998-06-02 19:39 ` Ian Lance Taylor [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-05-11  3:04 Mikey
1998-06-02 16:49 ` Ian Lance Taylor

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:

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

  git send-email \ \ \ \ \ \ \ \

* 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).