about summary refs log tree commit diff
path: root/sysdeps/powerpc/dl-procinfo.c
diff options
context:
space:
mode:
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>2015-08-13 14:33:06 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2015-08-18 15:48:43 -0300
commit94ec7e007f4845de284d4f7569721b225ba77572 (patch)
tree06ac55c744eb11449719dfd864c595c6cbe431a9 /sysdeps/powerpc/dl-procinfo.c
parent5542236837c5c41435f8282ec92799f480c36f18 (diff)
downloadglibc-94ec7e007f4845de284d4f7569721b225ba77572.tar.gz
glibc-94ec7e007f4845de284d4f7569721b225ba77572.tar.xz
glibc-94ec7e007f4845de284d4f7569721b225ba77572.zip
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  <cseo@linux.vnet.ibm.com>

	* 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.
Diffstat (limited to 'sysdeps/powerpc/dl-procinfo.c')
-rw-r--r--sysdeps/powerpc/dl-procinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.c b/sysdeps/powerpc/dl-procinfo.c
index 3a8cc4173f..6eda5d9dc7 100644
--- a/sysdeps/powerpc/dl-procinfo.c
+++ b/sysdeps/powerpc/dl-procinfo.c
@@ -45,11 +45,11 @@
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_powerpc_cap_flags
 #else
-PROCINFO_CLASS const char _dl_powerpc_cap_flags[57][10]
+PROCINFO_CLASS const char _dl_powerpc_cap_flags[60][10]
 #endif
 #ifndef PROCINFO_DECL
 = {
-    "vsx",
+    "ppcle", "true_le", "archpmu", "vsx",
     "arch_2_06", "power6x", "dfp", "pa6t",
     "arch_2_05", "ic_snoop", "smt", "booke",
     "cellbe", "power5+", "power5", "power4",
@@ -62,7 +62,7 @@ PROCINFO_CLASS const char _dl_powerpc_cap_flags[57][10]
     "", "", "", "",
     "", "", "", "",
     "", "", "", "",
-    "", "", "tar", "isel",
+    "", "vcrypto", "tar", "isel",
     "ebb", "dscr", "htm", "arch_2_07",
   }
 #endif