diff options
author | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-28 16:50:48 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-28 16:50:48 -0500 |
commit | 1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96 (patch) | |
tree | f7a784d6c5727eb0b1c0209a77db2ad99a36d92d /misc | |
parent | 8fbec010989a242f6eb17be837255502c459977d (diff) | |
download | glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.zip glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.gz glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.bz2 |
Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/getauxval.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/getauxval.c b/misc/getauxval.c index 4321e37..e0317fd 100644 --- a/misc/getauxval.c +++ b/misc/getauxval.c @@ -26,6 +26,8 @@ __getauxval (unsigned long int type) if (type == AT_HWCAP) return GLRO(dl_hwcap); + else if (type == AT_HWCAP2) + return GLRO(dl_hwcap2); for (p = GLRO(dl_auxv); p->a_type != AT_NULL; p++) if (p->a_type == type) |