This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.16-ports-merge-652-gd0f8457
- From: krebbel at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Nov 2012 08:53:20 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-652-gd0f8457
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via d0f8457e6b682fe06a9a025d982058bb4abf3012 (commit)
from 57241e26e544e44bcb7b96ae41f0c62488d89020 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d0f8457e6b682fe06a9a025d982058bb4abf3012
commit d0f8457e6b682fe06a9a025d982058bb4abf3012
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Date: Thu Nov 8 09:53:00 2012 +0100
S/390: Add hwcap value for transactional execution.
diff --git a/ChangeLog b/ChangeLog
index ee9857f..d4ac924 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
+ * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
+ * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
+ definition.
+
2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* elf/elf.h: Update comment before AArch64 relocations.
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c
index a22d45b..9590146 100644
--- a/sysdeps/s390/dl-procinfo.c
+++ b/sysdeps/s390/dl-procinfo.c
@@ -46,11 +46,11 @@
#if !defined PROCINFO_DECL && defined SHARED
._dl_s390_cap_flags
#else
-PROCINFO_CLASS const char _dl_s390_cap_flags[10][9]
+PROCINFO_CLASS const char _dl_s390_cap_flags[11][9]
#endif
#ifndef PROCINFO_DECL
= {
- "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh", "highgprs"
+ "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh", "highgprs", "te"
}
#endif
#if !defined SHARED || defined PROCINFO_DECL
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index 7221b53..97dcf07 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -33,7 +33,9 @@
/* Hardware capablity bit numbers are derived directly from the
facility indications as stored by the "store facility list" (STFL)
- instruction. */
+ instruction.
+ highgprs is an alien in that list. It describes a *kernel*
+ capability. */
enum
{
@@ -47,6 +49,7 @@ enum
HWCAP_S390_HPAGE = 1 << 7,
HWCAP_S390_ETF3EH = 1 << 8,
HWCAP_S390_HIGH_GPRS = 1 << 9,
+ HWCAP_S390_TE = 1 << 10,
};
#define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \
diff --git a/sysdeps/unix/sysv/linux/s390/bits/hwcap.h b/sysdeps/unix/sysv/linux/s390/bits/hwcap.h
index 7f03ffe..59d68b0 100644
--- a/sysdeps/unix/sysv/linux/s390/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/s390/bits/hwcap.h
@@ -34,3 +34,4 @@
#define HWCAP_S390_HPAGE 128
#define HWCAP_S390_ETF3EH 256
#define HWCAP_S390_HIGH_GPRS 512
+#define HWCAP_S390_TE 1024
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
sysdeps/s390/dl-procinfo.c | 4 ++--
sysdeps/s390/dl-procinfo.h | 5 ++++-
sysdeps/unix/sysv/linux/s390/bits/hwcap.h | 1 +
4 files changed, 14 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources