aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-12-21 11:06:57 -0700
committerJeff Law <law@gcc.gnu.org>1993-12-21 11:06:57 -0700
commit77541d4e8357345d6234f3664b8b2dce7a660275 (patch)
tree9257594cf3fa91babdf54cc36e65b964ef5174c2 /gcc
parent14dc90724e789a4630ed78691b78aabb8f294037 (diff)
downloadgcc-77541d4e8357345d6234f3664b8b2dce7a660275.zip
gcc-77541d4e8357345d6234f3664b8b2dce7a660275.tar.gz
gcc-77541d4e8357345d6234f3664b8b2dce7a660275.tar.bz2
pa.h (ASM_GENERATE_INTERNAL_LABEL): Always use L$ as the prefix for internal labels.
* pa.h (ASM_GENERATE_INTERNAL_LABEL): Always use L$ as the prefix for internal labels. (ASM_OUTPUT_INTERNAL_LABEL): Likewise. From-SVN: r6252
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h
index 00a704a..019913b 100644
--- a/gcc/config/pa/pa.h
+++ b/gcc/config/pa/pa.h
@@ -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. */