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 Fix some assembly botches.



details:   https://anonhg.NetBSD.org/src/rev/8d22fd1df73c
branches:  trunk
changeset: 543266:8d22fd1df73c
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 21 06:40:47 2003 +0000

description:
Fix some assembly botches.

diffstat:

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

diffs (35 lines):

diff -r d7376801b152 -r 8d22fd1df73c lib/libm/arch/vax/n_sincos.S
--- a/lib/libm/arch/vax/n_sincos.S      Fri Feb 21 04:08:54 2003 +0000
+++ b/lib/libm/arch/vax/n_sincos.S      Fri Feb 21 06:40:47 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: n_sincos.S,v 1.6 2002/07/14 19:55:24 matt Exp $        */
+/*     $NetBSD: n_sincos.S,v 1.7 2003/02/21 06:40:47 matt Exp $        */
 /*
  * Copyright (c) 1985, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -51,9 +51,9 @@
 #include <machine/asm.h>
 
 ENTRY(sinf, 0)
-       cvtfd   4(%ap),-(sp)
-       calls   $2,sin
-       cvtdf   r0,r0
+       cvtfd   4(%ap),-(%sp)
+       calls   $2,_C_LABEL(sin)
+       cvtdf   %r0,%r0
        ret
 
 ENTRY(sin, 0xfc0)
@@ -86,9 +86,9 @@
  */
 
 ENTRY(cosf, 0)
-       cvtfd   4(%ap),-(sp)
-       calls   $2,cos
-       cvtdf   r0,r0
+       cvtfd   4(%ap),-(%sp)
+       calls   $2,_C_LABEL(cos)
+       cvtdf   %r0,%r0
        ret
 
 ENTRY(cos, 0x0fc0)



Home | Main Index | Thread Index | Old Index