This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ldbl-128ibm/s_copysignl.c should include <math_ldbl_opt.h>

Looks like we missed this one in the scramble to get long double in.
Seems all the arches we tested had an arch specific override for
copysign, but the soft-fp implementation does not. The result was a link
failure because the long_double_symbol macro was missing.

2006-06-01  Steven Munroe  <>

	[BZ #2749]
	* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include
	<math_ldbl_opt.h>.  Remove weak_alias.  Use long_double_symbol macro.

diff -urN libc24-cvstip-20060512/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c libc24/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c
--- libc24-cvstip-20060512/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c	2006-01-27 18:07:25.000000000 -0600
+++ libc24/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c	2006-05-25 16:47:16.000000000 -0500
@@ -25,6 +25,7 @@
 #include "math.h"
 #include "math_private.h"
+#include <math_ldbl_opt.h>
 #ifdef __STDC__
 	long double __copysignl(long double x, long double y)
@@ -42,4 +43,9 @@
     x = -x;
   return x;
-weak_alias (__copysignl, copysignl)
+#ifdef IS_IN_libm
+long_double_symbol (libm, __copysignl, copysignl);
+long_double_symbol (libc, __copysignl, copysignl);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]