]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add some more intercept rules for ld.so on amd64.
authorTom Hughes <tom@compton.nu>
Thu, 21 Jul 2005 15:25:04 +0000 (15:25 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 21 Jul 2005 15:25:04 +0000 (15:25 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4222

memcheck/mac_replace_strmem.c

index aab197c91e95a7a717beb6125183a91eceba01f8..1e24cfc22f13c1657c57286a66c6c4ef1f3602c1 100644 (file)
@@ -161,6 +161,7 @@ STRRCHR(m_ld_linux_so_2, rindex)
 // Apparently index() is the same thing as strchr()
 STRCHR(m_libc_so_6,            strchr)
 STRCHR(m_ld_linux_so_2,        strchr)
+STRCHR(m_ld_linux_x86_64_so_2, strchr)
 STRCHR(m_libc_so_6,            index)
 STRCHR(m_ld_linux_so_2,        index)
 STRCHR(m_ld_linux_x86_64_so_2, index)
@@ -441,8 +442,9 @@ MEMCMP(m_libc_so_6, bcmp)
       return dst; \
    }
 
-STPCPY(m_libc_so_6,     stpcpy)
-STPCPY(m_ld_linux_so_2, stpcpy)
+STPCPY(m_libc_so_6,            stpcpy)
+STPCPY(m_ld_linux_so_2,        stpcpy)
+STPCPY(m_ld_linux_x86_64_so_2, stpcpy)
    
 
 #define MEMSET(soname, fnname) \