diff --git a/ChangeLog.tile b/ChangeLog.tile index 52b38b4a7d..0befa86af0 100644 --- a/ChangeLog.tile +++ b/ChangeLog.tile @@ -1,5 +1,12 @@ 2012-05-17 Chris Metcalf + * sysdeps/tile/fegetenv.c: Version fegetenv() like fesetenv(). + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist: + Add fegetenv. + * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist: + Likewise. + * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Likewise. + * sysdeps/tile/stackguard-macros.h: Support tilegx32. * data/c++-types-tilepro-linux-gnu.data: Renamed from diff --git a/sysdeps/tile/fegetenv.c b/sysdeps/tile/fegetenv.c index 55e30981f0..f9ccc206dd 100644 --- a/sysdeps/tile/fegetenv.c +++ b/sysdeps/tile/fegetenv.c @@ -17,6 +17,7 @@ . */ #include +#include int __fegetenv (fenv_t *envp) @@ -25,3 +26,4 @@ __fegetenv (fenv_t *envp) return 0; } libm_hidden_ver (__fegetenv, fegetenv) +versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2); diff --git a/sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist b/sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist index ab2a40f202..601b505ead 100644 --- a/sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist +++ b/sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist @@ -145,6 +145,7 @@ GLIBC_2.12 feclearexcept F fedisableexcept F feenableexcept F + fegetenv F fegetexcept F fegetexceptflag F fegetround F diff --git a/sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist b/sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist index ab2a40f202..601b505ead 100644 --- a/sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist +++ b/sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist @@ -145,6 +145,7 @@ GLIBC_2.12 feclearexcept F fedisableexcept F feenableexcept F + fegetenv F fegetexcept F fegetexceptflag F fegetround F diff --git a/sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist b/sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist index ab2a40f202..601b505ead 100644 --- a/sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist +++ b/sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist @@ -145,6 +145,7 @@ GLIBC_2.12 feclearexcept F fedisableexcept F feenableexcept F + fegetenv F fegetexcept F fegetexceptflag F fegetround F