mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
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.
This commit is contained in:
parent
5542236837
commit
94ec7e007f
@ -1,3 +1,10 @@
|
|||||||
|
2015-08-18 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.
|
||||||
|
|
||||||
2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
|
2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
Port the 0x7efe...feff pattern to GCC 6.
|
Port the 0x7efe...feff pattern to GCC 6.
|
||||||
|
@ -45,11 +45,11 @@
|
|||||||
#if !defined PROCINFO_DECL && defined SHARED
|
#if !defined PROCINFO_DECL && defined SHARED
|
||||||
._dl_powerpc_cap_flags
|
._dl_powerpc_cap_flags
|
||||||
#else
|
#else
|
||||||
PROCINFO_CLASS const char _dl_powerpc_cap_flags[57][10]
|
PROCINFO_CLASS const char _dl_powerpc_cap_flags[60][10]
|
||||||
#endif
|
#endif
|
||||||
#ifndef PROCINFO_DECL
|
#ifndef PROCINFO_DECL
|
||||||
= {
|
= {
|
||||||
"vsx",
|
"ppcle", "true_le", "archpmu", "vsx",
|
||||||
"arch_2_06", "power6x", "dfp", "pa6t",
|
"arch_2_06", "power6x", "dfp", "pa6t",
|
||||||
"arch_2_05", "ic_snoop", "smt", "booke",
|
"arch_2_05", "ic_snoop", "smt", "booke",
|
||||||
"cellbe", "power5+", "power5", "power4",
|
"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",
|
"ebb", "dscr", "htm", "arch_2_07",
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
#include <ldsodefs.h>
|
#include <ldsodefs.h>
|
||||||
#include <sysdep.h> /* This defines the PPC_FEATURE[2]_* macros. */
|
#include <sysdep.h> /* This defines the PPC_FEATURE[2]_* macros. */
|
||||||
|
|
||||||
/* There are 25 bits used, but they are bits 7..31. */
|
/* There are 28 bits used, but they are bits 4..31. */
|
||||||
#define _DL_HWCAP_FIRST 7
|
#define _DL_HWCAP_FIRST 4
|
||||||
|
|
||||||
/* The total number of available bits (including those prior to
|
/* The total number of available bits (including those prior to
|
||||||
_DL_HWCAP_FIRST). Some of these bits might not be used. */
|
_DL_HWCAP_FIRST). Some of these bits might not be used. */
|
||||||
|
Loading…
Reference in New Issue
Block a user