This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: pj-elf local labels



Local labels in the pj-elf port need a prefix, like '.', in order to
distinguish them from user symbols.

Ok for branch and trunk?


2001-03-17  Anthony Green  <green@redhat.com>

	* config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
	labels with '.'.


Index: gcc/config/pj/pj.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pj/pj.h,v
retrieving revision 1.7
diff -u -r1.7 pj.h
--- pj.h	2001/01/01 20:35:34	1.7
+++ pj.h	2001/03/18 06:26:22
@@ -1159,7 +1160,7 @@
 
 /* The prefix to add to an internally generated label.  */
 
-#define LOCAL_LABEL_PREFIX ""
+#define LOCAL_LABEL_PREFIX "."
 
 /* Make an internal label into a string.  */
 #define ASM_GENERATE_INTERNAL_LABEL(STRING, PREFIX, NUM) \


AG

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]