|
From: <sv...@va...> - 2008-12-23 00:10:38
|
Author: sewardj
Date: 2008-12-23 00:10:26 +0000 (Tue, 23 Dec 2008)
New Revision: 8866
Log:
Ignore races that occur on data in .plt sections, as well as those
that occur on data in .got.plt sections.
Modified:
trunk/helgrind/hg_errors.c
Modified: trunk/helgrind/hg_errors.c
===================================================================
--- trunk/helgrind/hg_errors.c 2008-12-22 20:21:38 UTC (rev 8865)
+++ trunk/helgrind/hg_errors.c 2008-12-23 00:10:26 UTC (rev 8866)
@@ -331,7 +331,10 @@
VgSectKind sect = VG_(seginfo_sect_kind)( NULL, 0, data_addr );
if (0) VG_(printf)("XXXXXXXXX RACE on %#lx %s\n",
data_addr, VG_(pp_SectKind)(sect));
+ /* SectPLT is required on ???-linux */
if (sect == Vg_SectGOTPLT) return;
+ /* SectPLT is required on ppc32/64-linux */
+ if (sect == Vg_SectPLT) return;
}
# endif
|