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

Ranjit Mathew rmathew@gmail.com
Wed May 25 13:33:00 GMT 2005


Ranjit Mathew wrote:
> 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.
> 
> 
> For the uninitiated, can you please provide some background
> information and the need for this set of patches? Is it
> related to the discussion in:
> 
>   http://gcc.gnu.org/ml/java-patches/2005-q1/msg00181.html
> 
> ?

It seems related to PR21692:

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21692

Thanks to Andrew Pinski for logging the relevant bits
from IRC.

Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/



More information about the Java-patches mailing list