This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problems with labels
- From: Mike Stump <mrs at apple dot com>
- To: Andrija Radicevic <andrija dot radicevic at zg dot t-com dot hr>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 5 Oct 2006 14:05:41 -0700
- Subject: Re: problems with labels
- References: <002b01c6e8c0$c2ec78c0$0a01a8c0@harlequin>
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).