[RFC PATCH 0/2] ARM: assembler: Add uniform assembler framework

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Feb 28 14:24:59 EST 2012


On Tue, Feb 28, 2012 at 06:59:44PM +0000, Dave Martin wrote:
> #ifdef __ASSEMBLY__
> stuff
> for
> the
> assembler
> #else
> asm("stuff");
> asm("for");
> asm("the");
> asm("assembler");

That's invalid - nothing guarantees that the compiler won't place
anything in between these asm statements in the output assembly
file.



More information about the linux-arm-kernel mailing list