This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.22-625-gc676e65


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  c676e659395f145e45b08fe3bba90c29ab44e8b8 (commit)
       via  b1f19b8ef1003f202424ca222003a18b880bf914 (commit)
      from  2cf3e1aa7477b813ca3ebb901003a7d44f970218 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c676e659395f145e45b08fe3bba90c29ab44e8b8

commit c676e659395f145e45b08fe3bba90c29ab44e8b8
Author: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Date:   Wed Dec 9 18:48:04 2015 -0200

    powerpc: Export __parse_hwcap_and_convert_at_platform to libc.a.
    
    Commit 67385a01d229751569b6aac067ffdcd813a15d7a added a new feature for
    powerpc, where we store HWCAP/Platform bits in the TCB.  In the dynamic
    linking case, we use the versioned symbol
    '__parse_hwcap_and_convert_at_platform' to verify if this feature is
    available.  However, the same symbol was not exported to libc.a, making
    it not possible for GCC to check for it prior to link time.

diff --git a/ChangeLog b/ChangeLog
index 83143de..a32717e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
 
+	* sysdeps/powerpc/hwcapinfo.c: Export symbol
+	__parse_hwcap_and_convert_at_platform to libc.a.
+
+2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
 	* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
 	platform and feature support for POWER9.
 	* sysdeps/powerpc/dl-procinfo.h: Likewise.
diff --git a/sysdeps/powerpc/hwcapinfo.c b/sysdeps/powerpc/hwcapinfo.c
index a115ffc..b885f1c 100644
--- a/sysdeps/powerpc/hwcapinfo.c
+++ b/sysdeps/powerpc/hwcapinfo.c
@@ -74,3 +74,11 @@ __tcb_parse_hwcap_and_convert_at_platform (void)
 versioned_symbol (ld, __tcb_parse_hwcap_and_convert_at_platform, \
 		  __parse_hwcap_and_convert_at_platform, GLIBC_2_23);
 #endif
+
+/* Export __parse_hwcap_and_convert_at_platform in libc.a.  This is used by
+   GCC to make sure that the HWCAP/Platform bits are stored in the TCB when
+   using __builtin_cpu_is()/__builtin_cpu_supports() in the static case.  */
+#ifndef SHARED
+weak_alias (__tcb_parse_hwcap_and_convert_at_platform, \
+	    __parse_hwcap_and_convert_at_platform);
+#endif

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b1f19b8ef1003f202424ca222003a18b880bf914

commit b1f19b8ef1003f202424ca222003a18b880bf914
Author: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Date:   Wed Nov 4 19:30:49 2015 -0200

    powerpc: Add basic support for POWER9 sans hwcap.
    
    This patch adds the minimum changes for supporting the POWER9 processor.

diff --git a/ChangeLog b/ChangeLog
index a57db54..83143de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+	* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
+	platform and feature support for POWER9.
+	* sysdeps/powerpc/dl-procinfo.h: Likewise.
+	* sysdeps/powerpc/powerpc32/power9/Implies: New file.
+	* sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
+	* sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
+	* sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
+	* sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
+	* sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
+	* sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
+
 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	Harmonize generic stdio-lock support with nptl
diff --git a/sysdeps/powerpc/dl-procinfo.c b/sysdeps/powerpc/dl-procinfo.c
index 770c1f3..a8df5b8 100644
--- a/sysdeps/powerpc/dl-procinfo.c
+++ b/sysdeps/powerpc/dl-procinfo.c
@@ -75,7 +75,7 @@ PROCINFO_CLASS const char _dl_powerpc_cap_flags[60][10]
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_powerpc_platforms
 #else
-PROCINFO_CLASS const char _dl_powerpc_platforms[14][12]
+PROCINFO_CLASS const char _dl_powerpc_platforms[15][12]
 #endif
 #ifndef PROCINFO_DECL
 = {
@@ -93,6 +93,7 @@ PROCINFO_CLASS const char _dl_powerpc_platforms[14][12]
     [PPC_PLATFORM_PPC464] = "ppc464",
     [PPC_PLATFORM_PPC476] = "ppc476",
     [PPC_PLATFORM_POWER8] = "power8",
+    [PPC_PLATFORM_POWER9] = "power9"
   }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL
diff --git a/sysdeps/powerpc/dl-procinfo.h b/sysdeps/powerpc/dl-procinfo.h
index 36873cf..407149b 100644
--- a/sysdeps/powerpc/dl-procinfo.h
+++ b/sysdeps/powerpc/dl-procinfo.h
@@ -40,7 +40,7 @@
 #define HWCAP_IMPORTANT		(PPC_FEATURE_HAS_ALTIVEC \
 				+ PPC_FEATURE_HAS_DFP)
 
-#define _DL_PLATFORMS_COUNT	14
+#define _DL_PLATFORMS_COUNT	15
 
 #define _DL_FIRST_PLATFORM	32
 /* Mask to filter out platforms.  */
@@ -62,6 +62,7 @@
 #define PPC_PLATFORM_PPC464		11
 #define PPC_PLATFORM_PPC476		12
 #define PPC_PLATFORM_POWER8		13
+#define PPC_PLATFORM_POWER9		14
 
 static inline const char *
 __attribute__ ((unused))
@@ -125,6 +126,9 @@ _dl_string_platform (const char *str)
 	case '8':
 	  ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER8;
 	  break;
+	case '9':
+	  ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER9;
+	  break;
 	default:
 	  return -1;
 	}
diff --git a/sysdeps/powerpc/powerpc32/power9/Implies b/sysdeps/powerpc/powerpc32/power9/Implies
new file mode 100644
index 0000000..066dea2
--- /dev/null
+++ b/sysdeps/powerpc/powerpc32/power9/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc32/power8/fpu
+powerpc/powerpc32/power8
diff --git a/sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies b/sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies
new file mode 100644
index 0000000..4393b56
--- /dev/null
+++ b/sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc32/power8/fpu/multiarch
diff --git a/sysdeps/powerpc/powerpc32/power9/multiarch/Implies b/sysdeps/powerpc/powerpc32/power9/multiarch/Implies
new file mode 100644
index 0000000..4393b56
--- /dev/null
+++ b/sysdeps/powerpc/powerpc32/power9/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc32/power8/fpu/multiarch
diff --git a/sysdeps/powerpc/powerpc64/power9/Implies b/sysdeps/powerpc/powerpc64/power9/Implies
new file mode 100644
index 0000000..fad2505
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/power9/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/power8/fpu
+powerpc/powerpc64/power8
diff --git a/sysdeps/powerpc/powerpc64/power9/fpu/Implies b/sysdeps/powerpc/powerpc64/power9/fpu/Implies
new file mode 100644
index 0000000..fad2505
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/power9/fpu/Implies
@@ -0,0 +1,2 @@
+powerpc/powerpc64/power8/fpu
+powerpc/powerpc64/power8
diff --git a/sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies b/sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies
new file mode 100644
index 0000000..f11e1bd
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power8/fpu/multiarch
diff --git a/sysdeps/powerpc/powerpc64/power9/multiarch/Implies b/sysdeps/powerpc/powerpc64/power9/multiarch/Implies
new file mode 100644
index 0000000..dd6bca4
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/power9/multiarch/Implies
@@ -0,0 +1 @@
+powerpc/powerpc64/power8/multiarch

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   18 ++++++++++++++++++
 sysdeps/powerpc/dl-procinfo.c                      |    3 ++-
 sysdeps/powerpc/dl-procinfo.h                      |    6 +++++-
 sysdeps/powerpc/hwcapinfo.c                        |    8 ++++++++
 sysdeps/powerpc/powerpc32/power9/Implies           |    2 ++
 .../powerpc/powerpc32/power9/fpu/multiarch/Implies |    1 +
 sysdeps/powerpc/powerpc32/power9/multiarch/Implies |    1 +
 sysdeps/powerpc/powerpc64/power9/Implies           |    2 ++
 sysdeps/powerpc/powerpc64/power9/fpu/Implies       |    2 ++
 .../powerpc/powerpc64/power9/fpu/multiarch/Implies |    1 +
 sysdeps/powerpc/powerpc64/power9/multiarch/Implies |    1 +
 11 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 sysdeps/powerpc/powerpc32/power9/Implies
 create mode 100644 sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies
 create mode 100644 sysdeps/powerpc/powerpc32/power9/multiarch/Implies
 create mode 100644 sysdeps/powerpc/powerpc64/power9/Implies
 create mode 100644 sysdeps/powerpc/powerpc64/power9/fpu/Implies
 create mode 100644 sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies
 create mode 100644 sysdeps/powerpc/powerpc64/power9/multiarch/Implies


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]