diff mbox series

[v3,07/29] csky: Add <bits/pagesize.h>

Message ID 8b3fc39051421e70680c30b8263f445f03c3a18b.1727624528.git.fweimer@redhat.com
State New
Headers show
Series Teach glibc about possible page sizes and handle gaps in ld.so | expand

Commit Message

Florian Weimer Sept. 29, 2024, 4:01 p.m. UTC
Linux only supports 4 KiB pages per arch/csky/Kconfig in the kernel
sources: only HAVE_PAGE_SIZE_4KB is ever selected.
---
 sysdeps/csky/bits/pagesize.h | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 sysdeps/csky/bits/pagesize.h
diff mbox series

Patch

diff --git a/sysdeps/csky/bits/pagesize.h b/sysdeps/csky/bits/pagesize.h
new file mode 100644
index 0000000000..352fb732d7
--- /dev/null
+++ b/sysdeps/csky/bits/pagesize.h
@@ -0,0 +1,2 @@ 
+#define __GLIBC_PAGE_SHIFT_MIN 12
+#define __GLIBC_PAGE_SHIFT_MAX 12