aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.alpha5
-rw-r--r--ports/ChangeLog.arm5
-rw-r--r--ports/ChangeLog.mips5
-rw-r--r--ports/sysdeps/alpha/dl-procinfo.h2
-rw-r--r--ports/sysdeps/mips/dl-procinfo.h2
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h6
6 files changed, 22 insertions, 3 deletions
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha
index 3646955..6ef2b12 100644
--- a/ports/ChangeLog.alpha
+++ b/ports/ChangeLog.alpha
@@ -1,3 +1,8 @@
+2013-06-13 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * sysdeps/alpha/dl-procinfo.h (_dl_procinfo): Add TYPE parameter for
+ AT_HWCAP2 support.
+
2013-06-05 Joseph Myers <joseph@codesourcery.com>
* sysdeps/alpha/bits/atomic.h: Remove trailing whitespace.
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 28ebfdf..f149f93 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,8 @@
+2013-06-13 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo): Add
+ TYPE parameter for AT_HWCAP2 support. Make WORD unsigned.
+
2013-06-11 Joseph Myers <joseph@codesourcery.com>
* sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 487bd02..c2e29c9 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,8 @@
+2013-06-13 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
+
+ * sysdeps/mips/dl-procinfo.h (_dl_procinfo): Add TYPE parameter for
+ AT_HWCAP2 support.
+
2013-06-05 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/fpu/fgetexcptflg.c: Remove trailing whitespace.
diff --git a/ports/sysdeps/alpha/dl-procinfo.h b/ports/sysdeps/alpha/dl-procinfo.h
index 523d966..0344dbc 100644
--- a/ports/sysdeps/alpha/dl-procinfo.h
+++ b/ports/sysdeps/alpha/dl-procinfo.h
@@ -51,7 +51,7 @@ _dl_string_platform (const char *str)
};
/* We cannot provide a general printing function. */
-#define _dl_procinfo(word) -1
+#define _dl_procinfo(type, word) -1
/* There are no hardware capabilities defined. */
#define _dl_hwcap_string(idx) ""
diff --git a/ports/sysdeps/mips/dl-procinfo.h b/ports/sysdeps/mips/dl-procinfo.h
index 5cc9a44..e96550c 100644
--- a/ports/sysdeps/mips/dl-procinfo.h
+++ b/ports/sysdeps/mips/dl-procinfo.h
@@ -51,7 +51,7 @@ _dl_string_platform (const char *str)
};
/* We cannot provide a general printing function. */
-#define _dl_procinfo(word) -1
+#define _dl_procinfo(type, word) -1
/* There are no hardware capabilities defined. */
#define _dl_hwcap_string(idx) ""
diff --git a/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h b/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
index 161e86c..8f71814 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
+++ b/ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
@@ -31,10 +31,14 @@
static inline int
__attribute__ ((unused))
-_dl_procinfo (int word)
+_dl_procinfo (unsigned int type, unsigned int word)
{
int i;
+ /* Unused for now. */
+ if (type == AT_HWCAP2)
+ return 0;
+
_dl_printf ("AT_HWCAP: ");
for (i = 0; i < _DL_HWCAP_COUNT; ++i)