This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Translate dollar signs to underscores for AIX (PR target/35483)
- From: "David Edelsohn" <dje dot gcc at gmail dot com>
- To: "Richard Henderson" <rth at redhat dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Java Patches" <java-patches at gcc dot gnu dot org>
- Date: Wed, 15 Oct 2008 19:46:27 -0400
- Subject: Re: [PATCH] Translate dollar signs to underscores for AIX (PR target/35483)
- References: <303e1d290810141033uee14dd2j749d4280b6c98e00@mail.gmail.com> <48F63A07.1090101@redhat.com>
On Wed, Oct 15, 2008 at 2:44 PM, Richard Henderson <rth@redhat.com> wrote:
> The Java front end really should honor NO_DOLLAR_IN_LABEL and replace
> those symbols with something else, e.g. that underscore. I really hate
> to have this hack burried in the backend.
The one benefit of this approach is the AIX support machinery in GCC can
rename the external symbols to the normal Java identifiers, so developers
see the Java names they expect. If the Java front-end converted the symbol
name, it would be difficult to recover the real value.
David