aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2004-12-30 01:16:09 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2004-12-30 01:16:09 +0000
commit8d6cdc6839e77c1821a45d50a52a3b4cc29313ea (patch)
tree298dd7708035407ccb5e1b370a5618d2da7eff43 /gcc
parent0e4e8dab7bcb7c96781d593d836a3d38b6ac7230 (diff)
downloadgcc-8d6cdc6839e77c1821a45d50a52a3b4cc29313ea.zip
gcc-8d6cdc6839e77c1821a45d50a52a3b4cc29313ea.tar.gz
gcc-8d6cdc6839e77c1821a45d50a52a3b4cc29313ea.tar.bz2
mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/mmix/mmix-protos.h1
-rw-r--r--gcc/config/mmix/mmix.c9
-rw-r--r--gcc/config/mmix/mmix.h3
4 files changed, 21 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17df25b..d220dc5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/mmix/mmix-protos.h b/gcc/config/mmix/mmix-protos.h
index c2f02cc..586c21a 100644
--- a/gcc/config/mmix/mmix-protos.h
+++ b/gcc/config/mmix/mmix-protos.h
@@ -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 *);
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c
index fc9adb6..0dd26ed 100644
--- a/gcc/config/mmix/mmix.c
+++ b/gcc/config/mmix/mmix.c
@@ -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
diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h
index fd0bb1c..6272317 100644
--- a/gcc/config/mmix/mmix.h
+++ b/gcc/config/mmix/mmix.h
@@ -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)