From bd12ab55c05ec80f1fd0df0997b26526295bbac7 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 26 Nov 2013 07:25:08 -0600 Subject: PowerPC: Fix __fe_nomask_env missing symbol This patch fix the missing symbol __fe_nomask_env from commit 41e8926aa4b7f17bc95984737ee82a254ad0911c for GLIBC_2.1. --- sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c | 4 ++-- sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/unix') 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 5a94dc5f7b..49b73d20a0 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c @@ -26,7 +26,7 @@ #include const fenv_t * -__fe_nomask_env (void) +__fe_nomask_env_priv (void) { INTERNAL_SYSCALL_DECL (err); INTERNAL_SYSCALL (prctl, err, 2, PR_SET_FPEXC, PR_FP_EXC_PRECISE); @@ -34,5 +34,5 @@ __fe_nomask_env (void) return FE_ENABLED_ENV; } #if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_19) -compat_symbol (libm, __fe_nomask_env, __fe_nomask_env, GLIBC_2_1); +compat_symbol (libm, __fe_nomask_env_priv, __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 70661ad65f..8532518ec2 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c @@ -25,7 +25,7 @@ #include const fenv_t * -__fe_nomask_env (void) +__fe_nomask_env_priv (void) { #if defined PR_SET_FPEXC && defined PR_FP_EXC_PRECISE INTERNAL_SYSCALL_DECL (err); @@ -36,5 +36,5 @@ __fe_nomask_env (void) return FE_ENABLED_ENV; } #if SHLIB_COMPAT (libm, GLIBC_2_3, GLIBC_2_19) -compat_symbol (libm, __fe_nomask_env, __fe_nomask_env, GLIBC_2_3); +compat_symbol (libm, __fe_nomask_env_priv, __fe_nomask_env, GLIBC_2_3); #endif -- cgit v1.2.3