diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-05-22 11:49:10 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-05-23 09:36:08 -0300 |
commit | d8ebde14fbf713ef1d91e4250ad8aa97c7df8128 (patch) | |
tree | 7476a8ebd91b9ec4f1c3236f5a60a3a84247f886 /sysdeps/powerpc | |
parent | 5fededd8251b9f5ccd7f893123417205447b95f1 (diff) | |
download | glibc-d8ebde14fbf713ef1d91e4250ad8aa97c7df8128.zip glibc-d8ebde14fbf713ef1d91e4250ad8aa97c7df8128.tar.gz glibc-d8ebde14fbf713ef1d91e4250ad8aa97c7df8128.tar.bz2 |
powerpc: Remove duplicated llrintf and llrintf32 from libm.a (BZ 31787)
Both the generic and POWER6 versions provide definitions of the
symbol, which are already provided by the ifunc resolver.
Checked on powerpc-linux-gnu-power4.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c | 4 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c index 5b1a5a8..3c279dd 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c @@ -1,2 +1,6 @@ +#include <libm-alias-float.h> + #define __llrintf __llrintf_power6 +#undef libm_alias_float +#define libm_alias_float(a, b) #include <sysdeps/powerpc/powerpc32/fpu/s_llrintf.c> diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c index 061962b..bce8f45 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c @@ -1,2 +1,6 @@ +#include <libm-alias-float.h> + #define __llrintf __llrintf_ppc32 +#undef libm_alias_float +#define libm_alias_float(a, b) #include <sysdeps/powerpc/powerpc32/fpu/s_llrintf.c> |