about summary refs log tree commit diff
path: root/wcsmbs
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 /wcsmbs
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 'wcsmbs')
0 files changed, 0 insertions, 0 deletions