This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [java/c++/rfc] avoid plt references to cni methods
- From: David Daney <ddaney at avtrex dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 24 May 2005 14:25:31 -0700
- Subject: Re: [java/c++/rfc] avoid plt references to cni methods
- References: <20050524211342.GA22147@redhat.com>
Richard Henderson wrote:
The idea is that CNI code will be in the same DSO as its corresponding
Java code. Indeed, after this patch it MUST be in the same DSO. We
arrange for the C++ front end to emit hidden aliases for all of the
functions that we need, and we use those in the _Jv_Method table.
I am a little foggy on how this all works, so excuse my concerns if they
fall into the obvious category.
When you say DSO, I assume that the same applies to executable images as
well. We have plenty of code (CNI with its corresponding java classes)
that is statically linked into the executable. This will continue to
work. Right?
David Daney