diff options
author | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-28 16:50:48 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-28 16:50:48 -0500 |
commit | 1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96 (patch) | |
tree | f7a784d6c5727eb0b1c0209a77db2ad99a36d92d /sysdeps/powerpc | |
parent | 8fbec010989a242f6eb17be837255502c459977d (diff) | |
download | glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.gz glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.xz glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.zip |
Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r-- | sysdeps/powerpc/dl-procinfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.h b/sysdeps/powerpc/dl-procinfo.h index 1c978ba62d..9531a2acc7 100644 --- a/sysdeps/powerpc/dl-procinfo.h +++ b/sysdeps/powerpc/dl-procinfo.h @@ -159,8 +159,12 @@ _dl_string_platform (const char *str) #ifdef IS_IN_rtld static inline int __attribute__ ((unused)) -_dl_procinfo (int word) +_dl_procinfo (unsigned int type, unsigned long int word) { + /* Fallback to unknown output mechanism. */ + if (type == AT_HWCAP2) + return -1; + _dl_printf ("AT_HWCAP: "); for (int i = _DL_HWCAP_FIRST; i < _DL_HWCAP_COUNT; ++i) |