[llvm-commits] [llvm-gcc-4.2] r91723 - /llvm-gcc-4.2/trunk/gcc/config/arm/linux-eabi.h
Bob Wilson
bob.wilson at apple.com
Fri Dec 18 15:20:48 PST 2009
Author: bwilson
Date: Fri Dec 18 17:20:47 2009
New Revision: 91723
URL: http://llvm.org/viewvc/llvm-project?rev=91723&view=rev
Log:
Add LLVM LOCAL marker for r78061 (fix for SWI instruction in inline asm).
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/linux-eabi.h
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/linux-eabi.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/linux-eabi.h?rev=91723&r1=91722&r2=91723&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/linux-eabi.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/linux-eabi.h Fri Dec 18 17:20:47 2009
@@ -79,6 +79,7 @@
register unsigned long _end __asm ("a2") = (unsigned long) (END); \
register unsigned long _flg __asm ("a3") = 0; \
register unsigned long _scno __asm ("r7") = 0xf0002; \
+ /* LLVM LOCAL use valid SWI instruction */ \
__asm __volatile ("swi 0 @ sys_cacheflush" \
: "=r" (_beg) \
: "0" (_beg), "r" (_end), "r" (_flg), "r" (_scno)); \
More information about the llvm-commits
mailing list