From ccb4fc056bbcf7bf8d0da3109819e11d48a24ae9 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Fri, 17 Oct 2014 15:07:37 +0000 Subject: [PATCH] Add intercepts on MacOS 10.9 for libsystem_c.dylib:strrchr libsystem_platform.dylib:_platform_memmove$VARIANT$Ivybridge git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14635 --- shared/vg_replace_strmem.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index 856ba206ee..addf1fae66 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -204,6 +204,9 @@ static inline void my_exit ( int x ) //STRRCHR(VG_Z_DYLD, strrchr) //STRRCHR(VG_Z_DYLD, rindex) STRRCHR(VG_Z_LIBC_SONAME, strrchr) +# if DARWIN_VERS == DARWIN_10_9 + STRRCHR(libsystemZucZddylib, strrchr) +# endif #endif @@ -1115,7 +1118,10 @@ static inline void my_exit ( int x ) # endif MEMMOVE(VG_Z_LIBC_SONAME, memmoveZDVARIANTZDsse3x) /* memmove$VARIANT$sse3x */ MEMMOVE(VG_Z_LIBC_SONAME, memmoveZDVARIANTZDsse42) /* memmove$VARIANT$sse42 */ - +# if DARWIN_VERS == DARWIN_10_9 + /* _platform_memmove$VARIANT$Nehalem */ + MEMMOVE(libsystemZuplatformZddylib, ZuplatformZumemmoveZDVARIANTZDIvybridge) +# endif #endif -- 2.47.2