This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [java/c++/rfc] avoid plt references to cni methods


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]