]> gcc.gnu.org Git - gcc.git/commitdiff
pa.h (ASM_GENERATE_INTERNAL_LABEL): Always use L$ as the prefix for internal labels.
authorJeff Law <law@gcc.gnu.org>
Tue, 21 Dec 1993 18:06:57 +0000 (11:06 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 21 Dec 1993 18:06:57 +0000 (11:06 -0700)
        * pa.h (ASM_GENERATE_INTERNAL_LABEL): Always use L$ as the prefix
        for internal labels.
        (ASM_OUTPUT_INTERNAL_LABEL): Likewise.

From-SVN: r6252

gcc/config/pa/pa.h

index 00a704a35d3e2cf6dc494615603bbd72763526eb..019913bf4e772331b48f6b822055baabb24d9f15 100644 (file)
@@ -1729,7 +1729,7 @@ readonly_data ()                                                  \
    PREFIX is the class of label and NUM is the number within the class.  */
 
 #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
-  {fprintf (FILE, "%s$%04d", PREFIX, NUM);             \
+  {fprintf (FILE, "%c$%s%04d", (PREFIX)[0], (PREFIX) + 1, NUM);\
    if (TARGET_GAS)                                     \
      fputs (":\n", FILE);                              \
    else                                                        \
@@ -1741,7 +1741,7 @@ readonly_data ()                                                  \
    This is suitable for output with `assemble_name'.  */
 
 #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM)  \
-  sprintf (LABEL, "*%s$%04d", PREFIX, NUM)
+  sprintf (LABEL, "*%c$%s%04d", (PREFIX)[0], (PREFIX) + 1, NUM)
 
 /* This is how to output an assembler line defining a `double' constant.  */
 
This page took 0.071385 seconds and 5 git commands to generate.