about summary refs log tree commit diff
path: root/sysdeps/powerpc/dl-procinfo.c
diff options
context:
space:
mode:
authorTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-11-17 21:15:15 -0200
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2017-11-17 21:49:02 -0200
commitdf0c40ee3a893238ac11f4c0d876a0c3b49d198d (patch)
tree81ff27bb1e2b081946ba62b01921d7d02b7fd3f9 /sysdeps/powerpc/dl-procinfo.c
parentf58e5f48096332566aa479ed0961c1f67aa3ed66 (diff)
downloadglibc-df0c40ee3a893238ac11f4c0d876a0c3b49d198d.tar.gz
glibc-df0c40ee3a893238ac11f4c0d876a0c3b49d198d.tar.xz
glibc-df0c40ee3a893238ac11f4c0d876a0c3b49d198d.zip
powerpc: Update AT_HWCAP2 bits
Linux commit ID cba6ac4869e45cc93ac5497024d1d49576e82666 reserved a new
bit for a scenario where transactional memory is available, but the
suspended state is disabled.

	* sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
	macro.
	* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
	htm-no-suspend.

Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Diffstat (limited to 'sysdeps/powerpc/dl-procinfo.c')
-rw-r--r--sysdeps/powerpc/dl-procinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.c b/sysdeps/powerpc/dl-procinfo.c
index 4dac16d39e..55a6e78aa8 100644
--- a/sysdeps/powerpc/dl-procinfo.c
+++ b/sysdeps/powerpc/dl-procinfo.c
@@ -45,7 +45,7 @@
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_powerpc_cap_flags
 #else
-PROCINFO_CLASS const char _dl_powerpc_cap_flags[64][10]
+PROCINFO_CLASS const char _dl_powerpc_cap_flags[64][15]
 #endif
 #ifndef PROCINFO_DECL
 = {
@@ -61,7 +61,7 @@ PROCINFO_CLASS const char _dl_powerpc_cap_flags[64][10]
     "", "", "", "",
     "", "", "", "",
     "", "", "", "",
-    "", "", "", "",
+    "", "", "", "htm-no-suspend",
     "scv", "darn", "ieee128", "arch_3_00",
     "htm-nosc", "vcrypto", "tar", "isel",
     "ebb", "dscr", "htm", "arch_2_07",