Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/arch/arm Complete the namespace dance



details:   https://anonhg.NetBSD.org/src/rev/d173a08fcd78
branches:  trunk
changeset: 353471:d173a08fcd78
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 08 09:25:03 2017 +0000

description:
Complete the namespace dance

diffstat:

 lib/libm/arch/arm/fenv.c |  19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 3b8481e1f68e -r d173a08fcd78 lib/libm/arch/arm/fenv.c
--- a/lib/libm/arch/arm/fenv.c  Mon May 08 08:21:56 2017 +0000
+++ b/lib/libm/arch/arm/fenv.c  Mon May 08 09:25:03 2017 +0000
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: fenv.c,v 1.8 2017/05/08 08:21:56 martin Exp $");
+__RCSID("$NetBSD: fenv.c,v 1.9 2017/05/08 09:25:03 martin Exp $");
 
 #include "namespace.h"
 
@@ -43,6 +43,23 @@
 #error This fenv implementation is only for hardfloat.
 #endif
 
+#ifdef __weak_alias
+__weak_alias(feclearexcept,_feclearexcept)
+__weak_alias(fedisableexcept,_fedisableexcept)
+__weak_alias(feenableexcept,_feenableexcept)
+__weak_alias(fegetenv,_fegetenv)
+__weak_alias(fegetexcept,_fegetexcept)
+__weak_alias(fegetexceptflag,_fegetexceptflag)
+__weak_alias(fegetround,_fegetround)
+__weak_alias(feholdexcept,_feholdexcept)
+__weak_alias(feraiseexcept,_feraiseexcept)
+__weak_alias(fesetenv,_fesetenv)
+__weak_alias(fesetexceptflag,_fesetexceptflag)
+__weak_alias(fesetround,_fesetround)
+__weak_alias(fetestexcept,_fetestexcept)
+__weak_alias(feupdateenv,_feupdateenv)
+#endif
+
 #include <arm/armreg.h>
 #include <arm/vfpreg.h>
 



Home | Main Index | Thread Index | Old Index