From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29156 invoked by alias); 17 Nov 2004 06:45:06 -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 29114 invoked from network); 17 Nov 2004 06:45:01 -0000 Received: from unknown (HELO web50910.mail.yahoo.com) (206.190.39.38) by sourceware.org with SMTP; 17 Nov 2004 06:45:01 -0000 Received: (qmail 21552 invoked by uid 60001); 17 Nov 2004 06:45:01 -0000 Message-ID: <20041117064500.21544.qmail@web50910.mail.yahoo.com> Received: from [218.101.109.133] by web50910.mail.yahoo.com via HTTP; Wed, 17 Nov 2004 19:45:00 NZDT Date: Wed, 17 Nov 2004 06:45:00 -0000 From: Danny Smith Subject: [Patch] Add .jcr section to PECOFF linker scripts To: binutils MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-11/txt/msg00249.txt.bz2 Hello, I'm testing a GCC patch to allow both Dwarf2 EH support and Java class registration by a .jcr section table on cygwin and mingw32 targets using new crtbegin and crtend objects. To make the Java part work, PECOFF targets need linker script support for a .jcr section, Binutils modified with the following patch has been tested on mingw32 with GCC 3.3.3, 3.4.3 and trunk and with GCC trunk patched with new crtbegin/crtend objects for cygwin and mingw. ld/Changlog 2004-11-16 Danny Smith * scripttempl/pe.sc (.data): Add .jcr subsection. Index: scripttempl/pe.sc =================================================================== RCS file: /cvs/src/src/ld/scripttempl/pe.sc,v retrieving revision 1.13 diff -u -r1.13 pe.sc --- scripttempl/pe.sc 28 Sep 2004 19:14:29 -0000 1.13 +++ scripttempl/pe.sc 17 Nov 2004 06:37:04 -0000 @@ -88,6 +88,7 @@ *(.data) *(.data2) ${R_DATA} + *(.jcr) ${RELOCATING+__data_end__ = . ;} ${RELOCATING+*(.data_cygwin_nocopy)} } Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com