From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: deo@logos-m.ru Cc: binutils@sourceware.cygnus.com Subject: Re: elf "note" section for win32-style thread context Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <19990510170556.20520.qmail@daffy.airs.com> References: <19990510150327.20323.qmail@daffy.airs.com> <7858.990510@logos-m.ru> <7858.990510@logos-m.ru> X-SW-Source: 1999-q2/msg00009.html Date: Mon, 10 May 1999 20:36:31 +0400 From: Egor Duda ILT> The prstatus_t stuff is all ELF specific, so you would have to copy it ILT> anyhow for the PE-based cygwin code. The current implementation is ILT> actually not quite right in that it relies on host header files, and ILT> even if the right header files are available can not be built ILT> correctly for a cross toolchain. i'm not sure why? you mean that my changes will make cygwin depend on bfd? cygwin already depends upon BFD. prstatus_t is used in bfd/elf.c, so it is ELF specific. That ELF code is not used for the cygwin target. Moreover, the code in bfd/elf.c depends upon having a host header file which defines the prstatus_t struct. Therefore, it does not work when the binutils are configured as a cross toolchain. Ian