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

r1899 - in glibc-package: branches/glibc-2.5/debian trunk/debian trunk/debian/patches trunk/debian/patches/hppa



Author: aurel32
Date: 2007-01-08 22:34:48 +0100 (Mon, 08 Jan 2007)
New Revision: 1899

Added:
   glibc-package/trunk/debian/patches/hppa/cvs-clone.diff
Modified:
   glibc-package/branches/glibc-2.5/debian/changelog
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * debian/patches/hppa/cvs-clone.diff: new patch by Helge Deller
    <deller@gmx.de> inspired from upstream CVS code (fix LTP clone04 and
    clone06 test).  Closes: #405411.
  


Modified: glibc-package/branches/glibc-2.5/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.5/debian/changelog	2007-01-08 21:15:46 UTC (rev 1898)
+++ glibc-package/branches/glibc-2.5/debian/changelog	2007-01-08 21:34:48 UTC (rev 1899)
@@ -8,7 +8,8 @@
   * Remove locale/cvs-iso3166.diff (merged upstream).
   * Remove localedata/locale-ro_RO.diff (merged upstream).
   * Remove arm/cvs-portshead.patch (merged upstream).
-  * Remove hppa/cvs-portshead.patch (merged upstream).
+  * Remove hppa/cvs-clone.patch (merged upstream).
+  * Remove hppa/cvs-portshead.diff (merged upstream).
   * Remove hppa/submitted-drop-utimes.diff (merged upstream).
   * Remove hurd-i386/cvs-machrules-make.diff (merged upstream).
   * Remove mips/cvs-fork.diff (merged upstream).
@@ -252,6 +253,9 @@
     glibc-bsd).
   * debian/control.in/libc: downgrade priority of libc-dev to optional 
     from standard to match overrides.
+  * debian/patches/hppa/cvs-clone.diff: new patch by Helge Deller 
+    <deller@gmx.de> inspired from upstream CVS code (fix LTP clone04 and
+    clone06 test).  Closes: #405411.
 
  -- Aurelien Jarno <aurel32@debian.org>  Tue,  2 Jan 2007 03:13:54 +0100
 

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2007-01-08 21:15:46 UTC (rev 1898)
+++ glibc-package/trunk/debian/changelog	2007-01-08 21:34:48 UTC (rev 1899)
@@ -9,10 +9,13 @@
       libc0.1-i386 packages
   * patches/kfreebsd/local-sysdeps.diff: update to revision 1853 (from
     glibc-bsd).
-  * debian/control.in/libc: downgrade priority of libc-dev to optional 
+  * debian/control.in/libc: downgrade priority of libc-dev to optional
     from standard to match overrides.
+  * debian/patches/hppa/cvs-clone.diff: new patch by Helge Deller 
+    <deller@gmx.de> inspired from upstream CVS code (fix LTP clone04 and
+    clone06 test).  Closes: #405411.
 
- -- Aurelien Jarno <aurel32@debian.org>  Mon,  8 Jan 2007 02:33:36 +0100
+ -- Aurelien Jarno <aurel32@debian.org>  Mon,  8 Jan 2007 22:29:37 +0100
 
 glibc (2.3.6.ds1-9) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/hppa/cvs-clone.diff
===================================================================
--- glibc-package/trunk/debian/patches/hppa/cvs-clone.diff	2007-01-08 21:15:46 UTC (rev 1898)
+++ glibc-package/trunk/debian/patches/hppa/cvs-clone.diff	2007-01-08 21:34:48 UTC (rev 1899)
@@ -0,0 +1,38 @@
+--- glibc-2.3.6.orig/debian/sysdeps/unix/sysv/linux/hppa/clone.S	2006-12-29 08:49:25.000000000 +0100
++++ glibc-2.3.6/debian/sysdeps/unix/sysv/linux/hppa/clone.S	2007-01-01 19:53:00.000000000 +0100
+@@ -32,6 +32,11 @@
+ ENTRY(__clone)
+ 	/* FIXME: I have no idea how profiling works on hppa. */
+ 
++	/* Save the PIC register. */
++#ifdef PIC
++	stw	%r19,-32(%sr0, %sp)	/* parent */
++#endif
++
+ 	/* Sanity check arguments.  */
+ 	comib,=  0,%arg0,.Lerror        /* no NULL function pointers */
+ 	ldi     -EINVAL,%ret0
+@@ -41,10 +46,8 @@
+ 	/* Save the fn ptr and arg on the new stack.  */
+ 	stwm    %arg0,64(%arg1)
+ 	stw	%arg3,-60(%arg1)
+-
+-	/* Save the PIC register. */
+ #ifdef PIC
+-	stw	%r19,-32(%sr0, %sp)	/* parent */
++	stw	%r19,-32(%arg1)		/* save PIC on child's stack */
+ #endif
+ 
+ 	/* Do the system call */
+@@ -88,6 +91,11 @@
+ 	bl	$$dyncall,%r31
+ 	copy	%r31,%rp
+ 
++	/* Restore PIC register for exit() */
++#ifdef PIC
++	ldw	-32(%sr0, %sp), %r19	/* parent */
++#endif
++
+ 	bl	_exit,%rp
+ 	copy	%ret0,%arg0
+ 

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2007-01-08 21:15:46 UTC (rev 1898)
+++ glibc-package/trunk/debian/patches/series	2007-01-08 21:34:48 UTC (rev 1899)
@@ -71,6 +71,7 @@
 hppa/submitted-iitlbp.diff -p1
 hppa/submitted-fenv-align.diff -p1
 hppa/submitted-fpu.diff -p1
+hppa/cvs-clone.diff -p1
 hppa/cvs-pie-relocs.diff -p1
 hppa/cvs-no-ldbl-128.diff -p1
 hppa/local-inlining.diff -p1



Reply to: