This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: asm label generation bug?
- From: Steven Bosscher <stevenb at suse dot de>
- To: Piotr Wyderski <piotr dot wyderski at wp dot pl>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 22 Dec 2005 14:40:11 +0100 (CET)
- Subject: Re: asm label generation bug?
- References: <000c01c606fb$8dcc6b20$df0a0a0a@piotrw>
On Dec 22, 2005 02:28 PM, Piotr Wyderski <piotr.wyderski@wp.pl> wrote:
> HOST: AIX, 8 * IBM POWER2 CPU
> COMPILER: GCC 4.0.1, GCC 3.4.4
>
> I am trying to compile my low-level library, which contains
> several inline assembly functions. It doesn't work, because
> the compiler (4.0.1) does not replace local labels from the
> assembly code (i.e. "0:", "1:", etc.) with their machine-specific
> replacements ("LCFI..4:" and so on).
Â
The manual says: "This assumes your assembler supports local labels, as
the GNU assembler and most Unix assemblers do."Â Does your assembler
support this?
Â
Gr.
Steven
Â