Re: [PATCH] ARM: Do not allow unaligned accesses whenCONFIG_ALIGNMENT_TRAP
From: Russell King - ARM Linux
Date: Thu May 26 2011 - 17:51:20 EST
On Thu, May 26, 2011 at 05:03:39PM -0400, Nicolas Pitre wrote:
> It is possible that -fconserve-stack is still valuable on ARM given that
> it is also used with -mno-unaligned-access for other things than
> structure packing on the stack, and therefore its merits can be debated
> independently from the alignment issue at hand.
Catalin said in his mail "I haven't tried with -mno-unaligned-access, I
suspect the variables on the stack would be aligned.". So I don't think
we know enough to say whether -mno-unaligned-access avoids the stack
packing.
--
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/