This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problems with labels
Does your generate look substantially different from:
#undef ASM_GENERATE_INTERNAL_LABEL
#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \
sprintf (LABEL, "*%s%ld", PREFIX, (long)(NUM))
Hint, I put it outputs a label, which is wrong (or calls something
that does).
no, it's simple like yours
#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM) \
sprintf (LABEL, "*%s%s_%lu", \
(TARGET_GNU_ASM)?".":"", PREFIX, (unsigned long) NUM)