[java/c++/rfc] avoid plt references to cni methods
David Daney
ddaney@avtrex.com
Tue May 24 21:34:00 GMT 2005
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
More information about the Gcc-patches
mailing list