glibc: Correctly create weak symbols.
This commit is contained in:
committed by
Stephan Aßmus
parent
f4c2f7ebdb
commit
4683fcc35c
@@ -207,5 +207,5 @@ __fedisableexcept(int mask)
|
|||||||
return (~omask);
|
return (~omask);
|
||||||
}
|
}
|
||||||
|
|
||||||
__weak_reference(__feenableexcept, feenableexcept);
|
int feenableexcept(int) __attribute__((weak, alias("__feenableexcept")));
|
||||||
__weak_reference(__fedisableexcept, fedisableexcept);
|
int fedisableexcept(int) __attribute__((weak, alias("__fedisableexcept")));
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
#include "math_private.h"
|
#include "math_private.h"
|
||||||
|
|
||||||
float
|
float
|
||||||
__dremf(x, y)
|
__dremf(float x, float y)
|
||||||
float x, y;
|
|
||||||
{
|
{
|
||||||
return __remainderf(x, y);
|
return __remainderf(x, y);
|
||||||
}
|
}
|
||||||
weak_alias (__dremf, dremf)
|
|
||||||
|
float dremf(float, float) __attribute__((weak, alias("__dremf")));
|
||||||
|
|||||||
Reference in New Issue
Block a user