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>
This commit is contained in:
Adhemerval Zanella 2024-05-22 11:49:10 -03:00
parent 5fededd825
commit d8ebde14fb
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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>