Skip to contentSkip to conversation

PATCH: Support ident for Linux/mips

PATCH H . J . Lu 1 participant 1 message Jun 12, 2001 MIPS

lore
Share & tools
lore

H . J . Lu

author
#0 lore raw

It brings Linux/mips closer to other Linux targets.

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

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

config/mips/linux.h renamed from config/mips/linux.h.ident +5 -0
@@ -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);