[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4291 - in glibc-package/branches/eglibc-2.11/debian/patches: . sh4



Author: aurel32
Date: 2010-05-26 14:19:50 +0000 (Wed, 26 May 2010)
New Revision: 4291

Added:
   glibc-package/branches/eglibc-2.11/debian/patches/sh4/cvs-register_dump.diff
Modified:
   glibc-package/branches/eglibc-2.11/debian/patches/series
Log:
  * Add debian/patches/sh4/cvs-register_dump.diff from upstream to fix 
    iov[] size register-dump.h.



Modified: glibc-package/branches/eglibc-2.11/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series	2010-05-26 10:11:48 UTC (rev 4290)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series	2010-05-26 14:19:50 UTC (rev 4291)
@@ -146,6 +146,7 @@
 
 sh4/local-fpscr_values.diff
 sh4/submitted-set_fpscr.diff
+sh4/cvs-register_dump.diff
 
 sparc/local-fork.diff
 sparc/local-sparcv9-target.diff

Added: glibc-package/branches/eglibc-2.11/debian/patches/sh4/cvs-register_dump.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/sh4/cvs-register_dump.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/patches/sh4/cvs-register_dump.diff	2010-05-26 14:19:50 UTC (rev 4291)
@@ -0,0 +1,22 @@
+2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
+
+	* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
+
+--- a/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
++++ b/sysdeps/unix/sysv/linux/sh/sh4/register-dump.h
+@@ -1,5 +1,5 @@
+ /* Dump registers.
+-   Copyright (C) 1999, 2000, 2009 Free Software Foundation, Inc.
++   Copyright (C) 1999, 2000, 2009, 2010 Free Software Foundation, Inc.
+    This file is part of the GNU C Library.
+ 
+    The GNU C Library is free software; you can redistribute it and/or
+@@ -58,7 +58,7 @@ register_dump (int fd, struct sigcontext *ctx)
+ {
+   char regs[22][8];
+   char fpregs[34][8];
+-  struct iovec iov[112];
++  struct iovec iov[22 * 2 + 34 * 2 + 2];
+   size_t nr = 0;
+ 
+ #define ADD_STRING(str) \


Reply to: