|
From: <sv...@va...> - 2005-11-13 02:42:28
|
Author: sewardj
Date: 2005-11-13 02:42:23 +0000 (Sun, 13 Nov 2005)
New Revision: 5113
Log:
Hacks needed for MontaVista Linux 3.1 (ppc32).
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr.c
trunk/glibc-2.3.supp
Modified: trunk/coregrind/m_aspacemgr/aspacemgr.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_aspacemgr/aspacemgr.c 2005-11-13 02:41:58 UTC (rev =
5112)
+++ trunk/coregrind/m_aspacemgr/aspacemgr.c 2005-11-13 02:42:23 UTC (rev =
5113)
@@ -1139,11 +1139,16 @@
=3D nsegments[i].dev !=3D 0 || nsegments[i].ino !=3D 0;
=20
/* Consider other reasons to not compare dev/inode */
+
/* bproc does some godawful hack on /dev/zero at process
migration, which changes the name of it, and its dev & ino */
if (filename && 0=3D=3DVG_(strcmp)(filename, "/dev/zero (deleted)"=
))
cmp_devino =3D False;
=20
+ /* hack apparently needed on MontaVista Linux */
+ if (filename && VG_(strstr)(filename, "/.lib-ro/"))
+ cmp_devino =3D False;
+
/* If we are doing sloppy execute permission checks then we
allow segment to have X permission when we weren't expecting
it (but not vice versa) so if the kernel reported execute
Modified: trunk/glibc-2.3.supp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/glibc-2.3.supp 2005-11-13 02:41:58 UTC (rev 5112)
+++ trunk/glibc-2.3.supp 2005-11-13 02:42:23 UTC (rev 5113)
@@ -503,3 +503,30 @@
obj:*
fun:_dl_sysdep_start
}
+
+##----------------------------------------------------------------------=
##
+## MontaVista 3.1 on ppc32 integer only
+{
+ MontaVista-3.1-ppc32-#1
+ Memcheck:Value4
+ obj:/lib/ld-2.3.2.so
+ obj:/lib/ld-2.3.2.so
+ fun:*dl_map_object*
+ obj:/lib/libc-2.3.2.so
+}
+
+{
+ MontaVista-3.1-ppc32-#2
+ Memcheck:Value4
+ fun:malloc
+ obj:/lib/ld-2.3.2.so
+ obj:/lib/ld-2.3.2.so
+ obj:/lib/libc-2.3.2.so
+}
+
+{
+ MontaVista-3.1-ppc32-#3
+ Memcheck:Value4
+ obj:/lib/ld-2.3.2.so
+ obj:/lib/ld-2.3.2.so
+}
|