Re: Kernel Bug in 2.4.35 when compiled gcc>=4.2.0 and -march=c3

From: Willy Tarreau
Date: Mon Aug 06 2007 - 17:19:53 EST


On Mon, Aug 06, 2007 at 11:15:08PM +0200, Segher Boessenkool wrote:
> >Well, top-level assembly is usually nasty. Setting the section in the
> >assembly statement as you said is probably the only thing you *can* do.
>
> You'll probably need to (at the end of the asm block) restore
> the current section to what it was before (".previous"), too.

Didn't know about this one, thanks for the hint !

> >I don't think there is any requirement that top-level assembly
> >statements get the section set to .text on their behalf.
>
> Correct.
>
>
> Segher

Regards,
Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/