www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/06/02/20:11:43

From: ian AT cygnus DOT com (Ian Lance Taylor)
Subject: Re: pei symbols
2 Jun 1998 20:11:43 -0700 :
Message-ID: <199806030239.WAA12715.cygnus.cygwin32.developers@subrogation.cygnus.com>
References: <199806030015 DOT UAA09292 AT kramden DOT cygnus DOT com>
To: cgf AT cygnus DOT com
Cc: jeffdb AT goodnet DOT com, bfd AT cygnus DOT com, cygwin32-developers AT cygnus DOT com,
gas2 AT cygnus DOT com

   Date: Tue, 2 Jun 1998 20:15:08 -0400
   From: Christopher Faylor <cgf AT cygnus DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019