diff options
author | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-27 15:48:35 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-27 15:48:35 -0500 |
commit | 0cfec279fbb3c25b9c37e35e303ad4cdab77ed81 (patch) | |
tree | bd6898ac31cecffe9ea408e08113eb6e648ad9a9 /sysdeps/sparc/dl-procinfo.h | |
parent | fe114d206479a36369d732ea260e81a686fdbb0b (diff) | |
download | glibc-rsa/hwcap2_v5.tar.gz glibc-rsa/hwcap2_v5.tar.xz glibc-rsa/hwcap2_v5.zip |
Add GLRO(dl_hwcap2), conditional on per platform HWCAP2_AVAIL. rsa/hwcap2_v5
Diffstat (limited to 'sysdeps/sparc/dl-procinfo.h')
-rw-r--r-- | sysdeps/sparc/dl-procinfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h index a18b099586..35065c4371 100644 --- a/sysdeps/sparc/dl-procinfo.h +++ b/sysdeps/sparc/dl-procinfo.h @@ -27,10 +27,14 @@ static inline int __attribute__ ((unused)) -_dl_procinfo (int word) +_dl_procinfo (unsigned int type, unsigned long int word) { int i; + /* Handle in a more sophisticated manner if HWCAP2 is supported. */ + if (type == AT_HWCAP2) + return 0; + _dl_printf ("AT_HWCAP: "); for (i = 0; i < _DL_HWCAP_COUNT; ++i) |