patches/glibc/ports-2.13/470-alpha-feupdateenv.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Mar 11 22:11:43 2014 +0100 (2014-03-11)
changeset 3293 e11a8a2e225d
permissions -rw-r--r--
comptools: do not force build of make-3.81 unless really needed

On systems with make-3.82, we forcibly force the build and the use
of make-3.81

But some newer tools break when building with make-3.81. For example,
eglibc-3.18 breaks.

Introduce a new blind options that tools may select if they require
make-3.81. If the system does not have make-3.81, and this option is
selected, then we force the build of make-3.81. Otherwise, we leave
it to the user to decide on his own.

Note that no component selects this option for now. It will come in
later patches as we find them.

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