Gabe Black (gabeblack@chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3759
-gerrit
commit 3501f5f6213249ada283d9b3fecc6dfc10a3c12c Author: Gabe Black gabeblack@google.com Date: Sun Jul 7 13:35:37 2013 -0700
arm: Add a W() macro for use in kernel assembler.
Some kernel assembly code uses a W macro to optionally add a .w to instructions that need to be 32 bit thumb. The gnu assembler doesn't seem to need the .w and won't assemble if it's provided.
Change-Id: I0a288177788b5c61810ee7bd3d2debea66835de2 Signed-off-by: Gabe Black gabeblack@chromium.org --- src/arch/armv7/include/assembler.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/arch/armv7/include/assembler.h b/src/arch/armv7/include/assembler.h index 7acf0f4..10363c4 100644 --- a/src/arch/armv7/include/assembler.h +++ b/src/arch/armv7/include/assembler.h @@ -58,3 +58,5 @@ * Cache aligned */ #define CALGN(code...) code + +#define W(instr) instr