Since information about PowerPC-specific atomic instructions is now passed to tools, remove the warning about these instructions not being supported.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8318
This commit is contained in:
Bart Van Assche 2008-06-30 10:56:18 +00:00
parent c3219e5bf5
commit dea294ffc3

View File

@ -831,16 +831,11 @@ void drd_barrier_post_wait(const DrdThreadId tid, const Addr barrier,
static
void drd_post_clo_init(void)
{
# if defined(VGP_x86_linux) || defined(VGP_amd64_linux)
# if defined(VGP_x86_linux) || defined(VGP_amd64_linux) \
|| defined(VGP_ppc32_linux) || defined(VGP_ppc64_linux)
/* fine */
# elif defined(VGP_ppc32_linux) || defined(VGP_ppc64_linux)
VG_(printf)(
"\nWARNING: support for PowerPC-specific atomic instructions like lwarx and\n"
"stwcx is not yet complete. As a result, false positives will be reported on\n"
"code that uses these instructions. This will happen e.g. when printf() is\n"
"called from more than one thread.\n\n");
# else
VG_(printf)("\nWARNING: DRD has only been tested on x86-linux and amd64-linux.\n\n");
VG_(printf)("\nWARNING: DRD has only been tested on Linux.\n\n");
# endif
if (s_drd_var_info)