]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Hacks needed for MontaVista Linux 3.1 (ppc32).
authorJulian Seward <jseward@acm.org>
Sun, 13 Nov 2005 02:42:23 +0000 (02:42 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 13 Nov 2005 02:42:23 +0000 (02:42 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5113

coregrind/m_aspacemgr/aspacemgr.c
glibc-2.3.supp

index 600102d5149254bdf3bed3896abd985ea7f34227..96cc84f4dafd0f3b7efb0bd1a3411b906da13fa0 100644 (file)
@@ -1139,11 +1139,16 @@ static void sync_check_mapping_callback ( Addr addr, SizeT len, UInt prot,
          = nsegments[i].dev != 0 || nsegments[i].ino != 0;
 
       /* 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==VG_(strcmp)(filename, "/dev/zero (deleted)"))
          cmp_devino = False;
 
+      /* hack apparently needed on MontaVista Linux */
+      if (filename && VG_(strstr)(filename, "/.lib-ro/"))
+         cmp_devino = 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
index eb7fc2cb4d23c92e9bb19928e074eba3c81e9760..263d02463ecfbb21104ce9376865d371eb387bd2 100644 (file)
    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
+}