public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@cygnus.com>
To: cgf@cygnus.com
Cc: jeffdb@goodnet.com, bfd@cygnus.com,
	cygwin32-developers@cygnus.com, gas2@cygnus.com
Subject: Re: pei symbols
Date: Tue, 02 Jun 1998 19:39:00 -0000	[thread overview]
Message-ID: <199806030239.WAA12715@subrogation.cygnus.com> (raw)
In-Reply-To: <199806030015.UAA09292@kramden.cygnus.com>

   Date: Tue, 2 Jun 1998 20:15:08 -0400
   From: Christopher Faylor <cgf@cygnus.com>

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

Ian

  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:15 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:07 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:
  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=199806030239.WAA12715@subrogation.cygnus.com \
    --to=ian@cygnus.com \
    --cc=bfd@cygnus.com \
    --cc=cgf@cygnus.com \
    --cc=cygwin32-developers@cygnus.com \
    --cc=gas2@cygnus.com \
    --cc=jeffdb@goodnet.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).