This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[ARM] bits/hwcap.h update
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: <nd at arm dot com>, Joseph Myers <joseph at codesourcery dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Mon, 12 Dec 2016 17:43:48 +0000
- Subject: [ARM] bits/hwcap.h update
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs dot Nagy at arm dot com;
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Since https://www.sourceware.org/ml/libc-alpha/2014-06/msg00756.html
the AT_HWCAP2 bits are handled on arm so the linux uapi macros should
be defined if sys/auxv.h is included.
I can propose a patch, however it seems the glibc names for HWCAP
bits are different than the linux names: HWCAP_ARM_.. vs HWCAP_..
These are linux specific flags as noted in
https://sourceware.org/ml/libc-ports/2012-08/msg00069.html
so i'm not sure why the difference.
Does anybody know the reason?
(I'd prefer adding all the current linux uapi names to glibc
and keeping the HWCAP_ARM_ macros for compatibility).