From 1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96 Mon Sep 17 00:00:00 2001 From: "Ryan S. Arnold" Date: Fri, 28 Jun 2013 16:50:48 -0500 Subject: Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type. --- sysdeps/unix/sysv/linux/s390/dl-procinfo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/s390/dl-procinfo.h') diff --git a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h b/sysdeps/unix/sysv/linux/s390/dl-procinfo.h index 5ca4b76ca7..331230443a 100644 --- a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h +++ b/sysdeps/unix/sysv/linux/s390/dl-procinfo.h @@ -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) -- cgit 1.4.1