This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR java/17265
- From: Andrew Haley <aph at redhat dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Fri, 22 Oct 2004 12:20:58 +0100
- Subject: [PATCH] Fix PR java/17265
- References: <200410221234.26719.ebotcazou@libertysurf.fr>
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.