Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/src s_sincos.c: use __weak_alias and not __weak_ref...



details:   https://anonhg.NetBSD.org/src/rev/b4f48929b84f
branches:  trunk
changeset: 369713:b4f48929b84f
user:      he <he%NetBSD.org@localhost>
date:      Sun Aug 28 14:30:41 2022 +0000

description:
s_sincos.c: use __weak_alias and not __weak_reference.

Fixes build on NetBSD/macppc, thanks to hint from riastradh@

diffstat:

 lib/libm/src/s_sincos.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 8a94abe8c3f7 -r b4f48929b84f lib/libm/src/s_sincos.c
--- a/lib/libm/src/s_sincos.c   Sun Aug 28 14:29:05 2022 +0000
+++ b/lib/libm/src/s_sincos.c   Sun Aug 28 14:30:41 2022 +0000
@@ -14,7 +14,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_sincos.c,v 1.2 2022/08/28 07:29:04 christos Exp $");
+__RCSID("$NetBSD: s_sincos.c,v 1.3 2022/08/28 14:30:41 he Exp $");
 #endif
 #if 0
 __FBSDID("$FreeBSD: head/lib/msun/src/s_sincos.c 319047 2017-05-28 06:13:38Z mmel $");
@@ -86,5 +86,5 @@
 }
 
 #if !defined(__HAVE_LONG_DOUBLE)
-__weak_reference(sincos, sincosl);
+__weak_alias(sincos, sincosl);
 #endif



Home | Main Index | Thread Index | Old Index