OSDN Git Service

2001-08-29 Joel Sherrill <joel@OARcorp.com>
authorjjohnstn <jjohnstn>
Wed, 29 Aug 2001 20:09:31 +0000 (20:09 +0000)
committerjjohnstn <jjohnstn>
Wed, 29 Aug 2001 20:09:31 +0000 (20:09 +0000)
        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.

2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
        Add conditional compilation to avoid HW FPU instructions
        when compiled for soft-float.

18 files changed:
newlib/ChangeLog
newlib/libc/include/sys/unistd.h
newlib/libc/machine/i386/f_atan2.S
newlib/libc/machine/i386/f_atan2f.S
newlib/libc/machine/i386/f_exp.c
newlib/libc/machine/i386/f_expf.c
newlib/libc/machine/i386/f_frexp.S
newlib/libc/machine/i386/f_frexpf.S
newlib/libc/machine/i386/f_ldexp.S
newlib/libc/machine/i386/f_ldexpf.S
newlib/libc/machine/i386/f_log.S
newlib/libc/machine/i386/f_log10.S
newlib/libc/machine/i386/f_log10f.S
newlib/libc/machine/i386/f_logf.S
newlib/libc/machine/i386/f_pow.c
newlib/libc/machine/i386/f_powf.c
newlib/libc/machine/i386/f_tan.S
newlib/libc/machine/i386/f_tanf.S

index e136405..c92ac3d 100644 (file)
@@ -1,3 +1,20 @@
+2001-08-29  Joel Sherrill <joel@OARcorp.com>
+
+       * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
+
+2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+       * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
+         libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
+         libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
+         libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
+         libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
+         libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
+         libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
+         libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
+       Add conditional compilation to avoid HW FPU instructions
+       when compiled for soft-float.
+
 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
 
        * Makefile.am: Add check for ln failing when creating libg.a
index efd8ebb..0d4af5c 100644 (file)
@@ -21,7 +21,7 @@ unsigned  _EXFUN(alarm, (unsigned __secs ));
 int     _EXFUN(chdir, (const char *__path ));
 int     _EXFUN(chmod, (const char *__path, mode_t __mode ));
 int     _EXFUN(chown, (const char *__path, uid_t __owner, gid_t __group ));
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(__rtems__)
 int     _EXFUN(chroot, (const char *__path ));
 #endif
 int     _EXFUN(close, (int __fildes ));
index 51ac981..5b44a49 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /* 
 Fast version of atan2 using Intel float instructions.
 
@@ -31,3 +33,5 @@ SYM (_f_atan2):
 
        leave
        ret
+
+#endif
index 092fec4..babd7ff 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of atan2f using Intel float instructions.
 
@@ -31,3 +33,5 @@ SYM (_f_atan2f):
 
        leave
        ret
+
+#endif
index a7fb055..a348cbe 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of exp using Intel float instructions.
 
@@ -42,4 +44,4 @@ double _f_exp (double x)
    return x;
 }
 
-
+#endif
index 4387727..6b86e89 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of exp using Intel float instructions.
 
@@ -42,4 +44,4 @@ float _f_expf (float x)
    return x;
 }
 
-
+#endif
index 58397b7..0aabb20 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of frexp using Intel float instructions.
 
@@ -42,3 +44,5 @@ SYM (_f_frexp):
 
        leave
        ret
+
+#endif
index 13d5a82..7b37361 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of frexpf using Intel float instructions.
 
@@ -42,3 +44,5 @@ SYM (_f_frexpf):
 
        leave
        ret
+
+#endif
index af6b058..8699254 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of ldexp using Intel float instructions.
 
@@ -32,3 +34,5 @@ SYM (_f_ldexp):
 
        leave
        ret
+
+#endif
index cded4cd..6fcf045 100644 (file)
@@ -8,6 +8,8 @@
  * ==================================================== 
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of ldexpf using Intel float instructions.
 
@@ -32,3 +34,5 @@ SYM (_f_ldexpf):
 
        leave
        ret
+
+#endif
index e0eb7e0..79df23e 100644 (file)
@@ -8,6 +8,8 @@
  * ==================================================== 
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of log using Intel float instructions.
 
@@ -34,3 +36,5 @@ SYM (_f_log):
 
        leave
        ret
+
+#endif
index eed997f..440647e 100644 (file)
@@ -8,6 +8,8 @@
  * ==================================================== 
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of log10 using Intel float instructions.
 
@@ -34,3 +36,5 @@ SYM (_f_log10):
 
        leave
        ret
+
+#endif
index 5f781e3..32a8e76 100644 (file)
@@ -8,6 +8,8 @@
  * ==================================================== 
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of logf using Intel float instructions.
 
@@ -34,3 +36,5 @@ SYM (_f_log10f):
 
        leave
        ret
+
+#endif
index 3620c05..614ca3a 100644 (file)
@@ -8,6 +8,8 @@
  * ==================================================== 
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of logf using Intel float instructions.
 
@@ -34,3 +36,5 @@ SYM (_f_logf):
 
        leave
        ret
+
+#endif
index ac7dcfe..fca40c7 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of pow using Intel float instructions.
 
@@ -42,3 +44,4 @@ double _f_pow (double x, double y)
     return pow (x,y);
 }
 
+#endif
index 501b6b1..2daa5b0 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of pow using Intel float instructions.
 
@@ -42,3 +44,4 @@ float _f_powf (float x, float y)
     return powf (x,y);
 }
 
+#endif
index ae0431f..7b13c4e 100644 (file)
@@ -8,6 +8,8 @@
  * ==================================================== 
  */             
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of tan using Intel float instructions.
 
@@ -31,3 +33,5 @@ SYM (_f_tan):
 
        leave
        ret
+
+#endif
index 23ba737..3d0b903 100644 (file)
@@ -8,6 +8,8 @@
  * ====================================================
  */                     
 
+#if !defined(_SOFT_FLOAT)
+
 /*
 Fast version of tanf using Intel float instructions.
 
@@ -31,3 +33,5 @@ SYM (_f_tanf):
 
        leave
        ret
+
+#endif