Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/arch/vax More aliases



details:   https://anonhg.NetBSD.org/src/rev/4a1d442c14d9
branches:  trunk
changeset: 803006:4a1d442c14d9
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 10 22:06:33 2014 +0000

description:
More aliases

diffstat:

 lib/libm/arch/vax/n_sincos.S |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r b9c8c6a041d4 -r 4a1d442c14d9 lib/libm/arch/vax/n_sincos.S
--- a/lib/libm/arch/vax/n_sincos.S      Fri Oct 10 20:58:09 2014 +0000
+++ b/lib/libm/arch/vax/n_sincos.S      Fri Oct 10 22:06:33 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: n_sincos.S,v 1.8 2003/08/07 16:44:45 agc Exp $ */
+/*     $NetBSD: n_sincos.S,v 1.9 2014/10/10 22:06:33 martin Exp $      */
 /*
  * Copyright (c) 1985, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -52,6 +52,10 @@
        cvtdf   %r0,%r0
        ret
 
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(_sinl, sin)
+#endif
+
 ENTRY(sin, 0xfc0)
        movq    4(%ap),%r0
        bicw3   $0x807f,%r0,%r2
@@ -87,6 +91,10 @@
        cvtdf   %r0,%r0
        ret
 
+#ifdef WEAK_ALIAS
+WEAK_ALIAS(_cosl, cos)
+#endif
+
 ENTRY(cos, 0x0fc0)
        movq    4(%ap),%r0
        bicw3   $0x7f,%r0,%r2



Home | Main Index | Thread Index | Old Index