diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-05-11 11:14:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-05-11 11:14:58 +0000 |
commit | 68c4b497dd7306e0146ebd8b3bbc8289ed4c6e33 (patch) | |
tree | b76126f13f820979dac7a8084bd5a82f39c82995 /ldso/include/ldso.h | |
parent | fd4f96fda50d2462621de89762659e7cc7d648a9 (diff) |
make certain that getpagesize() returns correct the value for mips
by extracting the value from the ELF header.
Diffstat (limited to 'ldso/include/ldso.h')
-rw-r--r-- | ldso/include/ldso.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h index 6d3df05dc..6c01cebc1 100644 --- a/ldso/include/ldso.h +++ b/ldso/include/ldso.h @@ -45,6 +45,7 @@ extern unsigned char *_dl_mmap_zero; /* Also used by _dl_malloc */ extern unsigned long *_dl_brkp; /* The end of the data segment for brk and sbrk */ extern unsigned long *_dl_envp; /* The environment address */ extern int _dl_secure; /* Are we dealing with setuid stuff? */ +extern size_t _dl_pagesize; /* Store the page size for use later */ #ifdef __SUPPORT_LD_DEBUG__ extern char *_dl_debug; |