[PATCH] Fix PR java/17265
Andrew Haley
aph@redhat.com
Fri Oct 22 11:22:00 GMT 2004
Eric Botcazou writes:
> 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.
Right; that's what we need.
> Quoting comment #6 from RTH: "Note that while this construct is *accepted* by
> gas, it won't do what you might think it would. It does nothing useful.
> I've wished in the past that gas would diagnose this problem..."
>
> Built on sparc64-sun-solaris2.9 and sparc-sun-solaris2.8, built and tested on
> amd64-mandrake-linux-gnu. OK for mainline?
>
>
> 2004-10-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
>
> PR java/17265
> * class.c (make_local_function_alias): Revert 2004-08-18 change.
> (make_method_value): Likewise.
Sigh. Okay. We'll need to find another way to solve this problem.
Andrew.
More information about the Java-patches
mailing list