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: Andrew Haley <aph at redhat dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: Richard Henderson <rth at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Java Patches <java-patches at gcc dot gnu dot org>
- Date: Thu, 16 Oct 2008 10:13:38 +0100
- Subject: Re: [PATCH] Translate dollar signs to underscores for AIX (PR target/35483)
- References: <303e1d290810141033uee14dd2j749d4280b6c98e00@mail.gmail.com> <48F63A07.1090101@redhat.com> <303e1d290810151646g47d364d7t6b6eed707ab72bdc@mail.gmail.com>
David Edelsohn wrote:
> 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.
Fair enough, so I'll leave the Java FE alone. To do otherwise would require
changes to gdb and to g++.
Andrew.