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.24-377-g530862a


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  530862a63e0929128dc98fbbd463b120934434fb (commit)
      from  f07820b7d13846431bb1c291414b6286cc5f5cbf (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=530862a63e0929128dc98fbbd463b120934434fb

commit 530862a63e0929128dc98fbbd463b120934434fb
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 16 03:45:49 2016 +0000

    Fix SH4 register-dump.h for soft-float.
    
    This patch fixes SH4 register-dump.h to declare a variable inside the
    the build for soft-float.
    
    Tested (compilation only) for SH4 soft-float.
    
    	* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
    	Only declare fpregs if [__SH_FPU_ANY__].

diff --git a/ChangeLog b/ChangeLog
index c52196e..dfa48e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-11-16  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
+	Only declare fpregs if [__SH_FPU_ANY__].
+
 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
diff --git a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
index 4a642ab..519a2ce 100644
--- a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
+++ b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
@@ -56,7 +56,6 @@ static void
 register_dump (int fd, struct sigcontext *ctx)
 {
   char regs[22][8];
-  char fpregs[34][8];
   struct iovec iov[22 * 2 + 34 * 2 + 2];
   size_t nr = 0;
 
@@ -144,6 +143,7 @@ register_dump (int fd, struct sigcontext *ctx)
   ADD_STRING ("\n");
 
 #ifdef __SH_FPU_ANY__
+  char fpregs[34][8];
   if (ctx->sc_ownedfp != 0)
     {
       hexvalue (ctx->sc_fpregs[0], fpregs[0], 8);

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

Summary of changes:
 ChangeLog                                      |    5 +++++
 sysdeps/unix/sysv/linux/sh/sh4/register-dump.h |    2 +-
 2 files changed, 6 insertions(+), 1 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]