diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-05-11 11:35:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-05-11 11:35:10 +0000 |
commit | 590a83132e870c4aabb185b9086452cee8ca50ea (patch) | |
tree | 5062660fed2eda7bf4e8cf66a294aa4f89712073 /libc/misc | |
parent | 68c4b497dd7306e0146ebd8b3bbc8289ed4c6e33 (diff) |
Setup a _dl_pagesize value for use by staticly linked apps
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 79b71cb3c..b404b0ebc 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -48,6 +48,8 @@ extern void weak_function __pthread_initialize_minimal(void); extern int _dl_secure; extern size_t _dl_pagesize; +size_t __dl_pagesize = 0; +weak_alias(__dl_pagesize, _dl_pagesize); char **__environ = 0; const char *__progname = 0; |