From 1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96 Mon Sep 17 00:00:00 2001 From: "Ryan S. Arnold" Date: Fri, 28 Jun 2013 16:50:48 -0500 Subject: Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type. --- misc/getauxval.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc') diff --git a/misc/getauxval.c b/misc/getauxval.c index 4321e3718a..e0317fd6f9 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) -- cgit 1.4.1