Restore ASM_OUTPUT_LABEL_REF definition.
authorclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)
committerclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jul 2001 20:20:42 +0000 (20:20 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44162 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 0a967bc..63a5777 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 604a768..9d2b260 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.