e23faea6ae
This patch uses the libc_ifunc_hidden macro to create already existing ifunc functions time and gettimeofday on intel. This way, the libc_hidden_def macro can be used instead of the libc_ifunc_hidden_def one which was only used here. Thus the macro is removed from libc-symbols.h. On i386, the __GI_* symbols do not target the ifunc symbol and thus the redirection construct has to be applied here. ChangeLog: * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday): Use libc_ifunc_hidden macro. Use libc_hidden_def instead of libc_ifunc_hidden_def. * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise. * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday): Redirect ifunced function in header for using it as type of ifunc'ed function. Redefine libc_hidden_def to use fallback non ifunc'ed function for __GI_* symbol. * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise. * include/libc-symbols.h (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro. |
||
---|---|---|
.. | ||
arpa | ||
bits | ||
gnu | ||
net | ||
netinet | ||
programs | ||
protocols | ||
rpc | ||
rpcsvc | ||
sys | ||
aio.h | ||
aliases.h | ||
alloca.h | ||
argp.h | ||
argz.h | ||
assert.h | ||
atomic.h | ||
byteswap.h | ||
caller.h | ||
complex.h | ||
cpio.h | ||
ctype.h | ||
des.h | ||
dirent.h | ||
dlfcn.h | ||
elf.h | ||
endian.h | ||
envz.h | ||
err.h | ||
errno.h | ||
error.h | ||
execinfo.h | ||
fcntl.h | ||
features.h | ||
fenv.h | ||
fmtmsg.h | ||
fnmatch.h | ||
fpu_control.h | ||
ftw.h | ||
gconv.h | ||
getopt_int.h | ||
getopt.h | ||
glob.h | ||
gmp.h | ||
gnu-versions.h | ||
grp-merge.h | ||
grp.h | ||
gshadow.h | ||
iconv.h | ||
ifaddrs.h | ||
ifunc-impl-list.h | ||
inline-hashtab.h | ||
langinfo.h | ||
libc-internal.h | ||
libc-symbols.h | ||
libgen.h | ||
libintl.h | ||
libio.h | ||
limits.h | ||
link.h | ||
list.h | ||
locale.h | ||
malloc.h | ||
math.h | ||
mcheck.h | ||
memory.h | ||
mntent.h | ||
monetary.h | ||
mqueue.h | ||
netdb.h | ||
netgroup.h | ||
nl_types.h | ||
nss.h | ||
nsswitch.h | ||
obstack.h | ||
poll.h | ||
printf.h | ||
pthread.h | ||
pty.h | ||
pwd.h | ||
regex.h | ||
resolv.h | ||
rounding-mode.h | ||
sched.h | ||
scratch_buffer.h | ||
search.h | ||
set-hooks.h | ||
setjmp.h | ||
sgtty.h | ||
shadow.h | ||
shlib-compat.h | ||
signal.h | ||
spawn.h | ||
stab.h | ||
stackinfo.h | ||
stap-probe.h | ||
stdc-predef.h | ||
stdio_ext.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
stropts.h | ||
stubs-prologue.h | ||
syscall.h | ||
sysexits.h | ||
syslog.h | ||
tar.h | ||
termios.h | ||
tgmath.h | ||
time.h | ||
ttyent.h | ||
uchar.h | ||
ucontext.h | ||
ulimit.h | ||
unistd.h | ||
utime.h | ||
utmp.h | ||
values.h | ||
wchar.h | ||
wctype.h | ||
wordexp.h | ||
xlocale.h |