This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ problem on RS/6000


>>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:

David> Other than convenience, I do not see any reason that GCJ and
David> G++ need to generate $ in symbol names.  GCJ could translate
David> everything rot13 or EBCDIC because the spec cannot impose
David> requirements at that level.

I agree.

David> 	Allowing $ in identifiers is one thing, but blindly copying
David> them through to assembly files when NO_DOLLAR_IN_LABEL is
David> defined creates big problems for portability of GCC, G++ and
David> GCJ.

Please see Bryce's post on the subject:

    http://gcc.gnu.org/ml/gcc/2002-02/msg00594.html

I think Bryce's approach here sounds good.  The corresponding change
to g++ would have to be made, as we require compatible mangling.


See also the discussion that occurred when we last changed this part
of gcj:

    http://gcc.gnu.org/ml/java-patches/2001-q4/msg00347.html

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]