[PATCH] Fix PR java/17265
Eric Botcazou
ebotcazou@libertysurf.fr
Fri Oct 22 10:35:00 GMT 2004
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.
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.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr17265.diff
Type: text/x-diff
Size: 2248 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041022/fa3f4320/attachment.bin>
More information about the Java-patches
mailing list