(TARGET_NAME): Define unless already defined.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 21 May 1996 11:20:27 +0000 (07:20 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 21 May 1996 11:20:27 +0000 (07:20 -0400)
(TARGET_VERSION): Print TARGET_NAME.

From-SVN: r12062

gcc/config/vax/vax.h

index 12a241eb023afc1acf2a6bab2f3bd926a8da553f..a0ec89f0e6b05498f6e6aba3924af32e29245c64 100644 (file)
@@ -39,7 +39,10 @@ Boston, MA 02111-1307, USA.  */
 
 /* Print subsidiary information on the compiler version in use.  */
 
-#define TARGET_VERSION fprintf (stderr, " (vax)");
+#ifndef TARGET_NAME    /* A more specific value might be supplied via -D.  */
+#define TARGET_NAME "vax"
+#endif
+#define TARGET_VERSION fprintf (stderr, " (%s)", TARGET_NAME)
 
 /* Run-time compilation parameters selecting different hardware subsets.  */