From: Andreas Schwab Date: Sun, 13 Jun 2010 20:30:17 +0000 (+0200) Subject: m68k: mark all inline math functions as non-throwing X-Git-Tag: upstream/2.30~10627^2~472 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9166f36fcc5390efb701e50564c63cb4534bd998;p=external%2Fglibc.git m68k: mark all inline math functions as non-throwing --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index bbc8a8c..c5b5706 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,5 +1,8 @@ 2010-06-13 Andreas Schwab + * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Mark all functions as + non-throwing. + * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES) (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define. diff --git a/sysdeps/m68k/m680x0/fpu/bits/mathinline.h b/sysdeps/m68k/m680x0/fpu/bits/mathinline.h index 975ffd8..8a17127 100644 --- a/sysdeps/m68k/m680x0/fpu/bits/mathinline.h +++ b/sysdeps/m68k/m680x0/fpu/bits/mathinline.h @@ -126,7 +126,7 @@ __NTH (__signbitl (long double __x)) /* Define a const math function. */ #define __m81_defun(rettype, func, args) \ __m81_inline rettype __attribute__((__const__)) \ - __m81_u(func) args + __NTH (__m81_u(func) args) /* 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 @@ -329,8 +329,8 @@ __m81_defun (long int, __CONCAT(__lrint,s), (float_type __x)) \ } \ \ __m81_inline float_type \ -__m81_u(__CONCAT(__fma,s))(float_type __x, float_type __y, \ - float_type __z) \ +__NTH (__m81_u(__CONCAT(__fma,s))(float_type __x, float_type __y, \ + float_type __z)) \ { \ return (__x * __y) + __z; \ } @@ -346,8 +346,8 @@ __inline_functions (long double,l) # define __inline_functions(float_type, s) \ __m81_inline void \ -__m81_u(__CONCAT(__sincos,s))(float_type __x, float_type *__sinx, \ - float_type *__cosx) \ +__NTH (__m81_u(__CONCAT(__sincos,s))(float_type __x, float_type *__sinx, \ + float_type *__cosx)) \ { \ __asm ("fsincos%.x %2,%1:%0" \ : "=f" (*__sinx), "=f" (*__cosx) : "f" (__x)); \ @@ -368,13 +368,13 @@ __inline_functions (long double,l) NAME, to make token pasting work correctly with -traditional. */ # define __inline_forward_c(rettype, name, args1, args2) \ __MATH_INLINE rettype __attribute__((__const__)) \ - name args1 \ +__NTH (name args1) \ { \ return __CONCAT(__,name) args2; \ } # define __inline_forward(rettype, name, args1, args2) \ -__MATH_INLINE rettype name args1 \ +__MATH_INLINE rettype __NTH (name args1) \ { \ return __CONCAT(__,name) args2; \ }