[patch] v850 ASM_OUTPUT_LABELREF restored.

Catherine Moore clm@redhat.com
Wed Jul 18 10:29:00 GMT 2001


This definition was removed from the v850 port.  It needs to
be restored.  Okay to commit?

Thanks,
Catherine

2001-07-18  Catherine Moore  <clm@cygnus.com>

	* config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore. 


Index: v850.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/v850/v850.h,v
retrieving revision 1.40
diff -p -r1.40 v850.h
*** v850.h      2001/07/09 06:10:08     1.40
--- v850.h      2001/07/18 17:27:19
*************** do { char dstr[30];                                     \
*** 1332,1337 ****
--- 1332,1348 ----
      }                                         \
    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));        \
+   fprintf (FILE, "_%s", real_name);               \
+   } while (0)
+ 
  
  /* Store in OUTPUT a string (made with alloca) containing
     an assembler-name for a local static variable named NAME.



More information about the Gcc-patches mailing list