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

r1410 - in glibc-package/trunk/debian: . patches patches/m68k



Author: aurel32
Date: 2006-04-11 13:16:50 +0000 (Tue, 11 Apr 2006)
New Revision: 1410

Added:
   glibc-package/trunk/debian/patches/m68k/local-mathinline_h.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * Add m68k/local-mathinline_h.diff (fix bits/mathinline.h), by Roger Leigh.
    (Closes: #340871)
      



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2006-04-11 12:45:19 UTC (rev 1409)
+++ glibc-package/trunk/debian/changelog	2006-04-11 13:16:50 UTC (rev 1410)
@@ -8,6 +8,8 @@
   * Bumped the minimum kernel to 2.4.1 instead of 2.4.0 as there are some
     important new features in this version. Thanks to Petr Salinger for
     noticing me.
+  * Add m68k/local-mathinline_h.diff (fix bits/mathinline.h), by Roger Leigh.
+    (Closes: #340871)
 
  -- Aurelien Jarno <aurel32@debian.org>  Tue, 11 Apr 2006 00:54:26 +0200
 

Added: glibc-package/trunk/debian/patches/m68k/local-mathinline_h.diff
===================================================================
--- glibc-package/trunk/debian/patches/m68k/local-mathinline_h.diff	2006-04-11 12:45:19 UTC (rev 1409)
+++ glibc-package/trunk/debian/patches/m68k/local-mathinline_h.diff	2006-04-11 13:16:50 UTC (rev 1410)
@@ -0,0 +1,49 @@
+--- libc/sysdeps/m68k/fpu/bits/mathinline.h	2006-03-03 15:22:14.000000000 +0100
++++ libc/sysdeps/m68k/fpu/bits/mathinline.h	2006-04-07 00:41:04.000000000 +0200
+@@ -100,7 +100,7 @@
+ /* Define a const math function.  */
+ #define __m81_defun(rettype, func, args)				      \
+   __m81_inline rettype __attribute__((__const__))			      \
+-  __m81_u(func) args
++  __m81_u(func) args __THROW
+ 
+ /* Define the three variants of a math function that has a direct
+    implementation in the m68k fpu.  FUNC is the name for C (which will be
+@@ -314,7 +314,7 @@
+ 									  \
+ __m81_inline float_type							  \
+ __m81_u(__CONCAT(__fma,s))(float_type __x, float_type __y,		  \
+-			   float_type __z)				  \
++			   float_type __z) __THROW			  \
+ {									  \
+   return (__x * __y) + __z;						  \
+ }
+@@ -331,7 +331,7 @@
+ # define __inline_functions(float_type, s)				\
+ __m81_inline void							\
+ __m81_u(__CONCAT(__sincos,s))(float_type __x, float_type *__sinx,	\
+-			      float_type *__cosx)			\
++			      float_type *__cosx) __THROW		\
+ {									\
+   __asm ("fsincos%.x %2,%1:%0"						\
+ 	 : "=f" (*__sinx), "=f" (*__cosx) : "f" (__x));			\
+@@ -351,14 +351,14 @@
+ /* Note that there must be no whitespace before the argument passed for
+    NAME, to make token pasting work correctly with -traditional.  */
+ # define __inline_forward_c(rettype, name, args1, args2)	\
+-extern __inline rettype __attribute__((__const__))		\
+-  name args1							\
+-{								\
+-  return __CONCAT(__,name) args2;				\
++extern __inline rettype __attribute__((__const__))	\
++name args1 __THROW					\
++{							\
++  return __CONCAT(__,name) args2;			\
+ }
+ 
+ # define __inline_forward(rettype, name, args1, args2)	\
+-extern __inline rettype name args1			\
++extern __inline rettype name args1 __THROW		\
+ {							\
+   return __CONCAT(__,name) args2;			\
+ }

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2006-04-11 12:45:19 UTC (rev 1409)
+++ glibc-package/trunk/debian/patches/series	2006-04-11 13:16:50 UTC (rev 1410)
@@ -86,6 +86,7 @@
 m68k/local-compat.diff -p1         
 m68k/local-dwarf2-buildfix.diff -p0
 m68k/local-fpic.diff -p1
+m68k/local-mathinline_h.diff -p1
 m68k/local-reloc.diff -p1
 m68k/submitted-gcc34-seccomment.diff -p0
 



Reply to: