From: Tom Hughes Date: Thu, 21 Jul 2005 15:25:04 +0000 (+0000) Subject: Add some more intercept rules for ld.so on amd64. X-Git-Tag: svn/VALGRIND_3_0_0~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33b11a393c0dfd47e473a65bdaa3a0b761b3e6bf;p=thirdparty%2Fvalgrind.git Add some more intercept rules for ld.so on amd64. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4222 --- diff --git a/memcheck/mac_replace_strmem.c b/memcheck/mac_replace_strmem.c index aab197c91e..1e24cfc22f 100644 --- a/memcheck/mac_replace_strmem.c +++ b/memcheck/mac_replace_strmem.c @@ -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) \