PowerPC: use _dl_static_init to set GLRO(gl_pagesize)rsa/2.17_backports_v3
commita06663ebed17775761f501e5f0cdddff159959ac
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 23 Jul 2013 12:39:57 +0000 (23 07:39 -0500)
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>
Fri, 26 Jul 2013 20:24:51 +0000 (26 15:24 -0500)
treebd55dd888cf2f854eaf22797fe780d1158614838
parent5c616c0a75792d2836412d6c4ed5c71e8e754992
PowerPC: use _dl_static_init to set GLRO(gl_pagesize)

This patch fixes dlfcn/tststatic5 for PowerPC where pagesize
variable was not properly initialized in certain cases. This patch
is based on other architecture code.
(cherry picked from commit 7b1f8b581f9387230788e4d8a67cdbcf464dac85)
ChangeLog
sysdeps/unix/sysv/linux/powerpc/Makefile
sysdeps/unix/sysv/linux/powerpc/Versions
sysdeps/unix/sysv/linux/powerpc/dl-static.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/powerpc/ldsodefs.h [new file with mode: 0644]