]> gcc.gnu.org Git - gcc.git/commitdiff
att.h (LOCAL_LABEL_PREFIX): Define.
authorRichard Henderson <rth@cygnus.com>
Wed, 29 Mar 2000 08:54:15 +0000 (00:54 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 29 Mar 2000 08:54:15 +0000 (00:54 -0800)
        * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
        (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.

From-SVN: r32801

gcc/ChangeLog
gcc/config/i386/att.h

index f4e5f5623f7f9cffb206589c5317ec5143d4238f..4faf2d3991f798a01307bc9c56a1877d6b7fa2a6 100644 (file)
@@ -1,3 +1,8 @@
+2000-03-29  Richard Henderson  <rth@cygnus.com>
+
+       * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
+       (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
+
 2000-03-29  Nathan Sidwell  <nathan@codesourcery.com>
 
        * except.c (add_eh_table_entry): Mark type_info's as referenced.        
index e5c2d9c7e9941d0baef1468b693d96273c564699..b98948e2bf2d8e5537d2ce461fda15a51d9d07b1 100644 (file)
@@ -71,6 +71,10 @@ do                                                           \
 \f
 /* Define the syntax of labels and symbol definitions/declarations.  */
 
+/* The prefix to add for compiler private assembler symbols.  */
+#undef LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX "."
+
 /* This is how to store into the string BUF
    the symbol_ref name of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.
@@ -78,14 +82,14 @@ do                                                          \
 
 #undef ASM_GENERATE_INTERNAL_LABEL
 #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
-  sprintf ((BUF), ".%s%d", (PREFIX), (NUMBER))
+  sprintf ((BUF), "%s%s%d", LOCAL_LABEL_PREFIX, (PREFIX), (NUMBER))
 
 /* This is how to output an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
 #undef ASM_OUTPUT_INTERNAL_LABEL
 #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
-  fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
+  fprintf (FILE, "%s%s%d:\n", LOCAL_LABEL_PREFIX, PREFIX, NUM)
 
 /* The prefix to add to user-visible assembler symbols. */
 
This page took 0.095761 seconds and 5 git commands to generate.