summaryrefslogtreecommitdiff
path: root/sys/gnu/arch/i386/fpemul/reg_u_mul.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/arch/i386/fpemul/reg_u_mul.s')
-rw-r--r--sys/gnu/arch/i386/fpemul/reg_u_mul.s18
1 files changed, 13 insertions, 5 deletions
diff --git a/sys/gnu/arch/i386/fpemul/reg_u_mul.s b/sys/gnu/arch/i386/fpemul/reg_u_mul.s
index e7aba6185a4..0b53d9dd663 100644
--- a/sys/gnu/arch/i386/fpemul/reg_u_mul.s
+++ b/sys/gnu/arch/i386/fpemul/reg_u_mul.s
@@ -1,5 +1,5 @@
.file "reg_u_mul.S"
-/* $OpenBSD: reg_u_mul.s,v 1.1 1996/08/27 10:33:02 downsj Exp $ */
+/* $OpenBSD: reg_u_mul.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */
/*
* reg_u_mul.S
*
@@ -80,7 +80,11 @@
.data
+#ifdef __ELF__
+ .align 4,0
+#else
.align 2,0
+#endif
accum_0:
.long 0
accum_1:
@@ -88,10 +92,14 @@ accum_1:
.text
+#ifdef __ELF__
+ .align 4,144
+#else
.align 2,144
+#endif
-.globl _reg_u_mul
-_reg_u_mul:
+.globl _C_LABEL(reg_u_mul)
+_C_LABEL(reg_u_mul):
pushl %ebp
movl %esp,%ebp
pushl %esi
@@ -113,7 +121,7 @@ _reg_u_mul:
cmpl EXP_UNDER,%eax
jg xOp1_not_denorm
- call _denormal_operand
+ call _C_LABEL(denormal_operand)
orl %eax,%eax
jnz FPU_Arith_exit
@@ -122,7 +130,7 @@ xOp1_not_denorm:
cmpl EXP_UNDER,%eax
jg xOp2_not_denorm
- call _denormal_operand
+ call _C_LABEL(denormal_operand)
orl %eax,%eax
jnz FPU_Arith_exit