This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: gettimeofday / vdso / aarch64 question
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Steve Ellcey <sellcey at cavium dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 10 May 2018 09:42:27 +0200
- Subject: Re: gettimeofday / vdso / aarch64 question
- References: <1525908319.28825.220.camel@cavium.com>
On Mai 09 2018, Steve Ellcey <sellcey@cavium.com> wrote:
> +libc_ifunc_hidden (__redirect___gettimeofday, __gettimeofday,
> + vdso_gettimeofday ?: (void *) __gettimeofday_syscall)
> +# undef libc_hidden_def
> +# define libc_hidden_def(name) \
> + __hidden_ver1 (__gettimeofday_syscall, __GI___gettimeofday, \
> + __gettimeofday_syscall);
> +weak_alias (__gettimeofday, gettimeofday)
> +libc_hidden_weak (gettimeofday)
You are (re)defining libc_hidden_def, but don't use it.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."