diff options
Diffstat (limited to 'src/env/__libc_start_main.c')
-rw-r--r-- | src/env/__libc_start_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env/__libc_start_main.c b/src/env/__libc_start_main.c index 2a8698bb..73d49327 100644 --- a/src/env/__libc_start_main.c +++ b/src/env/__libc_start_main.c @@ -26,6 +26,7 @@ void __init_libc(char **envp, char *pn) for (i=0; auxv[i]; i+=2) if (auxv[i]<AUX_CNT) aux[auxv[i]] = auxv[i+1]; __hwcap = aux[AT_HWCAP]; __sysinfo = aux[AT_SYSINFO]; + libc.page_size = aux[AT_PAGESZ]; if (pn) { __progname = __progname_full = pn; |