This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC: gettimeofday optimization by using IFUNC


On 03/05/2013 04:22 AM, Adhemerval Zanella wrote:
> +/* Macro to return vdso_xxx value on IFUNC implementations.
> +   On PPC64 the returned value is actually an OPD entry.  */
> +#if defined(__PPC64__) || defined(__powerpc64__)
> +#define PTR_IFUNC_RET(value)  &value
> +#else
> +#define PTR_IFUNC_RET(value)  value
> +#endif
> +

We are talking about function symbols in C right?  These two expressions are
identical due to function pointer decomposition.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]