pei symbols
Ian Lance Taylor
ian@cygnus.com
Tue Jun 2 19:39:00 GMT 1998
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
More information about the Bfd
mailing list