libc/softfloat: we don't export _fp[gs]et* symbols

Remove attempts to use NetBSD __weak_alias macros to export _-prefixed
versions of various fp[sg]et* symbols under softfloat.  __weak_alias
isn't defined so we didn't export them and thus the Symbol.map entries
were wrong.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D44327
This commit is contained in:
Brooks Davis 2024-03-13 20:34:46 +00:00
parent f980f48f13
commit bf8a3a816d
9 changed files with 0 additions and 37 deletions

View file

@ -28,10 +28,6 @@
#include <sys/types.h>
#include <ieeefp.h>
#ifdef __weak_alias
__weak_alias(fpgetmask,_fpgetmask)
#endif
#define FP_X_MASK (FP_X_INV | FP_X_DZ | FP_X_OFL | FP_X_UFL | FP_X_IMP)
fp_except_t

View file

@ -28,10 +28,6 @@
#include <sys/types.h>
#include <ieeefp.h>
#ifdef __weak_alias
__weak_alias(fpgetsticky,_fpgetsticky)
#endif
#define FP_X_MASK (FP_X_INV | FP_X_DZ | FP_X_OFL | FP_X_UFL | FP_X_IMP)
fp_except

View file

@ -20,7 +20,6 @@ FBSD_1.3 {
};
FBSDprivate_1.0 {
_fpgetsticky;
__longjmp;
signalcontext;
__signalcontext;

View file

@ -38,10 +38,6 @@
#include <ieeefp.h>
#ifndef _SOFT_FLOAT
#ifdef __weak_alias
__weak_alias(fpgetsticky,_fpgetsticky)
#endif
fp_except_t
fpgetsticky()
{

View file

@ -38,10 +38,6 @@
#include <ieeefp.h>
#ifndef _SOFT_FLOAT
#ifdef __weak_alias
__weak_alias(fpgetsticky,_fpgetsticky)
#endif
fp_except_t
fpgetsticky()
{

View file

@ -37,10 +37,6 @@
#include <ieeefp.h>
#ifndef _SOFT_FLOAT
#ifdef __weak_alias
__weak_alias(fpgetsticky,_fpgetsticky)
#endif
fp_except_t
fpgetsticky()
{

View file

@ -1,15 +1,9 @@
FBSD_1.0 {
_fpgetmask;
fpgetmask;
_fpgetround;
fpgetround;
_fpgetsticky;
fpgetsticky;
_fpsetmask;
fpsetmask;
_fpsetround;
fpsetround;
_fpsetsticky;
fpsetsticky;
};

View file

@ -40,13 +40,8 @@
#include "milieu.h"
#include "softfloat.h"
#ifdef __weak_alias
__weak_alias(fpgetmask,_fpgetmask)
#endif
fp_except
fpgetmask(void)
{
return float_exception_mask;
}

View file

@ -40,13 +40,8 @@
#include "milieu.h"
#include "softfloat.h"
#ifdef __weak_alias
__weak_alias(fpgetsticky,_fpgetsticky)
#endif
fp_except
fpgetsticky(void)
{
return float_exception_flags;
}