aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/dl-procinfo.c
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-15 15:48:17 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-05-15 15:48:17 -0500
commitd0f03338fd8c314f865b4421b99efd69725ca063 (patch)
treeafd31508b0fbbbddc38db46ffd0a59729d1831f8 /sysdeps/powerpc/dl-procinfo.c
parent6d6691c0f4a53c0e1c1915e19e71544c6b55b491 (diff)
downloadglibc-rsa/hwcap2_v3.zip
glibc-rsa/hwcap2_v3.tar.gz
glibc-rsa/hwcap2_v3.tar.bz2
PowerPC: Fix AT_HWCAP2 feature bit string output in _dl_procinfo.rsa/hwcap2_v3
Diffstat (limited to 'sysdeps/powerpc/dl-procinfo.c')
-rw-r--r--sysdeps/powerpc/dl-procinfo.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.c b/sysdeps/powerpc/dl-procinfo.c
index 0fbbc80..1c87fb0 100644
--- a/sysdeps/powerpc/dl-procinfo.c
+++ b/sysdeps/powerpc/dl-procinfo.c
@@ -45,18 +45,25 @@
#if !defined PROCINFO_DECL && defined SHARED
._dl_powerpc_cap_flags
#else
-PROCINFO_CLASS const char _dl_powerpc_cap_flags[31][10]
+PROCINFO_CLASS const char _dl_powerpc_cap_flags[57][10]
#endif
#ifndef PROCINFO_DECL
= {
- "ebb", "isel", "tar",
- "vsx", "arch_2_07", "htm", "dscr",
+ "vsx",
"arch_2_06", "power6x", "dfp", "pa6t",
"arch_2_05", "ic_snoop", "smt", "booke",
"cellbe", "power5+", "power5", "power4",
"notb", "efpdouble", "efpsingle", "spe",
"ucache", "4xxmac", "mmu", "fpu",
"altivec", "ppc601", "ppc64", "ppc32",
+ "", "", "", "",
+ "", "", "", "",
+ "", "", "", "",
+ "", "", "", "",
+ "", "", "", "",
+ "", "", "", "",
+ "", "", "tar", "isel",
+ "ebb", "dscr", "htm", "arch_2_07",
}
#endif
#if !defined SHARED || defined PROCINFO_DECL