problems with labels

2006-10-05 Thread Andrija Radicevic
Hi, I'm trying to adjust an already existing target port of gcc-2.95.2 to gcc-4.1.0 and I came to a point where I could use some help. Everything seams fine until xgcc tries to compile libgcc2.c, then I get the following error messages: libgcc2.s: Assembler messages: libgcc2.s:52: Error:

Re: problems with labels

2006-10-05 Thread Mike Stump
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

Re: problems with labels

2006-10-05 Thread Andrija Radicevic
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