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

r4575 - in glibc-package/branches/eglibc-2.13/debian: . patches patches/hppa



Author: aurel32
Date: 2011-03-11 18:47:32 +0000 (Fri, 11 Mar 2011)
New Revision: 4575

Added:
   glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-libm-hidden.diff
   glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-stackinfo.diff
Modified:
   glibc-package/branches/eglibc-2.13/debian/changelog
   glibc-package/branches/eglibc-2.13/debian/patches/series
Log:
  * Add patches/hppa/submitted-fcntl_h.diff, hppa/submitted-stackinfo.diff
    and hppa/submitted-libm-hidden.diff to fix FTBFS on hppa.



Modified: glibc-package/branches/eglibc-2.13/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/changelog	2011-03-11 17:15:18 UTC (rev 4574)
+++ glibc-package/branches/eglibc-2.13/debian/changelog	2011-03-11 18:47:32 UTC (rev 4575)
@@ -134,8 +134,8 @@
     on GNU/kFreeBSD.
   * Add patches/s390/submitted-iconv-z9-109.diff to fix FTBFS on s390
     with recent binutils.
-  * Add patches/hppa/submitted-fcntl_h.diff to partially fix FTBFS on 
-    hppa.
+  * Add patches/hppa/submitted-fcntl_h.diff, hppa/submitted-stackinfo.diff
+    and hppa/submitted-libm-hidden.diff to fix FTBFS on hppa.
 
   [ Samuel Thibault ]
   * Add patches/any/cvs-glro_dl_debug_mask.diff to fix build without

Added: glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-libm-hidden.diff
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-libm-hidden.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-libm-hidden.diff	2011-03-11 18:47:32 UTC (rev 4575)
@@ -0,0 +1,20 @@
+2011-03-11  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Add
+	libm_hidden_def.
+	* sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
+
+--- a/ports/sysdeps/hppa/fpu/feupdateenv.c
++++ b/ports/sysdeps/hppa/fpu/feupdateenv.c
+@@ -38,3 +38,4 @@ feupdateenv (const fenv_t *envp)
+   /* Success.  */
+   return 0;
+ }
++libm_hidden_def (feupdateenv)
+--- a/ports/sysdeps/hppa/fpu/ftestexcept.c
++++ b/ports/sysdeps/hppa/fpu/ftestexcept.c
+@@ -32,3 +32,4 @@ fetestexcept (int excepts)
+ 
+   return (s.sw[0] >> 27) & excepts & FE_ALL_EXCEPT;
+ }
++libm_hidden_def (fetestexcept)

Added: glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-stackinfo.diff
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-stackinfo.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.13/debian/patches/hppa/submitted-stackinfo.diff	2011-03-11 18:47:32 UTC (rev 4575)
@@ -0,0 +1,15 @@
+2011-03-11  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/hppa/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
+
+--- a/ports/sysdeps/hppa/stackinfo.h
++++ b/ports/sysdeps/hppa/stackinfo.h
+@@ -25,4 +25,8 @@
+ /* On PA the stack grows up.  */
+ #define _STACK_GROWS_UP	1
+ 
++/* Default to an executable stack.  PF_X can be overridden if PT_GNU_STACK is
++ * present, but it is presumed absent.  */
++#define DEFAULT_STACK_PERMS (PF_R|PF_W|PF_X)
++
+ #endif	/* stackinfo.h */

Modified: glibc-package/branches/eglibc-2.13/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/patches/series	2011-03-11 17:15:18 UTC (rev 4574)
+++ glibc-package/branches/eglibc-2.13/debian/patches/series	2011-03-11 18:47:32 UTC (rev 4575)
@@ -76,6 +76,8 @@
 hppa/local-longjmp-chk.diff
 hppa/local-lowlevellock.diff
 hppa/submitted-fcntl_h.diff
+hppa/submitted-libm-hidden.diff
+hppa/submitted-stackinfo.diff
 
 hurd-i386/local-dl-dynamic-weak.diff
 hurd-i386/local-enable-ldconfig.diff


Reply to: