fix some fallout from 32-bit fixes for long double functions.
apply namespace.h to remqou*. add missing weak aliases for some of them, and normalise checkf for __weak_alias(). now libm.so seems to only have libc undefined symbols.
This commit is contained in:
parent
3bb75881f8
commit
4629208b15
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: namespace.h,v 1.18 2024/01/21 18:53:18 christos Exp $ */
|
||||
/* $NetBSD: namespace.h,v 1.19 2024/02/24 19:32:09 mrg Exp $ */
|
||||
|
||||
#define atan2 _atan2
|
||||
#define atan2f _atan2f
|
||||
|
@ -37,6 +37,10 @@
|
|||
#define asinf _asinf
|
||||
#define asinl _asinl
|
||||
|
||||
#define remquo _remquo
|
||||
#define remquof _remquof
|
||||
#define remquol _remquol
|
||||
|
||||
#define casin _casin
|
||||
#define casinf _casinf
|
||||
#define casinl _casinl
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(atanl, _atanl)
|
||||
#endif
|
||||
|
||||
#ifdef __HAVE_LONG_DOUBLE
|
||||
|
||||
|
|
|
@ -12,11 +12,17 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include "namespace.h"
|
||||
|
||||
#include <float.h>
|
||||
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(remquo, _remquo)
|
||||
#endif
|
||||
|
||||
static const double Zero[] = {0.0, -0.0,};
|
||||
|
||||
/*
|
||||
|
|
|
@ -12,9 +12,15 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include "namespace.h"
|
||||
|
||||
#include "math.h"
|
||||
#include "math_private.h"
|
||||
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(remquof, _remquof)
|
||||
#endif
|
||||
|
||||
static const float Zero[] = {0.0, -0.0,};
|
||||
|
||||
/*
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include "namespace.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <machine/ieee.h>
|
||||
#include <stdint.h>
|
||||
|
|
Loading…
Reference in New Issue