]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
S390: Add new s390 platform.
authorStefan Liebler <stli@linux.vnet.ibm.com>
Wed, 26 Aug 2015 08:26:19 +0000 (10:26 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 26 Aug 2015 08:26:19 +0000 (10:26 +0200)
The new IBM z13 is added to platform string array.
The macro _DL_PLATFORMS_COUNT is incremented to 8,
because it was not incremented by commit
"S/390: Sync AUXV capabilities and archs with kernel".

ChangeLog:

* sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
* sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.

ChangeLog
sysdeps/s390/dl-procinfo.c
sysdeps/s390/dl-procinfo.h

index 08c2fa7c3ac1fccb201174c8f595e2e3afab0532..c648db65fd93ccdc0f9004325e60c02c155b77f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+       * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
+       * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
+
 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
 
        * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
index 0f57f03ad0a2067f18def0f404de31ea2f6086e8..2bb1f21c948161897b2e86092c0b85bc4da37c8a 100644 (file)
@@ -62,11 +62,11 @@ PROCINFO_CLASS const char _dl_s390_cap_flags[12][9]
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_s390_platforms
 #else
-PROCINFO_CLASS const char _dl_s390_platforms[7][7]
+PROCINFO_CLASS const char _dl_s390_platforms[8][7]
 #endif
 #ifndef PROCINFO_DECL
 = {
-    "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12"
+    "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13"
   }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL
index 151b891edec81686154fd91a36ef4bb8dbb97f8a..78da65fab5cabd272517c6473ab3e68eb2d887df 100644 (file)
@@ -23,7 +23,7 @@
 
 #define _DL_HWCAP_COUNT 12
 
-#define _DL_PLATFORMS_COUNT    5
+#define _DL_PLATFORMS_COUNT    8
 
 /* The kernel provides up to 32 capability bits with elf_hwcap.  */
 #define _DL_FIRST_PLATFORM     32