(ASM_OUTPUT_INTERNAL_LABEL): Prefix labels with "L%".
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_CASE_LABEL): Likewise. (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. From-SVN: r13142
This commit is contained in:
parent
9a3b49acbc
commit
160b7bc403
@ -520,25 +520,15 @@ do { long l; \
|
||||
This is suitable for output with `assemble_name'. */
|
||||
|
||||
#undef ASM_GENERATE_INTERNAL_LABEL
|
||||
#ifndef USE_GAS
|
||||
#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
|
||||
sprintf ((LABEL), "%s%%%d", (PREFIX), (NUM))
|
||||
#else /* USE_GAS */
|
||||
#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
|
||||
sprintf ((LABEL), ".%s%d", (PREFIX), (NUM))
|
||||
#endif /* USE_GAS */
|
||||
sprintf ((LABEL), "%s%s%d", LOCAL_LABEL_PREFIX, (PREFIX), (NUM))
|
||||
|
||||
/* 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
|
||||
#ifndef USE_GAS
|
||||
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
|
||||
fprintf (FILE, "%s%%%d:\n", PREFIX, NUM)
|
||||
#else /* USE_GAS */
|
||||
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
|
||||
fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
|
||||
#endif /* USE_GAS */
|
||||
asm_fprintf (FILE, "%L%s%d:\n", PREFIX, NUM)
|
||||
|
||||
/* The prefix to add to user-visible assembler symbols. */
|
||||
|
||||
@ -548,21 +538,25 @@ do { long l; \
|
||||
/* This is how to output an element of a case-vector that is absolute.
|
||||
(The 68000 does not use such vectors,
|
||||
but we must define this macro anyway.) */
|
||||
/* The L after the local prefix is the "L" prefix for the normal labels
|
||||
generated by gcc; why are ASM_OUTPUT_ADDR_VEC_ELT and
|
||||
ASM_OUTPUT_ADDR_DIFF_ELT not called with a PREFIX parameter, like
|
||||
ASM_OUTPUT_INTERNAL_LABEL ? */
|
||||
|
||||
#undef ASM_OUTPUT_ADDR_VEC_ELT
|
||||
#define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
|
||||
asm_fprintf (FILE, "\t%s %L%d\n", ASM_LONG, (VALUE))
|
||||
asm_fprintf (FILE, "\t%s %LL%d\n", ASM_LONG, (VALUE))
|
||||
|
||||
/* This is how to output an element of a case-vector that is relative. */
|
||||
|
||||
#undef ASM_OUTPUT_ADDR_DIFF_ELT
|
||||
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
|
||||
asm_fprintf (FILE, "\t%s %L%d-%L%d\n", ASM_SHORT, (VALUE), (REL))
|
||||
asm_fprintf (FILE, "\t%s %LL%d-%LL%d\n", ASM_SHORT, (VALUE), (REL))
|
||||
|
||||
#ifndef USE_GAS
|
||||
|
||||
#define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \
|
||||
fprintf (FILE, "\tswbeg &%d\n%s%%%d:\n", \
|
||||
asm_fprintf (FILE, "\tswbeg &%d\n%L%s%d:\n", \
|
||||
XVECLEN (PATTERN (TABLE), 1), (PREFIX), (NUM))
|
||||
|
||||
/* sysV68 as cannot handle LD%n(%pc,%reg) */
|
||||
|
Loading…
Reference in New Issue
Block a user