diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-06-07 20:55:23 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-06-07 21:23:23 +0000 |
commit | 75ce4503950621b11fcc7f1fd1187dbcf3cde312 (patch) | |
tree | 7a2f3c2d25e88d08af7c50a24dc0f4b648f6cd07 /include/string.h | |
parent | 32f3c4f70633488550c29a2444f819aafdf345ff (diff) | |
download | musl-75ce4503950621b11fcc7f1fd1187dbcf3cde312.tar.gz musl-75ce4503950621b11fcc7f1fd1187dbcf3cde312.tar.xz musl-75ce4503950621b11fcc7f1fd1187dbcf3cde312.zip |
fix regression in pre-v7 arm on kernels with kuser helper removed
the arm atomics/TLS runtime selection code is called from __set_thread_area and depends on having libc.auxv and __hwcap available. commit 71f099cb7db821c51d8f39dfac622c61e54d794c moved the first call to __set_thread_area to the top of dynamic linking stage 3, before this data is made available, causing the runtime detection code to always see __hwcap as zero and thereby select the atomics/TLS implementations based on kuser helper. upcoming work on superh will use similar runtime detection. ideally this early-init code should be cleanly refactored and shared between the dynamic linker and static-linked startup.
Diffstat (limited to 'include/string.h')
0 files changed, 0 insertions, 0 deletions