Patch by Michael Forney <mforney@mforney.org>
392331 Spurious lock not held error from inside pthread_cond_timedwait
400793 pthread_rwlock_timedwrlock false positive
433873 openat2 syscall unimplemented on Linux
+435441 valgrind fails to interpose malloc on musl 1.2.2 due to weak symbol name and no libc soname
444110 priv/guest_ppc_toIR.c:36198:31: warning: duplicated 'if' condition.
444488 Use glibc.pthread.stack_cache_size tunable
444568 drd/tests/pth_barrier_thr_cr fails on Fedora 38
}
# endif
- if (ELFXX_ST_BIND(sym->st_info) == STB_GLOBAL) {
+ if (ELFXX_ST_BIND(sym->st_info) == STB_GLOBAL
+ || ELFXX_ST_BIND(sym->st_info) == STB_WEAK) {
*is_global_out = True;
}