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


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


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