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]
Other format: [Raw text]

Re: Letext...


On Mon, Mar 25, 2002 at 02:04:45PM -0000, Morten Welinder wrote:
> With gcc-2.95.2 I get the following error (On Solaris 2.8,
> if it matters):

It does, as a matter of fact.

> troll:~> echo 'void Letext (void) { }' > boo.c && gcc -g boo.c
> /tmp/welinder/ccKspBJF.s: Assembler messages:
> /tmp/welinder/ccKspBJF.s:48: Fatal error: Symbol Letext already defined.

Fixed thus.


r~


	* config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
	config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
	config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.

Index: config/sparc/freebsd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/freebsd.h,v
retrieving revision 1.3.4.1
diff -c -p -d -u -r1.3.4.1 freebsd.h
--- config/sparc/freebsd.h	2002/03/01 06:56:45	1.3.4.1
+++ config/sparc/freebsd.h	2002/03/27 10:25:01
@@ -102,6 +102,9 @@ the Free Software Foundation, 675 Mass A
 
 /************************[  Assembler stuff  ]********************************/
 
+#undef	LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* XXX2 */
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
Index: config/sparc/linux.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/linux.h,v
retrieving revision 1.29.8.1
diff -c -p -d -u -r1.29.8.1 linux.h
--- config/sparc/linux.h	2002/03/27 01:10:19	1.29.8.1
+++ config/sparc/linux.h	2002/03/27 10:25:01
@@ -202,6 +202,9 @@ do {									\
 #undef COMMON_ASM_OP
 #define COMMON_ASM_OP "\t.common\t"
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
Index: config/sparc/linux64.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/linux64.h,v
retrieving revision 1.44.8.1
diff -c -p -d -u -r1.44.8.1 linux64.h
--- config/sparc/linux64.h	2002/03/27 01:10:19	1.44.8.1
+++ config/sparc/linux64.h	2002/03/27 10:25:01
@@ -323,6 +323,9 @@ do {									\
 #undef COMMON_ASM_OP
 #define COMMON_ASM_OP "\t.common\t"
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
Index: config/sparc/netbsd-elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/netbsd-elf.h,v
retrieving revision 1.1
diff -c -p -d -u -r1.1 netbsd-elf.h
--- config/sparc/netbsd-elf.h	2002/02/19 17:43:25	1.1
+++ config/sparc/netbsd-elf.h	2002/03/27 10:25:01
@@ -56,6 +56,9 @@ Boston, MA 02111-1307, USA.  */
 #define DBX_REGISTER_NUMBER(REGNO) \
   (TARGET_FLAT && REGNO == HARD_FRAME_POINTER_REGNUM ? 31 : REGNO)
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
Index: config/sparc/pbd.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/pbd.h,v
retrieving revision 1.9
diff -c -p -d -u -r1.9 pbd.h
--- config/sparc/pbd.h	2001/11/12 23:52:28	1.9
+++ config/sparc/pbd.h	2002/03/27 10:25:01
@@ -111,6 +111,9 @@ Boston, MA 02111-1307, USA.  */
  *  Internal labels are prefixed with a period.
  */
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to store into the string LABEL
    the symbol_ref name of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.
Index: config/sparc/sol2.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sol2.h,v
retrieving revision 1.36.2.2
diff -c -p -d -u -r1.36.2.2 sol2.h
--- config/sparc/sol2.h	2002/03/27 01:10:19	1.36.2.2
+++ config/sparc/sol2.h	2002/03/27 10:25:01
@@ -104,6 +104,9 @@ Boston, MA 02111-1307, USA.  */
 #define ASM_OUTPUT_SKIP(FILE,SIZE)  \
   fprintf (FILE, "\t.skip %u\n", (SIZE))
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
Index: config/sparc/vxsim.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/vxsim.h,v
retrieving revision 1.8
diff -c -p -d -u -r1.8 vxsim.h
--- config/sparc/vxsim.h	2001/11/14 21:44:21	1.8
+++ config/sparc/vxsim.h	2002/03/27 10:25:01
@@ -71,6 +71,9 @@ do {									\
 #undef COMMON_ASM_OP
 #define COMMON_ASM_OP "\t.common\t"
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 


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