diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-07-23 07:39:57 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-07-23 07:39:57 -0500 |
commit | 7b1f8b581f9387230788e4d8a67cdbcf464dac85 (patch) | |
tree | 6de853b342d5e0648345dfef945afa15247fe8bb /sysdeps/unix/sysv/linux/powerpc/Versions | |
parent | e7074e4c5edb0acaa979ea08e533736f906a9d68 (diff) | |
download | glibc-7b1f8b581f9387230788e4d8a67cdbcf464dac85.tar.gz glibc-7b1f8b581f9387230788e4d8a67cdbcf464dac85.tar.xz glibc-7b1f8b581f9387230788e4d8a67cdbcf464dac85.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/Versions')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/Versions | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/Versions b/sysdeps/unix/sysv/linux/powerpc/Versions index 289c4fe9b7..9b583fbbe6 100644 --- a/sysdeps/unix/sysv/linux/powerpc/Versions +++ b/sysdeps/unix/sysv/linux/powerpc/Versions @@ -1,3 +1,9 @@ +ld { + GLIBC_PRIVATE { + # used for loading by static libraries + _dl_var_init; + } +} libc { GLIBC_PRIVATE { __vdso_get_tbfreq; |