problems with labels

Andrija Radicevic andrija.radicevic@zg.t-com.hr
Thu Oct 5 21:20:00 GMT 2006


> 
> 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)



More information about the Gcc mailing list