mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-29 05:51:10 +00: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
@ -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…
Reference in New Issue
Block a user