mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
nearbyint: Don't define alias when used in IFUNC [BZ #31759]
Fix BZ #31759 by not defining nearbyint aliases when used in IFUNC. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
This commit is contained in:
parent
2be3352f0b
commit
4e21cb95e2
2 changed files with 4 additions and 0 deletions
|
@ -72,4 +72,6 @@ __nearbyint (double x)
|
|||
return t;
|
||||
#endif /* ! USE_NEARBYINT_BUILTIN */
|
||||
}
|
||||
#ifndef __nearbyint
|
||||
libm_alias_double (__nearbyint, nearbyint)
|
||||
#endif
|
||||
|
|
|
@ -68,4 +68,6 @@ __nearbyintf (float x)
|
|||
return t;
|
||||
#endif /* ! USE_NEARBYINT_BUILTIN */
|
||||
}
|
||||
#ifndef __nearbyintf
|
||||
libm_alias_float (__nearbyint, nearbyint)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue