|
|
bca718 |
From 9bcfc74b3097eb84973b7b91fd676f116e206938 Mon Sep 17 00:00:00 2001
|
|
|
bca718 |
From: Stefan Liebler <stli@linux.vnet.ibm.com>
|
|
|
bca718 |
Date: Thu, 8 Oct 2015 10:45:58 +0200
|
|
|
bca718 |
Subject: [PATCH 07/30] S390: Add new s390 platform.
|
|
|
bca718 |
|
|
|
bca718 |
upstream-commit-id: a1b0488fc9df3d895a2e5eefbcd348d3f7fe0e52
|
|
|
bca718 |
https://www.sourceware.org/ml/libc-alpha/2015-07/msg00081.html
|
|
|
bca718 |
|
|
|
bca718 |
The new IBM z13 is added to platform string array.
|
|
|
bca718 |
The macro _DL_PLATFORMS_COUNT is incremented to 8,
|
|
|
bca718 |
because it was not incremented by commit
|
|
|
bca718 |
"S/390: Sync AUXV capabilities and archs with kernel".
|
|
|
bca718 |
|
|
|
bca718 |
ChangeLog:
|
|
|
bca718 |
|
|
|
bca718 |
* sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
|
|
|
bca718 |
* sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
|
|
|
bca718 |
---
|
|
|
bca718 |
sysdeps/s390/dl-procinfo.c | 4 ++--
|
|
|
bca718 |
sysdeps/s390/dl-procinfo.h | 2 +-
|
|
|
bca718 |
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
bca718 |
|
|
|
bca718 |
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c
|
|
|
bca718 |
index 96d438a..f353528 100644
|
|
|
bca718 |
--- a/sysdeps/s390/dl-procinfo.c
|
|
|
bca718 |
+++ b/sysdeps/s390/dl-procinfo.c
|
|
|
bca718 |
@@ -62,11 +62,11 @@ PROCINFO_CLASS const char _dl_s390_cap_flags[12][9]
|
|
|
bca718 |
#if !defined PROCINFO_DECL && defined SHARED
|
|
|
bca718 |
._dl_s390_platforms
|
|
|
bca718 |
#else
|
|
|
bca718 |
-PROCINFO_CLASS const char _dl_s390_platforms[7][7]
|
|
|
bca718 |
+PROCINFO_CLASS const char _dl_s390_platforms[8][7]
|
|
|
bca718 |
#endif
|
|
|
bca718 |
#ifndef PROCINFO_DECL
|
|
|
bca718 |
= {
|
|
|
bca718 |
- "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12"
|
|
|
bca718 |
+ "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13"
|
|
|
bca718 |
}
|
|
|
bca718 |
#endif
|
|
|
bca718 |
#if !defined SHARED || defined PROCINFO_DECL
|
|
|
bca718 |
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
|
|
|
bca718 |
index 89766e0..80747f0 100644
|
|
|
bca718 |
--- a/sysdeps/s390/dl-procinfo.h
|
|
|
bca718 |
+++ b/sysdeps/s390/dl-procinfo.h
|
|
|
bca718 |
@@ -23,7 +23,7 @@
|
|
|
bca718 |
|
|
|
bca718 |
#define _DL_HWCAP_COUNT 12
|
|
|
bca718 |
|
|
|
bca718 |
-#define _DL_PLATFORMS_COUNT 5
|
|
|
bca718 |
+#define _DL_PLATFORMS_COUNT 8
|
|
|
bca718 |
|
|
|
bca718 |
/* The kernel provides up to 32 capability bits with elf_hwcap. */
|
|
|
bca718 |
#define _DL_FIRST_PLATFORM 32
|
|
|
bca718 |
--
|
|
|
bca718 |
2.3.0
|
|
|
bca718 |
|