diff options
Diffstat (limited to 'lib/libm/arch')
-rw-r--r-- | lib/libm/arch/alpha/s_copysign.S | 6 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_atan2.S | 6 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_sincos.S | 10 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_sqrt.S | 6 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_support.S | 14 | ||||
-rw-r--r-- | lib/libm/arch/vax/n_tan.S | 6 |
6 files changed, 15 insertions, 33 deletions
diff --git a/lib/libm/arch/alpha/s_copysign.S b/lib/libm/arch/alpha/s_copysign.S index aebab3e3eb6..b6007fddc61 100644 --- a/lib/libm/arch/alpha/s_copysign.S +++ b/lib/libm/arch/alpha/s_copysign.S @@ -1,4 +1,4 @@ -/* $OpenBSD: s_copysign.S,v 1.3 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: s_copysign.S,v 1.4 2008/12/09 20:21:07 martynas Exp $ */ /* $NetBSD: s_copysign.S,v 1.4 1999/07/02 15:37:34 simonb Exp $ */ /*- @@ -32,9 +32,7 @@ #include <machine/asm.h> -.weak copysignl - copysignl = copysign - +WEAK_ALIAS(copysignl, copysign) LEAF(copysign, 2) cpys fa1, fa0, fv0 RET diff --git a/lib/libm/arch/vax/n_atan2.S b/lib/libm/arch/vax/n_atan2.S index 2cf39beeb90..55382f0bb07 100644 --- a/lib/libm/arch/vax/n_atan2.S +++ b/lib/libm/arch/vax/n_atan2.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_atan2.S,v 1.4 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: n_atan2.S,v 1.5 2008/12/09 20:21:07 martynas Exp $ */ /* $NetBSD: n_atan2.S,v 1.1 1995/10/10 23:40:25 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -73,9 +73,7 @@ * atan2(y,x) returns the exact ARG(x+iy) nearly rounded. */ -.weak atan2l - atan2l = atan2 - +WEAK_ALIAS(atan2l, atan2) ENTRY(atan2, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r2 # r2 = y movq 12(ap),r4 # r4 = x diff --git a/lib/libm/arch/vax/n_sincos.S b/lib/libm/arch/vax/n_sincos.S index e0487088765..ca65d4af784 100644 --- a/lib/libm/arch/vax/n_sincos.S +++ b/lib/libm/arch/vax/n_sincos.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_sincos.S,v 1.5 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: n_sincos.S,v 1.6 2008/12/09 20:21:07 martynas Exp $ */ /* $NetBSD: n_sincos.S,v 1.1 1995/10/10 23:40:28 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -48,9 +48,7 @@ * S. McDonald, April 4, 1985 */ -.weak sinl - sinl = sin - +WEAK_ALIAS(sinl, sin) ENTRY(sin, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r0 bicw3 $0x807f,r0,r2 @@ -80,9 +78,7 @@ ENTRY(sin, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) * S. McDonald, April 4, 1985 */ -.weak cosl - cosl = cos - +WEAK_ALIAS(cosl, cos) ENTRY(cos, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r0 bicw3 $0x7f,r0,r2 diff --git a/lib/libm/arch/vax/n_sqrt.S b/lib/libm/arch/vax/n_sqrt.S index a1fd2ba61fb..30c286ffcde 100644 --- a/lib/libm/arch/vax/n_sqrt.S +++ b/lib/libm/arch/vax/n_sqrt.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_sqrt.S,v 1.6 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: n_sqrt.S,v 1.7 2008/12/09 20:21:07 martynas Exp $ */ /* $NetBSD: n_sqrt.S,v 1.1 1995/10/10 23:40:29 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -45,9 +45,7 @@ * entry points: sqrt double arg is on the stack */ -.weak sqrtl - sqrtl = sqrt - +WEAK_ALIAS(sqrtl, sqrt) ENTRY(sqrt, R2|R3|R4|R5) movq 4(ap),r0 dsqrt2: bicw3 $0x807f,r0,r2 # check exponent of input diff --git a/lib/libm/arch/vax/n_support.S b/lib/libm/arch/vax/n_support.S index f2572586526..f060356a6a6 100644 --- a/lib/libm/arch/vax/n_support.S +++ b/lib/libm/arch/vax/n_support.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_support.S,v 1.14 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: n_support.S,v 1.15 2008/12/09 20:21:07 martynas Exp $ */ /* $NetBSD: n_support.S,v 1.1 1995/10/10 23:40:30 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -51,9 +51,7 @@ * copysign(double x, double y) */ -.weak copysignl - copysignl = copysign - +WEAK_ALIAS(copysignl, copysign) ENTRY(copysign, R2) movq 4(ap),r0 # load x into r0 bicw3 $0x807f,r0,r2 # mask off the exponent of x @@ -82,9 +80,7 @@ Fz: ret * logb(double x) */ -.weak logbl - logbl = logb - +WEAK_ALIAS(logbl, logb) ENTRY(logb, 0) bicl3 $0xffff807f,4(ap),r0 # mask off the exponent of x beql Ln @@ -119,9 +115,7 @@ Fn: movl 4(ap),r0 # r0:1 = x (zero or reserved op) * scalbn(double x, int N) */ -.weak scalbnl - scalbnl = scalbn - +WEAK_ALIAS(scalbnl, scalbn) ENTRY(scalbn, R2|R3) movq 4(ap),r0 bicl3 $0xffff807f,r0,r3 diff --git a/lib/libm/arch/vax/n_tan.S b/lib/libm/arch/vax/n_tan.S index 13ad1554429..a27ae77e6e5 100644 --- a/lib/libm/arch/vax/n_tan.S +++ b/lib/libm/arch/vax/n_tan.S @@ -1,4 +1,4 @@ -/* $OpenBSD: n_tan.S,v 1.5 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: n_tan.S,v 1.6 2008/12/09 20:21:07 martynas Exp $ */ /* $NetBSD: n_tan.S,v 1.1 1995/10/10 23:40:31 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -46,9 +46,7 @@ * S. McDonald, April 4, 1985 */ -.weak tanl - tanl = tan - +WEAK_ALIAS(tanl, tan) ENTRY(tan, R2|R3|R4|R5|R6|R7|R8|R9|R10|R11) movq 4(ap),r0 bicw3 $0x807f,r0,r2 |