From f2d9d9095cfd950a8f187cecb77d8b84d2f86da2 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 23 Oct 2011 16:40:33 +0200 Subject: [PATCH] m68k/cf: add __sqrt*_finite aliases --- ChangeLog.m68k | 3 +++ sysdeps/m68k/coldfire/fpu/e_sqrt.c | 3 ++- sysdeps/m68k/coldfire/fpu/e_sqrtf.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 69aa1ba85f..d7e03efd2c 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,5 +1,8 @@ 2011-10-23 Andreas Schwab + * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Add __sqrt_finite alias. + * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Add __sqrtf_finite alias. + * sysdeps/m68k/m680x0/fpu/e_exp.c (FUNC_FINITE): Define. * sysdeps/m68k/m680x0/fpu/e_expf.c (FUNC_FINITE): Define. * sysdeps/m68k/m680x0/fpu/e_expl.c (FUNC_FINITE): Define. diff --git a/sysdeps/m68k/coldfire/fpu/e_sqrt.c b/sysdeps/m68k/coldfire/fpu/e_sqrt.c index a160308bf2..b6c67e89a0 100644 --- a/sysdeps/m68k/coldfire/fpu/e_sqrt.c +++ b/sysdeps/m68k/coldfire/fpu/e_sqrt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2006 Free Software Foundation, Inc. +/* Copyright (C) 2006, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,3 +22,4 @@ __ieee754_sqrt (double x) asm ("fdsqrt.d %1,%0" : "=f" (x) : "fm" (x)); return x; } +strong_alias (__ieee754_sqrt, __sqrt_finite) diff --git a/sysdeps/m68k/coldfire/fpu/e_sqrtf.c b/sysdeps/m68k/coldfire/fpu/e_sqrtf.c index 7cfc0dd655..e0481b805d 100644 --- a/sysdeps/m68k/coldfire/fpu/e_sqrtf.c +++ b/sysdeps/m68k/coldfire/fpu/e_sqrtf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2006 Free Software Foundation, Inc. +/* Copyright (C) 2006, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -23,3 +23,4 @@ __ieee754_sqrtf (float x) asm ("fssqrt.s %1,%0" : "=f" (result) : "dm" (x)); return result; } +strong_alias (__ieee754_sqrtf, __sqrtf_finite)