1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.

This commit is contained in:
Ryan S. Arnold
2013-06-28 16:50:48 -05:00
parent 8fbec01098
commit 1ae8bfe07c
18 changed files with 89 additions and 13 deletions

View File

@ -24,12 +24,16 @@
#undef _dl_procinfo
static inline int
__attribute__ ((unused))
_dl_procinfo (int word)
_dl_procinfo (unsigned int type, unsigned long int word)
{
/* This table should match the information from arch/s390/kernel/setup.c
in the kernel sources. */
int i;
/* Fallback to unknown output mechanism. */
if (type == AT_HWCAP2)
return -1;
_dl_printf ("AT_HWCAP: ");
for (i = 0; i < _DL_HWCAP_COUNT; ++i)