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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -20,7 +20,6 @@ FBSD_1.3 {
|
||||
};
|
||||
|
||||
FBSDprivate_1.0 {
|
||||
_fpgetsticky;
|
||||
__longjmp;
|
||||
signalcontext;
|
||||
__signalcontext;
|
||||
|
||||
@@ -38,10 +38,6 @@
|
||||
#include <ieeefp.h>
|
||||
|
||||
#ifndef _SOFT_FLOAT
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(fpgetsticky,_fpgetsticky)
|
||||
#endif
|
||||
|
||||
fp_except_t
|
||||
fpgetsticky()
|
||||
{
|
||||
|
||||
@@ -38,10 +38,6 @@
|
||||
#include <ieeefp.h>
|
||||
|
||||
#ifndef _SOFT_FLOAT
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(fpgetsticky,_fpgetsticky)
|
||||
#endif
|
||||
|
||||
fp_except_t
|
||||
fpgetsticky()
|
||||
{
|
||||
|
||||
@@ -37,10 +37,6 @@
|
||||
#include <ieeefp.h>
|
||||
|
||||
#ifndef _SOFT_FLOAT
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(fpgetsticky,_fpgetsticky)
|
||||
#endif
|
||||
|
||||
fp_except_t
|
||||
fpgetsticky()
|
||||
{
|
||||
|
||||
@@ -1,15 +1,9 @@
|
||||
FBSD_1.0 {
|
||||
_fpgetmask;
|
||||
fpgetmask;
|
||||
_fpgetround;
|
||||
fpgetround;
|
||||
_fpgetsticky;
|
||||
fpgetsticky;
|
||||
_fpsetmask;
|
||||
fpsetmask;
|
||||
_fpsetround;
|
||||
fpsetround;
|
||||
_fpsetsticky;
|
||||
fpsetsticky;
|
||||
};
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user