This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: gettimeofday / vdso / aarch64 question
- From: Steve Ellcey <sellcey at cavium dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 10 May 2018 09:22:44 -0700
- Subject: Re: gettimeofday / vdso / aarch64 question
- References: <1525908319.28825.220.camel@cavium.com> <m2mux87y8s.fsf@linux-m68k.org>
- Reply-to: sellcey at cavium dot com
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Thu, 2018-05-10 at 09:42 +0200, Andreas Schwab wrote:
> 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.
Argh. Staring at it too long to see it. I have it building now,
I will submit a patch once the testsuite finishes.
Steve Ellcey