diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-01-16 13:01:55 -0600 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-01-16 13:01:55 -0600 |
commit | a1db67c6c7fafc3d2ebd391d64837d54a994e5b9 (patch) | |
tree | 5ffd2261eeb38c7822ac29a3120e1d5d59679812 /ChangeLog | |
parent | 8209beac4644af4c2875f52f82c53c0d4be589ca (diff) | |
download | glibc-a1db67c6c7fafc3d2ebd391d64837d54a994e5b9.tar.gz glibc-a1db67c6c7fafc3d2ebd391d64837d54a994e5b9.tar.xz glibc-a1db67c6c7fafc3d2ebd391d64837d54a994e5b9.zip |
PowerPC: Fix ftime gettimeofday internal call returning bogus data
This patches fixes BZ#16430 by setting a different symbol for internal GLIBC calls that points to ifunc resolvers. For PPC32, if the symbol is defined as hidden (which is the case for gettimeofday and time) the compiler will create local branches (symbol@local) and linker will not create PLT calls (required for IFUNC). This will leads to internal symbol calling the IFUNC resolver instead of the resolved symbol. For PPC64 this behavior does not occur because a call to a function in another translation unit might use a different toc pointer thus requiring a PLT call.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4e3a8220fe..0992488a6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + [BZ#16430] + * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c + (__GI___gettimeofday): Alias for a different internal symbol to avoid + local calls issues by not having a PLT stub required for IFUNC calls. + * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise. + 2013-11-16 Alan Modra <amodra@gmail.com> * NEWS: Mention powerpc64le support and bugs fixed. |