[v3,03/29] aarch64: Add <bits/pagesize.h>
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
Commit Message
According to Program Loading and Dynamic Linking in
<https://github.com/ARM-software/abi-aa/blob/main/sysvabi64/sysvabi64.rst>,
the maximum supported page size by the ABI is 64 KiB, so the
maximum page shift is 16 bits.
---
sysdeps/aarch64/bits/pagesize.h | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 sysdeps/aarch64/bits/pagesize.h
new file mode 100644
@@ -0,0 +1,2 @@
+#define __GLIBC_PAGE_SHIFT_MIN 12
+#define __GLIBC_PAGE_SHIFT_MAX 16