aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>2001-07-19 20:20:42 +0000
committerCatherine Moore <clm@gcc.gnu.org>2001-07-19 16:20:42 -0400
commit77f43519e73eaac473819ed22dd95e643f500907 (patch)
tree5b161e7a876d61d7e1c278b0f17a56c8e85a6fdc
parentc77fbfbea6027e29a02333323daf3fec50b8b9a1 (diff)
downloadgcc-77f43519e73eaac473819ed22dd95e643f500907.zip
gcc-77f43519e73eaac473819ed22dd95e643f500907.tar.gz
gcc-77f43519e73eaac473819ed22dd95e643f500907.tar.bz2
Restore ASM_OUTPUT_LABEL_REF definition.
From-SVN: r44162
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/v850/v850.h11
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0a967bc..63a5777 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-07-19 Catherine Moore <clm@cygnus.com>
+
+ * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore.
+
2001-07-19 Geoffrey Keating <geoffk@redhat.com>
* reload1.c (eliminate_regs_in_insn): When updating a set
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index 604a7686..9d2b260 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -1332,6 +1332,17 @@ do { char dstr[30]; \
} \
while (0)
+/* This is how to output a reference to a user-level label named NAME.
+ `assemble_name' uses this. */
+
+#undef ASM_OUTPUT_LABELREF
+#define ASM_OUTPUT_LABELREF(FILE, NAME) \
+ do { \
+ char* real_name; \
+ STRIP_NAME_ENCODING (real_name, (NAME)); \
+ asm_fprintf (FILE, "%U%s", real_name); \
+ } while (0)
+
/* Store in OUTPUT a string (made with alloca) containing
an assembler-name for a local static variable named NAME.