Hi Andreas, > On Nov 11 2019, Lukasz Majewski wrote: > > > diff --git a/include/time.h b/include/time.h > > index 52ee213669..8b9a4b7a60 100644 > > --- a/include/time.h > > +++ b/include/time.h > > @@ -179,6 +179,13 @@ extern int __futimens64 (int fd, const struct > > __timespec64 tsp[2]); libc_hidden_proto (__futimens64); > > #endif > > > > +#if __TIMESIZE == 64 > > +# define __timer_gettime64 __timer_gettime > > +#else > > +extern int __timer_gettime64 (timer_t timerid, struct > > __itimerspec64 *value); +libc_hidden_proto (__timer_gettime64); > > This libc_hidden_proto is wrong since timer_gettime64 lives in librt. > I may be not so experienced glibc developer, but isn't the libc_hidden_proto macro used to bypass plt access to this function when it is used internally in glibc? For librt there is the same symbol (and stub function defined) for backward compatibility. Or am I missing something important? Thanks in advance for the explanation. > Andreas. > Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de