]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removed mandatory redirections for DRD since these made DRD impossible to use on...
authorBart Van Assche <bvanassche@acm.org>
Fri, 30 Jan 2009 18:31:54 +0000 (18:31 +0000)
committerBart Van Assche <bvanassche@acm.org>
Fri, 30 Jan 2009 18:31:54 +0000 (18:31 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9092

coregrind/m_redir.c

index 24f0488418c9a5443161ff9a32b727bdc0e36934..fbf6e7271b5bce00b5ae8cfe696ed3326ca369bd 100644 (file)
@@ -906,15 +906,6 @@ void VG_(redir_initialise) ( void )
          NULL /* not mandatory - so why bother at all? */
          /* glibc-2.6.1 (openSUSE 10.3, ppc32) seems fine without it */
       );
-   } else if (0 == VG_(strcmp)("drd", VG_(details).name)) {
-      /* Only continue if symbol information in ld.so.1 is present,   */
-      /* because otherwise drd's suppression patterns on ld.so do     */
-      /* not have any effect.                                         */
-      add_hardwired_spec(
-         "ld.so.1", "strlen",
-         (Addr)(&VG_(ppc32_linux_REDIR_FOR_strlen)),
-         croakage
-      );
    }
    }
 
@@ -940,16 +931,6 @@ void VG_(redir_initialise) ( void )
          NULL /* not mandatory - so why bother at all? */
          /* glibc-2.5 (FC6, ppc64) seems fine without it */
       );
-
-   } else if (0 == VG_(strcmp)("drd", VG_(details).name)) {
-      /* Only continue if symbol information in ld64.so.1 is present, */
-      /* because otherwise drd's suppression patterns on ld.so do     */
-      /* not have any effect.                                         */
-      add_hardwired_spec(
-         "ld64.so.1", "strlen",
-         (Addr)VG_(fnptr_to_fnentry)( &VG_(ppc64_linux_REDIR_FOR_strlen) ),
-         croakage
-      );
    }
    }