Fix DRD and Helgrind on Solaris.
commit328ece846310e9c9ffbe3ae1b8f2678b1bcbd353
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 23 Oct 2022 13:16:51 +0000 (23 15:16 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 23 Oct 2022 13:29:40 +0000 (23 15:29 +0200)
treeb01ebcffc9aca03e8da660fac2fba03b6e641fc2
parent206dbcfed93f22370e03a03dd07f14ab675e24a8
Fix DRD and Helgrind on Solaris.

It seems as though Solaris RW sections can also have the
execute flag set. Checking for RW and !X was causing the
debuginfo reading to fail. That meant that the helgrind and
drd preload shared libraries weren't processed, and also
the rtld bind function pointers not setup. Without the rtld bind
function an assert fires and Helgrind and DRD abort.
coregrind/m_debuginfo/readelf.c