patches/glibc/ports-2.13/470-alpha-feupdateenv.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 05 00:01:05 2013 +0200 (2013-05-05)
changeset 3218 3709e61ad85b
permissions -rw-r--r--
complibs/cloog: add support for the ISL backend

CLooG 0.18+ will use ISL instead of PPL, so we have to configure
adequately depending of which backend is in use.

The Kconfig entries will decide for us which is selected, so we
can rely on either PPL xor ISL to be selected, not both.

Reported-by: "Plotnikov Dmitry" <leitz@ispras.ru>
[Dmitry did a preliminray patch to add ISL support,
which this patch is inspired from]
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