From ff84a0e0507d797011ba28842ab1e5dd0d430eb1 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 1 Dec 2017 01:12:42 +0000 Subject: Use libm_alias_float for e500. Continuing the preparation for additional _FloatN / _FloatNx function aliases, this patch makes an e500 libm function implementation use libm_alias_float to define function aliases. Tested with build-many-glibcs.py that installed stripped shared libraries are unchanged for its e500 configurations. * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include . (fabsf): Define using libm_alias_float. --- sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps/powerpc/powerpc32') diff --git a/sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S b/sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S index 9d00b62923..e40b3d556f 100644 --- a/sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S +++ b/sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S @@ -17,6 +17,7 @@ . */ #include +#include ENTRY (__fabsf) /* float [r3] fabsf (float [r3] x) ; */ @@ -24,4 +25,4 @@ ENTRY (__fabsf) blr END (__fabsf) -weak_alias (__fabsf, fabsf) +libm_alias_float (__fabs, fabs) -- cgit 1.4.1