From: Julian Seward Date: Fri, 7 Apr 2006 12:47:05 +0000 (+0000) Subject: Oops: when adding translations to the auxiliary transtab, don't forget to X-Git-Tag: svn/VALGRIND_3_2_0~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0160aea3b0a82b9758b6650b862bd53a54effe8;p=thirdparty%2Fvalgrind.git 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 --- 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;