Fix #323432: When calling pthread_cond_destroy or pthread_mutex_destroy
with initializers as argument Helgrind (incorrectly) reports errors.
(Peter Boström, valgrind@pbos.me)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13642 a5019735-40e9-0310-863c-91ae7b9d1cf9
Update expected output following r13642, which fixes #323432
  (When calling pthread_cond_destroy or pthread_mutex_destroy
   with initializers as argument Helgrind (incorrectly)
   reports errors.)
This introduces a new race report (but no new race) in
some conditions.  I think this is OK because the race only
occurs in the case where the program is buggy (racey) anyway.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13643 a5019735-40e9-0310-863c-91ae7b9d1cf9
Disallow client mmap calls with MAP_32BIT as a flag.  
Fixes, or at least addresses, #324181.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13644 a5019735-40e9-0310-863c-91ae7b9d1cf9
A minimal test case for the parsing of XACQUIRE and XRELEASE prefixes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13645 a5019735-40e9-0310-863c-91ae7b9d1cf9
Power 8 support, phase 5 

This commit adds the testcases for the following instructions:

  vpmsumb, vpmsumh, vpmsumw, vpmsumd, vpermxor, vcipher, vcipherlast,
  vncipher, vncipherlast, vsbox,
  vclzb, vclzw, vclzh, vclzd,
  vpopcntb, vpopcnth, vpopcntw, vpopcntd,
  vnand, vorc, veqv,
  vshasigmaw, vshasigmad,
  bcdadd, bcdsub

The VEX commit that added the support for the above instructions was 
commit 2789.

The patch is for Bugzilla 325628


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13646 a5019735-40e9-0310-863c-91ae7b9d1cf9
remove old broken testcase for s390


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13647 a5019735-40e9-0310-863c-91ae7b9d1cf9
SIGSEGV/SIGBUS specific handling on s390, to cope with kernel peculiarity

On s390, the linux kernel does not deliver the exact address that
caused a SEGV but rather this address rounded down to a page boundary.
Also, old kernels do not deliver the address that caused a SIGBUS,
but deliver 0.
So, on s390, handle SIGSEGV and SIGBUG by always skipping one page
starting from the current value of the ptr scanning position.
As we need a correct value of ptr on this platform in the longjmp-ed
code, ptr is marked as volatile.
 


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13648 a5019735-40e9-0310-863c-91ae7b9d1cf9
Connect up the xacq_xrel test to the build system.  Also, make the
TSX configure test check for that the assembler can deal with 
xacquire and xrelease prefixes.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13649 a5019735-40e9-0310-863c-91ae7b9d1cf9
mips64: Fix compiler warning.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13650 a5019735-40e9-0310-863c-91ae7b9d1cf9