mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
authorHans-Peter Nilsson <hp@bitrange.com>
Thu, 30 Dec 2004 01:16:09 +0000 (01:16 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Thu, 30 Dec 2004 01:16:09 +0000 (01:16 +0000)
* config/mmix/mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
* config/mmix/mmix.c (mmix_asm_output_internal_label): New
function.
* config/mmix/mmix-protos.h (mmix_asm_output_internal_label):
Prototype.

From-SVN: r92723

gcc/ChangeLog
gcc/config/mmix/mmix-protos.h
gcc/config/mmix/mmix.c
gcc/config/mmix/mmix.h

index 17df25bcdbcd0794c17be8afa60c5f85fc69c3da..d220dc5ec2a92e820aef1cde7213d359e258adfa 100644 (file)
@@ -1,3 +1,11 @@
+2004-12-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
+       * config/mmix/mmix.c (mmix_asm_output_internal_label): New
+       function.
+       * config/mmix/mmix-protos.h (mmix_asm_output_internal_label):
+       Prototype.
+
 2003-12-29  Richard Henderson  <rth@redhat.com>
 
        * config/sparc/sparc.c (TARGET_RELAXED_ORDERING): True.
index c2f02ccb772413c5adc8ca1e20a3bcab84000a59..586c21a38237ef460ffe76348062e371cdd21ce4 100644 (file)
@@ -38,6 +38,7 @@ extern void mmix_output_quoted_string (FILE *, const char *, int);
 extern void mmix_asm_output_source_line  (FILE *, int);
 extern void mmix_asm_output_ascii (FILE *, const char *, int);
 extern void mmix_asm_output_label (FILE *, const char *);
+extern void mmix_asm_output_internal_label (FILE *, const char *);
 extern void mmix_asm_weaken_label (FILE *, const char *);
 extern void mmix_asm_output_labelref (FILE *, const char *);
 extern void mmix_asm_output_def (FILE *, const char *, const char *);
index fc9adb6e177cfce315d67b1d16469915aca17c70..0dd26ed2620e85d861bf10c6452e218cb6a9ed15 100644 (file)
@@ -1369,6 +1369,15 @@ mmix_asm_output_label (FILE *stream, const char *name)
   fprintf (stream, "\tIS @\n");
 }
 
+/* ASM_OUTPUT_INTERNAL_LABEL.  */
+
+void
+mmix_asm_output_internal_label (FILE *stream, const char *name)
+{
+  assemble_name_raw (stream, name);
+  fprintf (stream, "\tIS @\n");
+}
+
 /* ASM_DECLARE_REGISTER_GLOBAL.  */
 
 void
index fd0bb1c650786b7f6cb2396480ee59a9ae9721cd..627231747e8a40011f45676d1474f76c18454e50 100644 (file)
@@ -900,6 +900,9 @@ typedef struct { int regs; int lib; } CUMULATIVE_ARGS;
 #define ASM_OUTPUT_LABEL(STREAM, NAME) \
  mmix_asm_output_label (STREAM, NAME)
 
+#define ASM_OUTPUT_INTERNAL_LABEL(STREAM, NAME) \
+ mmix_asm_output_internal_label (STREAM, NAME)
+
 #define ASM_DECLARE_REGISTER_GLOBAL(STREAM, DECL, REGNO, NAME) \
  mmix_asm_declare_register_global (STREAM, DECL, REGNO, NAME)