]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2007-05-07 Richard Henderson <rth@redhat.com>
authorRichard Henderson <rth@redhat.com>
Mon, 7 May 2007 22:57:20 +0000 (22:57 +0000)
committerRichard Henderson <rth@redhat.com>
Mon, 7 May 2007 22:57:20 +0000 (22:57 +0000)
        * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
        if __NO_LONG_DOUBLE_MATH.
        * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
        available in the compiler, add .arch directive to ethe assembly.

2007-05-07  Jakub Jelinek  <jakub@redhat.com>

        * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
        compat_symbol to GLIBC_2_1.
        * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
        * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
        * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
        * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
        * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
        * sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
        * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
        libc, not libm.
        (__isnanl): New compat_symbol.
2007-05-07  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
if __NO_LONG_DOUBLE_MATH.
* sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
available in the compiler, add .arch directive to ethe assembly.

2007-05-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
compat_symbol to GLIBC_2_1.
* sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
* sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
* sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
* sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
* sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
* sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
* sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
libc, not libm.
(__isnanl): New compat_symbol.

    Peter Bergner  <bergner@us.ibm.com>
* elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.

ChangeLog
sysdeps/alpha/fpu/bits/mathinline.h
sysdeps/alpha/fpu/s_fmax.S
sysdeps/alpha/fpu/s_fmin.S
sysdeps/alpha/fpu/s_isnan.c
sysdeps/alpha/fpu/s_lrint.c
sysdeps/alpha/fpu/s_lround.c
sysdeps/alpha/fpu/s_nearbyint.c
sysdeps/alpha/fpu/s_round.c
sysdeps/alpha/fpu/s_trunc.c
sysdeps/unix/sysv/linux/alpha/ioperm.c

index 0902fe19ada9483314a5d19b1b6e13add5663021..cc745131838de710a2009f39e305e6a5afeb2b3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2007-05-07  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
+       if __NO_LONG_DOUBLE_MATH.
+       * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
+       available in the compiler, add .arch directive to ethe assembly.
+
+2007-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
+       compat_symbol to GLIBC_2_1.
+       * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
+       * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
+       * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
+       * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
+       * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
+       * sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
+       * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
+       libc, not libm.
+       (__isnanl): New compat_symbol.
+
 2007-05-07  Ulrich Drepper  <drepper@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>
 
@@ -8,7 +29,7 @@
        MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
 
 2007-04-30  Steven Munroe  <sjmunroe@us.ibm.com>
-            Peter Bergner  <bergner@us.ibm.com>
+           Peter Bergner  <bergner@us.ibm.com>
 
        * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern.
        Define FE_NOMASK_ENV as FE_EANBLED_ENV.  Define FE_MASK_ENV.
 
 2007-03-13  Richard Henderson  <rth@redhat.com>
 
-        * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
+       * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
        * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
        * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
        * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
index a126dcf056530d402b61044c02f56c32518a953b..250171eeb4d4059c0ffbdeb6b3fea1258ebb2776 100644 (file)
@@ -137,11 +137,14 @@ __NTH (__isnan (double __x))
   return isunordered (__x, __x);
 }
 
+#ifndef __NO_LONG_DOUBLE_MATH
 __MATH_INLINE int
 __NTH (__isnanl (long double __x))
 {
   return isunordered (__x, __x);
 }
+#endif
+
 #endif /* C99 */
 
 #endif /* __NO_MATH_INLINES */
index 4f2ace7d111f685bada4271fea8b7c8ddd9498bc..d638eec805ced1800f89e2f0d3f55308e6166a16 100644 (file)
@@ -53,6 +53,6 @@ weak_alias (__fmax, fmax)
 strong_alias (__fmax, __fmaxl)
 weak_alias (__fmaxl, fmaxl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __fmax, fmaxl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __fmax, fmaxl, GLIBC_2_1);
 #endif
index 10de52940ebe953a1ead85c918a95ad39edf9624..d70fab625afea6c6512e2aaff251af5508ee3b9c 100644 (file)
@@ -53,6 +53,6 @@ weak_alias (__fmin, fmin)
 strong_alias (__fmin, __fminl)
 weak_alias (__fminl, fminl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __fmin, fminl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __fmin, fminl, GLIBC_2_1);
 #endif
index 4403a50bb0bb60a6e794e1a143880be3516cd58f..a9230329c57dfec0e364254f90e3a18e7460ad57 100644 (file)
@@ -53,6 +53,7 @@ weak_alias (__isnanf, isnanf)
 strong_alias (__isnan, __isnanl)
 weak_alias (__isnan, isnanl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __isnan, isnanl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0)
+compat_symbol (libc, __isnan, __isnanl, GLIBC_2_0);
+compat_symbol (libc, isnan, isnanl, GLIBC_2_0);
 #endif
index 4c32f610930c41de58ddec504a80abe7a00fed5e..16964087055ea6fecc9635285ca6293ca29b89cd 100644 (file)
@@ -42,7 +42,7 @@ strong_alias (__lrint, __llrintl)
 weak_alias (__lrintl, lrintl)
 weak_alias (__llrintl, llrintl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __lrint, lrintl, GLIBC_2_0);
-compat_symbol (libm, __llrint, llrintl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __lrint, lrintl, GLIBC_2_1);
+compat_symbol (libm, __llrint, llrintl, GLIBC_2_1);
 #endif
index bc5cb88ed2f44627476a167b65c1120307b17829..0e0e98806c91da04522cf8507cd9a83302b2c477 100644 (file)
@@ -42,7 +42,7 @@ strong_alias (__lround, __llroundl)
 weak_alias (__lroundl, lroundl)
 weak_alias (__llroundl, llroundl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __lround, lroundl, GLIBC_2_0);
-compat_symbol (libm, __llround, llroundl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __lround, lroundl, GLIBC_2_1);
+compat_symbol (libm, __llround, llroundl, GLIBC_2_1);
 #endif
index 7a91bd115b6edcd3db5a17dc3fa0700133690afb..b18db8ba7947e5fddccbb3414e6f3f78ca86d401 100644 (file)
@@ -43,6 +43,6 @@ weak_alias (__nearbyint, nearbyint)
 strong_alias (__nearbyint, __nearbyintl)
 weak_alias (__nearbyint, nearbyintl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __nearbyint, nearbyintl, GLIBC_2_1);
 #endif
index 3999e6110a1c9a856bb24e771ceec873ff209957..71763cf4aba7b4d8259abadadb4321b5b11b64b8 100644 (file)
@@ -44,6 +44,6 @@ weak_alias (__round, round)
 strong_alias (__round, __roundl)
 weak_alias (__roundl, roundl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __round, roundl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __round, roundl, GLIBC_2_1);
 #endif
index 1c1a66673fdb5e46b3ecc725d44dbc0453c32033..11a279a53fcb399587923c86d71b822215a25d58 100644 (file)
@@ -48,6 +48,6 @@ weak_alias (__trunc, trunc)
 strong_alias (__trunc, __truncl)
 weak_alias (__trunc, truncl)
 #endif
-#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
-compat_symbol (libm, __trunc, truncl, GLIBC_2_0);
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
+compat_symbol (libm, __trunc, truncl, GLIBC_2_1);
 #endif
index 6c4115d1c8b494434f9a9500caa49ab3197e4cdb..32e96ec2f295db114722b34d8d5c3bc66643f87f 100644 (file)
    sparse address space would work (e.g., the Low Cost Alpha chip has an
    I/O address space that's 512MB large!).  */
 
+/* Make sure the ldbu/stb asms below are not expaneded to macros.  */
+#ifndef __alpha_bwx__
+asm(".arch ev56");
+#endif
+
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>