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

r2856 - in glibc-package/trunk/debian: . patches patches/hurd-i386



Author: sthibaul-guest
Date: 2008-03-08 14:51:53 +0000 (Sat, 08 Mar 2008)
New Revision: 2856

Added:
   glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff
   glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/hurd-i386/submitted-blocked-exceptions.diff: new patch to dump
    core when a blocked exception arises.
  * patches/hurd-i386/submitted-df.diff: new patch to clear DF for signal
    handlers (needed for gcc-4.3).


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2008-03-06 21:05:55 UTC (rev 2855)
+++ glibc-package/trunk/debian/changelog	2008-03-08 14:51:53 UTC (rev 2856)
@@ -22,6 +22,12 @@
     Teredo tunnels and scopev4 defaults.
   * sysdeps/mips.mk, sysdeps/mipsel.mk: define TIMEOUTFACTOR.
 
+  [ Samuel Thibault ]
+  * patches/hurd-i386/submitted-blocked-exceptions.diff: new patch to dump
+    core when a blocked exception arises.
+  * patches/hurd-i386/submitted-df.diff: new patch to clear DF for signal
+    handlers (needed for gcc-4.3).
+
  -- Aurelien Jarno <aurel32@debian.org>  Thu, 06 Mar 2008 22:05:10 +0100
 
 glibc (2.7-9) unstable; urgency=low

Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-blocked-exceptions.diff	2008-03-08 14:51:53 UTC (rev 2856)
@@ -0,0 +1,14 @@
+--- glibc/hurd/hurdsig.c.orig	2008-03-01 17:45:09.000000000 +0000
++++ glibc/hurd/hurdsig.c	2008-03-01 17:44:07.000000000 +0000
+@@ -715,6 +715,11 @@
+       act = term;
+     }
+ 
++  /* We should not let a kernel exception be blocked.  */
++  /* Not required by POSIX ("undefined behavior"), but useful.  */
++  if (detail->exc && __sigismember (&ss->blocked, signo))
++    act = core;
++  else
+   /* Handle receipt of a blocked signal, or any signal while stopped.  */
+   if (act != ignore &&		/* Signals ignored now are forgotten now.  */
+       __sigismember (&ss->blocked, signo) ||

Added: glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/submitted-df.diff	2008-03-08 14:51:53 UTC (rev 2856)
@@ -0,0 +1,22 @@
+2008-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
+	Clear direction flag.
+
+Index: glibc/sysdeps/mach/hurd/i386/trampoline.c
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/mach/hurd/i386/trampoline.c,v
+retrieving revision 1.30
+diff -u -p -r1.30 trampoline.c
+--- glibc/sysdeps/mach/hurd/i386/trampoline.c	21 Dec 2005 22:16:20 -0000	1.30
++++ glibc/sysdeps/mach/hurd/i386/trampoline.c	8 Mar 2008 00:07:38 -0000
+@@ -218,6 +218,9 @@ _hurd_setup_sighandler (struct hurd_sigs
+   /* We pass the handler function to the trampoline code in %edx.  */
+   state->basic.edx = (int) handler;
+ 
++  /* x86 ABI requires direction flag to be cleared */
++  state->basic.efl &= ~0x400;
++
+   return scp;
+ }
+ 

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2008-03-06 21:05:55 UTC (rev 2855)
+++ glibc-package/trunk/debian/patches/series	2008-03-08 14:51:53 UTC (rev 2856)
@@ -91,6 +91,8 @@
 hurd-i386/cvs-O_CLOEXEC_fix.diff
 hurd-i386/submitted-extern_inline.diff -p0
 hurd-i386/cvs-epfnosupport.diff -p0
+hurd-i386/submitted-df.diff
+hurd-i386/submitted-blocked-exceptions.diff
 
 i386/local-biarch.diff 
 i386/local-clone.diff -p0


Reply to: