This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[Patch] Add .jcr section to PECOFF linker scripts
- From: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Wed, 17 Nov 2004 19:45:00 +1300 (NZDT)
- Subject: [Patch] Add .jcr section to PECOFF linker scripts
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 <dannysmith@users.sourceforge.net>
* 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