about summary refs log tree commit diff
path: root/arch/aarch64/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2024-05-07 08:18:49 -0400
committerRich Felker <dalias@aerifal.cx>2024-05-07 08:32:11 -0400
commit6f666231bf51703fadbef10460d462fb573548a1 (patch)
tree0a9cae678b4901d3f88bfd4b37b7e1df588e7f9b /arch/aarch64/bits
parentfced99e93daeefb0192fd16304f978d4401d1d77 (diff)
downloadmusl-6f666231bf51703fadbef10460d462fb573548a1.tar.gz
musl-6f666231bf51703fadbef10460d462fb573548a1.tar.xz
musl-6f666231bf51703fadbef10460d462fb573548a1.zip
ldso: fix non-functional fix to early dynamic PAGE_SIZE access
commit f47a8cdd250d9163fcfb39bf4e9d813957c0b187 introduced an
alternate mechanism for access to runtime page size for compatibility
with early stages of dynamic linking, but because pthread_impl.h
indirectly includes libc.h, the condition #ifndef PAGE_SIZE was never
satisfied.

rather than depend on order of inclusion, use the (baseline POSIX)
macro PAGESIZE, not the (XSI) macro PAGE_SIZE, to determine whether
page size is dynamic. our internal libc.h only provides a dynamic
definition for PAGE_SIZE, not for PAGESIZE.
Diffstat (limited to 'arch/aarch64/bits')
0 files changed, 0 insertions, 0 deletions