Rewritten to avoid cast that drops const qualification.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14647 a5019735-40e9-0310-863c-91ae7b9d1cf9
Update list of ignored files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14648 a5019735-40e9-0310-863c-91ae7b9d1cf9
Followup to r14646. The symbol TIOCSIG is not necessarily defined,
e.g. on s390x with glibc 2.3.4. Modify the testcase to bypass the ioctl
call in that case.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14649 a5019735-40e9-0310-863c-91ae7b9d1cf9
Change the initialisation of the newly allocated struct sched_lock
object. Just memset the whole thing to 0. That avoids a cast that
drops type qualifiction.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14650 a5019735-40e9-0310-863c-91ae7b9d1cf9
Change the return type of the replacement function for rawmemchr
to match that of glibc's rawmemchr. 


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14651 a5019735-40e9-0310-863c-91ae7b9d1cf9
Enable -Wcast-qual when compiling the valgrind source.
Testcases are not compiled with -Wcast-qual.
Introduce CONST_CAST macro to work around in the few spots
where a cast that drops type qualifiers is needed.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14652 a5019735-40e9-0310-863c-91ae7b9d1cf9
Add test cases for all known arm64 load/store instructions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14653 a5019735-40e9-0310-863c-91ae7b9d1cf9
Change VG_(allocEltDedupPA) to return a pointer to const. The reason is
that once an element has been allocated and added to the pool it must
not be modified afterwards. See the documentation in pub_tool_deduppoolalloc.h
The rest of the patch is ripple.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14654 a5019735-40e9-0310-863c-91ae7b9d1cf9
Constify a variable.


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


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