diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/alpha/stxncpy.S | 6 | ||||
-rw-r--r-- | sysdeps/i386/fpu/__math.h | 25 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/statbuf.h | 6 |
3 files changed, 19 insertions, 18 deletions
diff --git a/sysdeps/alpha/stxncpy.S b/sysdeps/alpha/stxncpy.S index 8c5fcf6e67..f47348e3fc 100644 --- a/sysdeps/alpha/stxncpy.S +++ b/sysdeps/alpha/stxncpy.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1996 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Richard Henderson (rth@tamu.edu) This file is part of the GNU C Library. @@ -321,9 +321,9 @@ $unaligned: mskqh t2, t5, t2 # e0 : begin src byte validity mask cmpbge zero, t1, t7 # .. e1 : is there a zero? extql t2, a1, t2 # e0 : - or t7, t10, t6 # .. e1 : test for end-of-count too + or t7, t10, t5 # .. e1 : test for end-of-count too cmpbge zero, t2, t3 # e0 : - cmoveq a2, t6, t7 # .. e1 : + cmoveq a2, t5, t7 # .. e1 : andnot t7, t3, t7 # e0 : beq t7, $u_head # .. e1 (zdb) diff --git a/sysdeps/i386/fpu/__math.h b/sysdeps/i386/fpu/__math.h index 3728d45be6..86793babe5 100644 --- a/sysdeps/i386/fpu/__math.h +++ b/sysdeps/i386/fpu/__math.h @@ -1,5 +1,5 @@ /* Inline math functions for i387. - Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by John C. Bowman <bowman@ipp-garching.mpg.de>, 1995. @@ -373,13 +373,14 @@ ceil (double __x) /* Optimized versions for some non-standardized functions. */ #ifdef __USE_MISC -__MATH_INLINE double __hypot (double __x, double __y); +__MATH_INLINE double hypot (double __x, double __y); __MATH_INLINE double hypot (double __x, double __y) { return sqrt (__x * __x + __y * __y); } +__MATH_INLINE double log1p (double __x); __MATH_INLINE double log1p (double __x) { @@ -397,7 +398,7 @@ log1p (double __x) return __value; } -__MATH_INLINE double __asinh (double __x); +__MATH_INLINE double asinh (double __x); __MATH_INLINE double asinh (double __x) { @@ -407,14 +408,14 @@ asinh (double __x) * __sgn1 (__x)); } -__MATH_INLINE double __acosh (double __x); +__MATH_INLINE double acosh (double __x); __MATH_INLINE double acosh (double __x) { return log (__x + sqrt (__x - 1.0) * sqrt (__x + 1.0)); } -__MATH_INLINE double __atanh (double __x); +__MATH_INLINE double atanh (double __x); __MATH_INLINE double atanh (double __x) { @@ -423,7 +424,7 @@ atanh (double __x) return -0.5 * __log1p (-(__y + __y) / (1.0 + __y)) * __sgn1 (__x); } -__MATH_INLINE double __coshm1 (double __x); +__MATH_INLINE double coshm1 (double __x); __MATH_INLINE double coshm1 (double __x) { @@ -432,14 +433,14 @@ coshm1 (double __x) return 0.5 * (__exm1 / (__exm1 + 1.0)) * __exm1; } -__MATH_INLINE double __acosh1p (double __x); +__MATH_INLINE double acosh1p (double __x); __MATH_INLINE double acosh1p (double __x) { return __log1p (__x + sqrt (__x) * sqrt (__x + 2.0)); } -__MATH_INLINE double __logb (double __x); +__MATH_INLINE double logb (double __x); __MATH_INLINE double logb (double __x) { @@ -451,7 +452,7 @@ logb (double __x) return __value; } -__MATH_INLINE double __drem (double __x, double __y); +__MATH_INLINE double drem (double __x, double __y); __MATH_INLINE double drem (double __x, double __y) { @@ -466,7 +467,7 @@ drem (double __x, double __y) return __value; } -__MATH_INLINE void __sincos (double __x, double *__sinx, double *__cosx); +__MATH_INLINE void sincos (double __x, double *__sinx, double *__cosx); __MATH_INLINE void sincos (double __x, double *__sinx, double *__cosx) { @@ -479,14 +480,14 @@ sincos (double __x, double *__sinx, double *__cosx) *__cosx = __cosr; } -__MATH_INLINE double __sgn (double __x); +__MATH_INLINE double sgn (double __x); __MATH_INLINE double sgn (double __x) { return (__x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0)); } -__MATH_INLINE double __pow2 (double __x); +__MATH_INLINE double pow2 (double __x); __MATH_INLINE double pow2 (double __x) { diff --git a/sysdeps/unix/sysv/linux/statbuf.h b/sysdeps/unix/sysv/linux/statbuf.h index 3a3e9d07d5..39bbdc9ece 100644 --- a/sysdeps/unix/sysv/linux/statbuf.h +++ b/sysdeps/unix/sysv/linux/statbuf.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995, 1996, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -32,8 +32,8 @@ struct stat { - short int st_dev; /* Device. */ - unsigned short __pad1; + unsigned short int st_dev; /* Device. */ + unsigned short int __pad1; unsigned long int st_ino; /* File serial number. */ unsigned short int st_mode; /* File mode. */ unsigned short int st_nlink; /* Link count. */ |