This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

PATCH: AIX Java support



The rs6000 backend produces function epilogues with language specific
debugging bits in it.  The system header files define constants for
various languages (C, C++, Lisp, etc).  Of course, there's no Java
entry.  David Edelsohn tells me that the IBM's Java compiler folks are
using lucky 13 to represent Java.

I'd like to commit this patch:

*** rs6000.c	1998/09/08 04:25:24	1.200
--- rs6000.c	1998/09/08 22:42:55
***************
*** 4279,4284 ****
--- 4279,4286 ----
  	i = 2;
        else if (! strcmp (language_string, "GNU C++"))
  	i = 9;
+       else if (! strcmp (language_string, "GNU Java"))
+ 	i = 13;
        else
  	abort ();
        fprintf (file, "%d,", i);

AG

-- 
Anthony Green                                               Cygnus Solutions
                                                       Sunnyvale, California


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