PowerPC: use _dl_static_init to set GLRO(gl_pagesize)
commit7b1f8b581f9387230788e4d8a67cdbcf464dac85
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 23 Jul 2013 12:39:57 +0000 (23 07:39 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 23 Jul 2013 12:39:57 +0000 (23 07:39 -0500)
tree6de853b342d5e0648345dfef945afa15247fe8bb
parente7074e4c5edb0acaa979ea08e533736f906a9d68
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.
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]