about summary refs log tree commit diff
path: root/sysdeps/generic/dl-sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/dl-sysdep.c')
-rw-r--r--sysdeps/generic/dl-sysdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 32697e782a..9408e61dbf 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -31,6 +31,7 @@
 extern int _dl_argc;
 extern char **_dl_argv;
 extern char **_environ;
+extern size_t _dl_pagesize;
 extern void _end;
 extern void _start (void);
 
@@ -75,6 +76,9 @@ _dl_sysdep_start (void **start_argptr,
       case AT_PHNUM:
 	phnum = av->a_un.a_val;
 	break;
+      case AT_PAGESZ:
+	_dl_pagesize = av->a_un.a_val;
+	break;
       case AT_ENTRY:
 	user_entry = av->a_un.a_val;
 	break;