Subject: PATCH: Support ident for Linux/mips

From: "H . J . Lu" <[email-masked]>
Date: Tue, 12 Jun 2001 15:33:34 -0700

It brings Linux/mips closer to other Linux targets.

H.J.
----
2001-06-12  H.J. Lu <[email-masked]>

	* config/mips/linux.h (ASM_OUTPUT_IDENT): Defined.

--- gcc/config/mips/linux.h.ident	Sun Jun 10 01:02:34 2001
+++ gcc/config/mips/linux.h	Sun Jun 10 01:02:53 2001
@@ -237,3 +237,8 @@ Boston, MA 02111-1307, USA.  */
 /* Tell function_prologue in mips.c that we have already output the .ent/.end
    pseudo-ops.  */
 #define FUNCTION_NAME_ALREADY_DECLARED
+
+/* Output #ident as a .ident.  */
+#undef ASM_OUTPUT_IDENT
+#define ASM_OUTPUT_IDENT(FILE, NAME) \
+  fprintf (FILE, "\t%s\t\"%s\"\n", IDENT_ASM_OP, NAME);