glibc: Correctly create weak symbols.

This commit is contained in:
Jonathan Schleifer 2014-01-10 21:06:39 +01:00 committed by Stephan Aßmus
parent f4c2f7ebdb
commit 4683fcc35c
2 changed files with 5 additions and 5 deletions

View File

@ -207,5 +207,5 @@ __fedisableexcept(int mask)
return (~omask);
}
__weak_reference(__feenableexcept, feenableexcept);
__weak_reference(__fedisableexcept, fedisableexcept);
int feenableexcept(int) __attribute__((weak, alias("__feenableexcept")));
int fedisableexcept(int) __attribute__((weak, alias("__fedisableexcept")));

View File

@ -9,9 +9,9 @@
#include "math_private.h"
float
__dremf(x, y)
float x, y;
__dremf(float x, float y)
{
return __remainderf(x, y);
}
weak_alias (__dremf, dremf)
float dremf(float, float) __attribute__((weak, alias("__dremf")));