diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-08-22 17:32:46 +0200 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2010-11-16 04:15:35 +0100 |
commit | fd5ba40413efc0c95c0754341a76ada944aa1d5f (patch) | |
tree | f09855365257afff9cca2bb732bdb813f91bc719 /wcsmbs/wcstol.c | |
parent | fb8fb8464c2b5a44b69e62bcc3211b9c769416da (diff) | |
download | glibc-fd5ba40413efc0c95c0754341a76ada944aa1d5f.zip glibc-fd5ba40413efc0c95c0754341a76ada944aa1d5f.tar.gz glibc-fd5ba40413efc0c95c0754341a76ada944aa1d5f.tar.bz2 |
Make sure GLRO(dl_pagesize) is initialized properly on all archs
After a recent change to __getpagesize(), GLRO(dl_pagesize) is required
to be set. But that is only done at app init, and shared libraries
dlopened at runtime by static apps dont have their GLRO() state
initialized from the linux auxvec.
ia64/mips have long had similar behavior with their __getpagesize(), but
they have a DL_STATIC_INIT hook to sync some of the static GLRO() fields
to the dynamic GLRO() fields. Now that common linux code requires
GLRO(dl_pagesize) to be set, common linux code now needs that
DL_STATIC_INIT hook.
This patch takes the ia64 logic and promotes it to common code.
Diffstat (limited to 'wcsmbs/wcstol.c')
0 files changed, 0 insertions, 0 deletions