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 google/grte/v5-2.27/master updated. glibc-2.27-166-g74932cc


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, google/grte/v5-2.27/master has been updated
       via  74932cc8f5466e460c4b3d6d5996defabc72a84d (commit)
      from  464da9128b8f74750d0d1dbbf63db74738bf69ec (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=74932cc8f5466e460c4b3d6d5996defabc72a84d

commit 74932cc8f5466e460c4b3d6d5996defabc72a84d
Author: Stan Shebs <stanshebs@google.com>
Date:   Thu Sep 27 11:14:32 2018 -0700

    Work around lack of mfppr in clang

diff --git a/sysdeps/powerpc/tst-set_ppr.c b/sysdeps/powerpc/tst-set_ppr.c
index c4f8096..02eb619 100644
--- a/sysdeps/powerpc/tst-set_ppr.c
+++ b/sysdeps/powerpc/tst-set_ppr.c
@@ -44,7 +44,12 @@ get_thread_priority (void)
 {
   /* Read the PPR.  */
   ppr_t ppr;
+#if defined __clang__
+  /* Temporary until clang knows about mfppr.  */
+  asm volatile ("mfspr %0,896" : "=r"(ppr));
+#else
   asm volatile (MFPPR" %0" : "=r"(ppr));
+#endif
   /* Return the thread priority value.  */
   return EXTRACT_THREAD_PRIORITY (ppr);
 }

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

Summary of changes:
 sysdeps/powerpc/tst-set_ppr.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


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]