You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplify logic for setting __aarch64_have_lse_atomics
When using a non-glibc loader (e.g. musl), __aarch64_ldadd4_relax will
not necessarily be present, but the loader could still be using other
outlined atomic functions, so the search for __aarch64_ldadd4_relax
would not necessarily succeed. Therefore, remove the logic for
disassembling __aarch64_ldadd4_relax, and replace it with code that sets
__aarch64_have_lse_atomics directly.
This logic was considered necessary because __aarch64_have_lse_atomics
isn't exported. However, __aarch64_ldadd4_relax isn't exported either. So
either way, the symbol should be findable via .symtab if it is present.
It's possible that this wouldn't have worked before because of the bug
fixed by #4035.
0 commit comments