Restore ASM_OUTPUT_LABEL_REF definition.
authorCatherine Moore <clm@cygnus.com>
Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)
committerCatherine Moore <clm@gcc.gnu.org>
Thu, 19 Jul 2001 20:20:42 +0000 (16:20 -0400)
From-SVN: r44162

gcc/ChangeLog
gcc/config/v850/v850.h

index 0a967bccd206fcb10d2d60706dd79ff97e292a51..63a57774b5e4124b4b91c43ddd77bf5307f55060 100644 (file)
@@ -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
index 604a7686ce3ca333d29ac5c8a12a9a77c8fe7890..9d2b2604e4f094c119f95df2450379147ea63a64 100644 (file)
@@ -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.