]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix for the HWCAP2 aux vector.
authorCarl Love <cel@us.ibm.com>
Tue, 19 May 2015 16:08:05 +0000 (16:08 +0000)
committerCarl Love <cel@us.ibm.com>
Tue, 19 May 2015 16:08:05 +0000 (16:08 +0000)
commitd6beff654c606a18bce5cf4eedb68b3b0e603cae
treeedc7cd5b8dc37296fa7e8d944b613702f66f7281
parent9f67c29f8be8e7e0c7f57c3574eb463fd20fa508
Fix for the HWCAP2 aux vector.

The support assumed that if HWCAP2 is present that the system also supports
ISA2.07.  That assumption is not correct as we have found a few systems (OS)
where the HWCAP2 entry is present but the ISA2.07 bit is not set.  This patch
fixes the assertion test to specifically check the ISA2.07 support bit setting
in the HWCAP2 and vex_archinfo->hwcaps variable.  The setting for the
ISA2.07 support must be the same in both variables if the HWCAP2 entry exists.

This patch updates Vagrind bugzilla 345695.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15257
coregrind/m_initimg/initimg-linux.c