This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]