From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10353 invoked by alias); 17 Aug 2006 15:00:27 -0000 Received: (qmail 10340 invoked by uid 22791); 17 Aug 2006 15:00:26 -0000 X-Spam-Check-By: sourceware.org Received: from smtp114.sbc.mail.mud.yahoo.com (HELO smtp114.sbc.mail.mud.yahoo.com) (68.142.198.213) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 17 Aug 2006 15:00:20 +0000 Received: (qmail 16548 invoked from network); 17 Aug 2006 15:00:19 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.146.115.163 with login) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 17 Aug 2006 15:00:18 -0000 Received: by lucon.org (Postfix, from userid 1000) id B698A63F2E; Thu, 17 Aug 2006 08:00:17 -0700 (PDT) Date: Thu, 17 Aug 2006 16:45:00 -0000 From: "H. J. Lu" To: Kai Tietz Cc: binutils@sourceware.org Subject: Re: PE+ and new COFF format for x86_64 target for XP64 and Vista binaries Message-ID: <20060817150017.GA982@lucon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00199.txt.bz2 Do you have copyright paper with FSF? Also you need to provide ChangeLog entries. You should also provide some testcases for as, ld and objcopy/strip. H.J. -- On Thu, Aug 17, 2006 at 11:40:36AM +0200, Kai Tietz wrote: > Hallo, > > This is a port of binutils-2.17 for COFF-format x86-64 (AMD64) and the PE+ > for Windows XP64 and Vista EXE/DLL. The target is named x86_64-pc-mingw64. > I enabled windres and dlltool for this target. For the tool objdump the > processing and printing methods for DLL-imports are adjusted (they are now > 8 bytes long :( ) > > I made a copy of the pe_dll(.c&.h) as pep_dll(.c&.h) to minimize > intersections. May these files can be merged. > > In the "include/coff/external.h" I introduced the proper PE+ external > aouthdr structure without the data_start member. Because this non-existing > member breaks the > size of the PEPAOUT structure in include/coff/pe.h. > > For the bfd/pexxigen.c template I used the pex64 name alias for > generation. > > I added the following new files: > bfd/coff-x86_64.c > bfd/pe-x86_64.c > bfd/pei-x86_64.c > gas/config/te-pep.h > include/coff/x86_54.h > ld/pep_dll.c > ld/pep_dll.h > ld/emulparams/i386pep.sh > ld/emultempl/pep.em > ld/scripttempl/pep.sc > > > I tested the ld of this target by MSVC object-files and by (a patched) gcc > object-files (using this gas) linking against MS-Runtime-libraries. > > i.A. Kai Tietz > > > > ---------------------------------------- > Kai Tietz - Software engineering > OneVision Software Entwicklungs GmbH & Co KG > Dr.-Leo-Ritter-Str. 9, 93049 Regensburg, Germany > Phone: +49-941-78004-0 > FAX: +49-941-78004-489 > WWW: http://www.OneVision.com