From a0160aea3b0a82b9758b6650b862bd53a54effe8 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Fri, 7 Apr 2006 12:47:05 +0000 Subject: [PATCH] Oops: when adding translations to the auxiliary transtab, don't forget to ensure D-I cache coherence. Fixes SIGILLs in fn wrapping failures on low end PowerPCs. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5835 --- coregrind/m_transtab.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coregrind/m_transtab.c b/coregrind/m_transtab.c index 36c4abb4f0..a26076a9eb 100644 --- a/coregrind/m_transtab.c +++ b/coregrind/m_transtab.c @@ -1334,6 +1334,8 @@ void VG_(add_to_unredir_transtab)( VexGuestExtents* vge, for (j = 0; j < code_len; j++) dstP[j] = srcP[j]; + invalidate_icache( dstP, code_len ); + unredir_tt[i].inUse = True; unredir_tt[i].vge = *vge; unredir_tt[i].hcode = (Addr)dstP; -- 2.47.2