linux-mips
[Top] [All Lists]

PATCH: Support ident for Linux/mips

To: gcc-patches@gcc.gnu.org
Subject: PATCH: Support ident for Linux/mips
From: "H . J . Lu" <hjl@lucon.org>
Date: Tue, 12 Jun 2001 15:33:34 -0700
Cc: linux-mips@oss.sgi.com
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
It brings Linux/mips closer to other Linux targets.

H.J.
----
2001-06-12  H.J. Lu <hjl@gnu.org>

        * 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);

<Prev in Thread] Current Thread [Next in Thread>
  • PATCH: Support ident for Linux/mips, H . J . Lu <=