Make statically initialised read-write locks work.

BUG: 91604


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2790
This commit is contained in:
Tom Hughes
2004-10-18 17:34:43 +00:00
parent 296804a70e
commit 25725b8d8b
2 changed files with 7 additions and 1 deletions

View File

@@ -57,6 +57,12 @@
ret VG_INTERCEPT(soname:libc.so.6, __##name) args \
__attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
visibility("protected"))); \
ret VG_INTERCEPT(soname:libstdc++*, __##name##_internal) args \
__attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
visibility("protected"))); \
ret VG_INTERCEPT(soname:libc.so.6, __##name##_internal) args \
__attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
visibility("protected"))); \
ret VG_INTERCEPT(soname:libstdc++*, ##name) args \
__attribute__((alias(VG_INTERCEPT_ALIAS(soname:libc.so.6, ##name)), \
visibility("protected"))); \