|
From: <sv...@va...> - 2012-09-03 21:51:11
|
sewardj 2012-09-03 22:51:02 +0100 (Mon, 03 Sep 2012)
New Revision: 12956
Log:
Use "orr r9,r9,r9" as the magic insn for IR injection on ARM and
Thumb, since r13 is disallowed for many instructions in the Thumb
encoding.
Modified files:
trunk/include/valgrind.h
Modified: trunk/include/valgrind.h (+1 -1)
===================================================================
--- trunk/include/valgrind.h 2012-09-03 18:45:15 +01:00 (rev 12955)
+++ trunk/include/valgrind.h 2012-09-03 22:51:02 +01:00 (rev 12956)
@@ -639,7 +639,7 @@
#define VALGRIND_VEX_INJECT_IR() \
do { \
__asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \
- "orr r13, r13, r13\n\t" \
+ "orr r9, r9, r9\n\t" \
: : : "cc", "memory" \
); \
} while (0)
|