problems with labels

Mike Stump mrs@apple.com
Thu Oct 5 21:05:00 GMT 2006


On Oct 5, 2006, at 1:56 PM, Andrija Radicevic wrote:
> libgcc2.s:52: Error: unknown pseudo-op: `.lm_0'

> .LM_0
> .LM_0:

> I have found out that the correct labels are written out by the  
> hook TARGET_ASM_INTERNAL_LABEL and the faulty ones are the result  
> of the output from the macro ASM_GENERATE_INTERNAL_LABEL,

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



More information about the Gcc mailing list