Add VALGRIND_VEX_INJECT_IR for ppc32. Should have been included
in r12906.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12912 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/include/valgrind.h b/include/valgrind.h
index 38e47f4..9ac0d45 100644
--- a/include/valgrind.h
+++ b/include/valgrind.h
@@ -489,6 +489,14 @@
__SPECIAL_INSTRUCTION_PREAMBLE \
/* branch-and-link-to-noredir *%R11 */ \
"or 3,3,3\n\t"
+
+#define VALGRIND_VEX_INJECT_IR() \
+ do { \
+ __asm__ volatile(__SPECIAL_INSTRUCTION_PREAMBLE \
+ "or 5,5,5\n\t" \
+ ); \
+ } while (0)
+
#endif /* PLAT_ppc32_linux */
/* ------------------------ ppc64-linux ------------------------ */