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 /ports | |
parent | 8fbec010989a242f6eb17be837255502c459977d (diff) | |
download | glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.zip glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.gz glibc-1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96.tar.bz2 |
Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.alpha | 5 | ||||
-rw-r--r-- | ports/ChangeLog.arm | 7 | ||||
-rw-r--r-- | ports/ChangeLog.mips | 5 | ||||
-rw-r--r-- | ports/sysdeps/alpha/dl-procinfo.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/mips/dl-procinfo.h | 2 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/arm/dl-procinfo.h | 6 |
6 files changed, 24 insertions, 3 deletions
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha index 59e78d1..1ccae37 100644 --- a/ports/ChangeLog.alpha +++ b/ports/ChangeLog.alpha @@ -1,3 +1,8 @@ +2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * sysdeps/alpha/dl-procinfo.h (_dl_procinfo): Add TYPE parameter + to macro prototype for AT_HWCAP2 support. + 2013-06-24 Richard Henderson <rth@redhat.com> [BZ #15666] diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index 2c07021..6cc665c 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,3 +1,10 @@ +2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo): Add + TYPE parameter to macro prototype for AT_HWCAP2 support. Make WORD + unsigned long int rather than signed int. Stub in handler for TYPE == + AT_HWCAP2 to return -1 for unknown a_type display fallback. + 2013-06-18 Roland McGrath <roland@hack.frob.com> * sysdeps/arm/arm-mcount.S: Comment typo fix. diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 00542f5..1f69593 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,8 @@ +2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com> + + * sysdeps/mips/dl-procinfo.h (_dl_procinfo): Add TYPE parameter + to macro prototype for AT_HWCAP2 support. + 2013-06-27 Maciej W. Rozycki <macro@codesourcery.com> * sysdeps/unix/sysv/linux/mips/dl-static.c: Do not include 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..251653a 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 long int word) { 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) |