From 7ab44563a9c8118ce47da29919540c793f549774 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 13 Nov 2013 12:58:56 -0600 Subject: [PATCH] PowerPC: Fix __fe_mask_env export Change SHLIB_COMPAT calls to GLIBC_2_19 for __fe_nomask_env symbol. --- ChangeLog | 7 +++++++ sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c | 2 +- sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7b3418db7..e9089c71e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-11-13 Adhemerval Zanella + + * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c + (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c + (__fe_nomask_env): Likewise. + 2013-11-13 Steve Ellcey * benchtests/bench-timing.h: Include time.h. diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c index dd3ec46b56..5a94dc5f7b 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c @@ -33,6 +33,6 @@ __fe_nomask_env (void) return FE_ENABLED_ENV; } -#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_18) +#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_19) compat_symbol (libm, __fe_nomask_env, __fe_nomask_env, GLIBC_2_1); #endif diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c index 5172f6587e..70661ad65f 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c @@ -35,6 +35,6 @@ __fe_nomask_env (void) #endif return FE_ENABLED_ENV; } -#if SHLIB_COMPAT (libm, GLIBC_2_3, GLIBC_2_18) +#if SHLIB_COMPAT (libm, GLIBC_2_3, GLIBC_2_19) compat_symbol (libm, __fe_nomask_env, __fe_nomask_env, GLIBC_2_3); #endif