Module Name: src
Committed By: riastradh
Date: Tue May 7 15:49:33 UTC 2024
Modified Files:
src/lib/libm/arch/vax: n_atan2.S
Log Message:
libm/arch/vax: Expose atan2l.
PR port-vax/57881: vax libm is missing various symbols
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libm/arch/vax/n_atan2.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/arch/vax/n_atan2.S
diff -u src/lib/libm/arch/vax/n_atan2.S:1.10 src/lib/libm/arch/vax/n_atan2.S:1.11
--- src/lib/libm/arch/vax/n_atan2.S:1.10 Tue May 7 15:15:09 2024
+++ src/lib/libm/arch/vax/n_atan2.S Tue May 7 15:49:33 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: n_atan2.S,v 1.10 2024/05/07 15:15:09 riastradh Exp $ */
+/* $NetBSD: n_atan2.S,v 1.11 2024/05/07 15:49:33 riastradh Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -72,9 +72,7 @@
* atan2(y,x) returns the exact ARG(x+iy) nearly rounded.
*/
-#ifdef WEAK_ALIAS
WEAK_ALIAS(atan2f, _atan2f)
-#endif
ENTRY(_atan2f, 0)
cvtfd 4(%ap),-(%sp)
@@ -83,11 +81,10 @@ ENTRY(_atan2f, 0)
ret
END(_atan2f)
-#ifdef WEAK_ALIAS
WEAK_ALIAS(atan2, _atan2)
-WEAK_ALIAS(_atan2l, _atan2)
-#endif
+WEAK_ALIAS(atan2l, _atan2l)
+STRONG_ALIAS(_atan2l, _atan2)
ENTRY(_atan2, 0x0fc0)
movq 4(%ap),%r2 # %r2 = y
movq 12(%ap),%r4 # %r4 = x