Module Name: src
Committed By: riastradh
Date: Wed May 8 01:04:24 UTC 2024
Modified Files:
src/lib/libm: m.vax.expsym
src/lib/libm/arch/vax: n_support.S
Log Message:
libm/arch/vax: Do the weak alias dance for finite, finitef.
These are used internally.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libm/m.vax.expsym
cvs rdiff -u -r1.11 -r1.12 src/lib/libm/arch/vax/n_support.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/m.vax.expsym
diff -u src/lib/libm/m.vax.expsym:1.1 src/lib/libm/m.vax.expsym:1.2
--- src/lib/libm/m.vax.expsym:1.1 Tue May 7 20:58:33 2024
+++ src/lib/libm/m.vax.expsym Wed May 8 01:04:24 2024
@@ -42,6 +42,8 @@ _exp
_expf
_expl
_fini
+_finite
+_finitef
_hypot
_hypotf
_hypotl
Index: src/lib/libm/arch/vax/n_support.S
diff -u src/lib/libm/arch/vax/n_support.S:1.11 src/lib/libm/arch/vax/n_support.S:1.12
--- src/lib/libm/arch/vax/n_support.S:1.11 Tue May 7 15:15:10 2024
+++ src/lib/libm/arch/vax/n_support.S Wed May 8 01:04:24 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: n_support.S,v 1.11 2024/05/07 15:15:10 riastradh Exp $ */
+/* $NetBSD: n_support.S,v 1.12 2024/05/08 01:04:24 riastradh Exp $ */
/*
* Copyright (c) 1985, 1993
* The Regents of the University of California. All rights reserved.
@@ -103,10 +103,11 @@ END(logb)
* long finite(double x);
*/
#ifndef __GFLOAT__
- .globl finitef
-finitef = finite
+WEAK_ALIAS(finitef, _finitef)
+STRONG_ALIAS(_finitef, _finite)
#endif
-ENTRY(finite, 0)
+WEAK_ALIAS(finite, _finite)
+ENTRY(_finite, 0)
bicw3 $0x7f,4(%ap),%r0 # mask off the mantissa
cmpw %r0,$0x8000 # to see if x is the reserved op
beql 1f # if so, return FALSE (0)
@@ -114,7 +115,7 @@ ENTRY(finite, 0)
ret
1: clrl %r0
ret
-END(finite)
+END(_finite)
/* int isnan(double x);
*/