|
From: <sv...@va...> - 2006-04-07 12:47:17
|
Author: sewardj
Date: 2006-04-07 13:47:05 +0100 (Fri, 07 Apr 2006)
New Revision: 5835
Log:
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.
Modified:
trunk/coregrind/m_transtab.c
Modified: trunk/coregrind/m_transtab.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_transtab.c 2006-04-07 11:52:55 UTC (rev 5834)
+++ trunk/coregrind/m_transtab.c 2006-04-07 12:47:05 UTC (rev 5835)
@@ -1334,6 +1334,8 @@
for (j =3D 0; j < code_len; j++)
dstP[j] =3D srcP[j];
=20
+ invalidate_icache( dstP, code_len );
+
unredir_tt[i].inUse =3D True;
unredir_tt[i].vge =3D *vge;
unredir_tt[i].hcode =3D (Addr)dstP;
|