From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28444 invoked by alias); 12 Apr 2005 13:46:05 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 26146 invoked from network); 12 Apr 2005 13:45:04 -0000 Received: from unknown (HELO cgf.cx) (66.30.17.189) by sourceware.org with SMTP; 12 Apr 2005 13:45:04 -0000 Received: by cgf.cx (Postfix, from userid 201) id 6B96713C343; Tue, 12 Apr 2005 09:45:04 -0400 (EDT) Date: Tue, 12 Apr 2005 13:46:00 -0000 From: Christopher Faylor To: Jan Beulich , binutils@sources.redhat.com Subject: Re: PE32+ Format! Message-ID: <20050412134504.GB11033@trixie.casa.cgf.cx> Reply-To: binutils@sourceware.org Mail-Followup-To: Jan Beulich , binutils@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00287.txt.bz2 [reply-to set] On Tue, Apr 12, 2005 at 08:41:59AM +0200, Jan Beulich wrote: >>>> Christopher Faylor 11.04.05 19:37:32 >>> >>On Mon, Apr 11, 2005 at 06:04:37PM +0200, Jan Beulich wrote: >>>>By the way - is there any public documentation on the PE32+ format >>>>available ? >>> >>>I know only of the MSDN doc (which can't really be considered public I >>>guess), but since Cygwin appears to know about the (or at least some, >>>did a brief check only) 64-bit extensions they must have gotten them >>>from somewhere... >> >>? What 64-bit extensions does cygwin know about? > >Just grep Cygwin's winnt.h for 'IMAGE.*64', and most of the hits will >give you an idea; as I see one of the odd things is that they have >quite a number of the structure changes, but they're lacking the change >to the NT header (IMAGE_OPTIONAL_HEADER64) and the new 'magic' value to >indicate its use. PE32+ isn't really a different format except for >some slightly changed sub-structures to accomodate 64-bit values where >needed (which I guess is why they don't call it PE64). You are apparently referring to the header files in the winsup/w32api/include directory, which is not strictly "cygwin". These have been filled in by volunteers from the net, probably people associated with the MinGW project. I guess if you have questions about these headers the mingw project would be the place to ask. cgf