From 94ec7e007f4845de284d4f7569721b225ba77572 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Seo Date: Thu, 13 Aug 2015 14:33:06 -0300 Subject: powerpc: Add missing hwcap strings. Some features in hwcap.h do not have matching string descriptors to be displayed when LD_SHOW_AUXV=1. This patch fixes the problem. 2015-08-13 Carlos Eduardo Seo * sysdeps/powerpc/dl-procinfo.c: (_dl_powerpc_cap_flags): Added missing strings for some hwcap features. * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count. --- sysdeps/powerpc/dl-procinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/powerpc/dl-procinfo.h') diff --git a/sysdeps/powerpc/dl-procinfo.h b/sysdeps/powerpc/dl-procinfo.h index cf167b0..36873cf 100644 --- a/sysdeps/powerpc/dl-procinfo.h +++ b/sysdeps/powerpc/dl-procinfo.h @@ -22,8 +22,8 @@ #include #include /* This defines the PPC_FEATURE[2]_* macros. */ -/* There are 25 bits used, but they are bits 7..31. */ -#define _DL_HWCAP_FIRST 7 +/* There are 28 bits used, but they are bits 4..31. */ +#define _DL_HWCAP_FIRST 4 /* The total number of available bits (including those prior to _DL_HWCAP_FIRST). Some of these bits might not be used. */ -- cgit v1.1