]> git.ipfire.org Git - thirdparty/glibc.git/commit
PowerPC: Fix gettimeofday ifunc selection
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Mon, 20 Jan 2014 18:29:51 +0000 (12:29 -0600)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 16 Jan 2015 02:05:54 +0000 (21:05 -0500)
commit1442655ba419867ce1a045a97cdd7904ac1ad516
treec543a99f2be58b1e1811da1388b6101c5f5629a3
parent1bdb6daceb10307543599df3b118afd2109d2ec8
PowerPC: Fix gettimeofday ifunc selection

The IFUNC selector for gettimeofday runs before _libc_vdso_platform_setup where
__vdso_gettimeofday is set. The selector then sets __gettimeofday (the internal
version used within GLIBC) to use the system call version instead of the vDSO one.
This patch changes the check if vDSO is available to get its value directly
instead of rely on __vdso_gettimeofday.

This patch changes it by getting the vDSO value directly.

It fixes BZ#16431.
ChangeLog
NEWS
sysdeps/unix/sysv/linux/powerpc/gettimeofday.c