This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
.jcr section is not preserved in shared version of libgcj library
- From: "jojelino" <jojelino at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Sat, 9 Jan 2010 15:34:42 +0900
- Subject: .jcr section is not preserved in shared version of libgcj library
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42658
it is critical when linking libgcj library hence it uses .jcr section to
initialize java class CTORs
how can we workaround this phenomenon??
$ nm -sn cyggcj-11.dll |grep JCR
6c9487d0 d ___JCR_END__
6c9487d0 d ___JCR_LIST__
$ nm -sn ../gcj-dbtool-static |grep JCR
00ffd668 d ___JCR_LIST__
010021c4 d ___JCR_END__