summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-22 17:32:46 +0200
committerPetr Baudis <pasky@suse.cz>2010-11-16 04:15:35 +0100
commitfd5ba40413efc0c95c0754341a76ada944aa1d5f (patch)
treef09855365257afff9cca2bb732bdb813f91bc719 /sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c
parentfb8fb8464c2b5a44b69e62bcc3211b9c769416da (diff)
downloadglibc-fd5ba40413efc0c95c0754341a76ada944aa1d5f.tar.gz
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 'sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c')
0 files changed, 0 insertions, 0 deletions