diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-18 16:27:11 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-18 16:27:11 -0300 |
commit | dd727ee173ba60b492a1105693d11cf05c087276 (patch) | |
tree | 43070af0606fc63eae5b6ffbc3af0bf0b2abf449 /sysdeps/generic/atomic-machine.h | |
parent | 5a3b7503e46f7d8e5286dc88d479ec493bd8da4b (diff) | |
download | glibc-dd727ee173ba60b492a1105693d11cf05c087276.tar.gz glibc-dd727ee173ba60b492a1105693d11cf05c087276.tar.xz glibc-dd727ee173ba60b492a1105693d11cf05c087276.zip |
x86: Fix bsearch for compiler that do not define __USE_EXTERN_INLINES azanella/clang
The bsearch is called early during process initialization on Intel platform, before TCB has been set up; and if compiler does not enable __extern_inline it might call the symbol which might use an invalid thread-pointer. Expand the bsearch implementation from stdlib-bsearch.h with a different name. Checked on x86_64-linux-gnu with Intel chip.
Diffstat (limited to 'sysdeps/generic/atomic-machine.h')
0 files changed, 0 insertions, 0 deletions