Define __GI_fegetenv for e500 libm
diff mbox

Message ID 1409356865-20171-1-git-send-email-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Aug. 30, 2014, 12:01 a.m. UTC
generic HAVE_RM_CTX implementation which is used for ppc/e500 as well
has introduced calls to fegetenv which should be resolved internally
with in libm

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ChangeLog                                       | 5 +++++
 sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c | 1 +
 2 files changed, 6 insertions(+)

Comments

Joseph Myers Sept. 1, 2014, 4:43 p.m. UTC | #1
On Fri, 29 Aug 2014, Khem Raj wrote:

> generic HAVE_RM_CTX implementation which is used for ppc/e500 as well
> has introduced calls to fegetenv which should be resolved internally
> with in libm

OK.
Khem Raj Sept. 2, 2014, 8:44 p.m. UTC | #2
On Mon, Sep 1, 2014 at 9:43 AM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Fri, 29 Aug 2014, Khem Raj wrote:
>
>> generic HAVE_RM_CTX implementation which is used for ppc/e500 as well
>> has introduced calls to fegetenv which should be resolved internally
>> with in libm
>
> OK.

Could you are push it for me please. I do not have write access to glibc.
Joseph Myers Sept. 2, 2014, 9:40 p.m. UTC | #3
On Tue, 2 Sep 2014, Khem Raj wrote:

> On Mon, Sep 1, 2014 at 9:43 AM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> > On Fri, 29 Aug 2014, Khem Raj wrote:
> >
> >> generic HAVE_RM_CTX implementation which is used for ppc/e500 as well
> >> has introduced calls to fegetenv which should be resolved internally
> >> with in libm
> >
> > OK.
> 
> Could you are push it for me please. I do not have write access to glibc.

Done.

Patch
diff mbox

diff --git a/ChangeLog b/ChangeLog
index 6261ed4..629ea8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@ 
+2014-08-29  Khem Raj  <raj.khem@gmail.com>
+
+	* sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
+	libm_hidden_ver.
+
 2014-08-27  Allan McRae  <allan@archlinux.org>
 
 	* sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
diff --git a/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c b/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c
index 2ae06b8..5faabe8 100644
--- a/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c
+++ b/sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c
@@ -43,5 +43,6 @@  __fegetenv (fenv_t *envp)
 strong_alias (__fegetenv, __old_fegetenv)
 compat_symbol (libm, __old_fegetenv, fegetenv, GLIBC_2_1);
 #endif
+libm_hidden_ver (__fegetenv, fegetenv)
 
 versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2);