Mail Archives: cygwin-developers/1998/06/02/20:11:43
   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 -