a2cf7d
From 34e75eb497941f829115e6e8f34e899575f4e342 Mon Sep 17 00:00:00 2001
a2cf7d
From: Stefan Liebler <stli@linux.ibm.com>
a2cf7d
Date: Fri, 18 Oct 2019 14:57:14 +0200
a2cf7d
Subject: [PATCH 01/28] S390: Add new s390 platform z15.
a2cf7d
a2cf7d
The new IBM z15 is added to platform string array.
a2cf7d
The macro _DL_PLATFORMS_COUNT is incremented.
a2cf7d
a2cf7d
(cherry picked from commit 2901743568452403849be7295c8732faa7732339)
a2cf7d
---
a2cf7d
 sysdeps/s390/dl-procinfo.c | 4 ++--
a2cf7d
 sysdeps/s390/dl-procinfo.h | 2 +-
a2cf7d
 2 files changed, 3 insertions(+), 3 deletions(-)
a2cf7d
a2cf7d
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c
a2cf7d
index 6ea220a171..6d76d7d008 100644
a2cf7d
--- a/sysdeps/s390/dl-procinfo.c
a2cf7d
+++ b/sysdeps/s390/dl-procinfo.c
a2cf7d
@@ -63,11 +63,11 @@ PROCINFO_CLASS const char _dl_s390_cap_flags[19][9]
a2cf7d
 #if !defined PROCINFO_DECL && defined SHARED
a2cf7d
   ._dl_s390_platforms
a2cf7d
 #else
a2cf7d
-PROCINFO_CLASS const char _dl_s390_platforms[9][7]
a2cf7d
+PROCINFO_CLASS const char _dl_s390_platforms[10][7]
a2cf7d
 #endif
a2cf7d
 #ifndef PROCINFO_DECL
a2cf7d
 = {
a2cf7d
-    "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13", "z14"
a2cf7d
+    "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13", "z14", "z15"
a2cf7d
   }
a2cf7d
 #endif
a2cf7d
 #if !defined SHARED || defined PROCINFO_DECL
a2cf7d
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
a2cf7d
index d03c69fffd..b367bbe8ce 100644
a2cf7d
--- a/sysdeps/s390/dl-procinfo.h
a2cf7d
+++ b/sysdeps/s390/dl-procinfo.h
a2cf7d
@@ -23,7 +23,7 @@
a2cf7d
 
a2cf7d
 #define _DL_HWCAP_COUNT 19
a2cf7d
 
a2cf7d
-#define _DL_PLATFORMS_COUNT	9
a2cf7d
+#define _DL_PLATFORMS_COUNT	10
a2cf7d
 
a2cf7d
 /* The kernel provides up to 32 capability bits with elf_hwcap.  */
a2cf7d
 #define _DL_FIRST_PLATFORM	32
a2cf7d
-- 
a2cf7d
2.18.2
a2cf7d