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: RFC: Add <sys/platform/x86.h> to glibc 2.29


On 08/17/2018 06:43 PM, H.J. Lu wrote:
Are these functions supposed to be usable in IFUNC resolvers?

They have the same limitation as

/* Used from outside of glibc to get access to the CPU features
     structure.  */
extern const struct cpu_features *__get_cpu_features (void)
       __attribute__ ((const));

Sorry, this does not answer my question.

Just like __get_cpu_features, they can be used in IFUNC resolvers.

Then we need something like this:

  <https://sourceware.org/ml/libc-alpha/2018-06/msg00077.html>

Thanks,
Florian


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