+Thu Sep 10 08:01:31 1998 Anthony Green <green@cygnus.com>
+
+ * config/rs6000/rs6000.c (output_epilog): Add Java support.
+
Thu Sep 10 14:48:59 1998 Martin von Löwis <loewis@informatik.hu-berlin.de>
* invoke.texi (C++ Dialect Options): Document -fhonor-std.
/* Language type. Unfortunately, there doesn't seem to be any
official way to get this info, so we use language_string. C
is 0. C++ is 9. No number defined for Obj-C, so use the
- value for C for now. */
+ value for C for now. There is no official value for Java,
+ although IBM appears to be using 13. */
if (! strcmp (language_string, "GNU C")
|| ! strcmp (language_string, "GNU Obj-C"))
i = 0;
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);