patches/glibc/ports-2.13/470-alpha-feupdateenv.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jul 31 22:27:29 2012 +0200 (2012-07-31)
changeset 3018 7776e8369284
permissions -rw-r--r--
complibs/cloog: create missing m4 dir

Because we now patch configure.in and configure, the Makefile quicks
in a re-build rule as the source files are now more recent than the
bundled generated files, and that fails because the m4 directory
is missing, although on some systems where aclocal is not installed,
the re-build rule does nothing (except a warning).

Always create tht directory.

Reported-by: Per Arnold Blaasmo <per-arnold.blaasmo@atmel.com>
[Also thanks to Thomas De Schampheleire <patrickdepinguin@gmail.com>
for some digging works on this issue]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@2438
     1
2011-03-01  Aurelien Jarno  <aurelien@aurel32.net>
yann@2438
     2
yann@2438
     3
	* sysdeps/alpha/fpu/feupdateenv.c (feupdateenv): Add
yann@2438
     4
	libm_hidden_def.
yann@2438
     5
	* sysdeps/alpha/fpu/ftestexcept.c (fetestexcept): Likewise.
yann@2438
     6
yann@2438
     7
diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
yann@2438
     8
index c798070..9abbf11 100644
yann@2438
     9
--- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
yann@2438
    10
+++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
yann@2438
    11
@@ -46,4 +46,5 @@ strong_alias (__feupdateenv, __old_feupdateenv)
yann@2438
    12
 compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1);
yann@2438
    13
 #endif
yann@2438
    14
 
yann@2438
    15
+libm_hidden_ver (__feupdateenv, feupdateenv)
yann@2438
    16
 versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2);
yann@2438
    17
diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
yann@2438
    18
index a4b3081..34d8113 100644
yann@2438
    19
--- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
yann@2438
    20
+++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
yann@2438
    21
@@ -30,3 +30,4 @@ fetestexcept (int excepts)
yann@2438
    22
 
yann@2438
    23
   return tmp & excepts & SWCR_STATUS_MASK;
yann@2438
    24
 }
yann@2438
    25
+libm_hidden_def (fetestexcept)
yann@2438
    26