This is the mail archive of the libc-help@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]

glibc clears AT_HWCAP and set only HW_CAP_X86_64 (0x2)


Hi libc,

when calling getauxval(AT_HWCAP), it returns 0x2, because of below snippet:

https://code.woboq.org/userspace/glibc/sysdeps/x86/cpu-features.c.html#510

Is there any reason why glibc don't use the values passed from kernel auxv?

Thanks
baojun


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