about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2016-10-07 09:56:47 +0200
committerStefan Liebler <stli@linux.vnet.ibm.com>2016-10-07 10:12:46 +0200
commita4d7fe35cd8f860b1cdf3521834a666447aba4c8 (patch)
treeb3c58d48430f3608affc72f70ad8dbcc09278250 /ChangeLog
parente23faea6aec97b75f7a7567350538c1c0dfc1cee (diff)
downloadglibc-a4d7fe35cd8f860b1cdf3521834a666447aba4c8.tar.gz
glibc-a4d7fe35cd8f860b1cdf3521834a666447aba4c8.tar.xz
glibc-a4d7fe35cd8f860b1cdf3521834a666447aba4c8.zip
ppc: Use libc_ifunc macro for time, gettimeofday.
This patch uses the libc_ifunc_hidden macro to create already existing ifunc functions
time and gettimeofday on power. This way, the libc_hidden_def macro can be used
instead of inline assemblies.
On ppc32, the __GI_* symbols do not target the ifunc symbol and thus the
redirection construct has to be applied here.

ChangeLog:

	* sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
	Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
	in header for using it as type for ifunc function because __GI_* symbols
	for ppc32 do not target the ifunc symbols.
	* sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1378071b1f..4cf22340f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
+	* sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
+	Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
+	in header for using it as type for ifunc function because __GI_* symbols
+	for ppc32 do not target the ifunc symbols.
+	* sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
+
+2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
 	* sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
 	Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
 	libc_ifunc_hidden_def.