[PATCH] Fix PR java/17265

Bryce McKinlay mckinlay@redhat.com
Fri Oct 22 18:34:00 GMT 2004


Eric Botcazou wrote:

>Hi,
>
>This patch reverts
>
>2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
>
>        * class.c (make_local_function_alias): New function. Create local
>        alias for public method DECL.
>        (make_method_value): Use make_local_function_alias.
>
>which breaks the GCJ compiler with non-GNU assemblers.  The problem is that it 
>instructs the compiler to create local aliases of external functions.
>  
>

Eric,

Could you try this version of the patch and see if it fixes 17265 for 
you? This one will not try to emit an alias for an external function 
(which I agree is useless). Making an alias for a local function however 
is not useless - we need this for accurate stack traces and security 
checks, so I'd like to get this patch back in.

Bryce



More information about the Java-patches mailing list