diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2021-12-17 12:03:17 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2021-12-17 12:03:17 +0000 |
commit | ac454a928e5fd4511477b6e325e6b0690519290a (patch) | |
tree | 3dbad4d9d9012a054ae5a4fb89fa9b82e87ec9d3 /gnu/llvm/compiler-rt/lib/gwp_asan/options.h | |
parent | 5a7fffb613fd0f759d950d650bc52b14aa400918 (diff) |
Declare pthread_atfork as weak to avoid a fatal error with LLVM 13
Fixes behavior with current clang, which marks the symbol as GLOBAL
instead of WEAK. LLVM change: https://reviews.llvm.org/D90108
base-gcc is unaffected. Keep asm(".weak") for gcc3 until a cleanup can
be tested there.
Initial diff from mortimer@, input and ok kettenis@, ok guenther@
Diffstat (limited to 'gnu/llvm/compiler-rt/lib/gwp_asan/options.h')
0 files changed, 0 insertions, 0 deletions