summaryrefslogtreecommitdiff
path: root/sys/gnu/arch/i386/fpemul/reg_u_add.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/arch/i386/fpemul/reg_u_add.s')
-rw-r--r--sys/gnu/arch/i386/fpemul/reg_u_add.s14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/gnu/arch/i386/fpemul/reg_u_add.s b/sys/gnu/arch/i386/fpemul/reg_u_add.s
index 1d0eb63bfc0..52f325beec2 100644
--- a/sys/gnu/arch/i386/fpemul/reg_u_add.s
+++ b/sys/gnu/arch/i386/fpemul/reg_u_add.s
@@ -1,5 +1,5 @@
.file "reg_u_add.S"
-/* $OpenBSD: reg_u_add.s,v 1.1 1996/08/27 10:33:01 downsj Exp $ */
+/* $OpenBSD: reg_u_add.s,v 1.2 2002/10/12 07:12:59 pvalchev Exp $ */
/*
* reg_u_add.S
*
@@ -84,9 +84,13 @@
#include <gnu/arch/i386/fpemul/control_w.h>
.text
+#ifdef __ELF__
+ .align 4,144
+#else
.align 2,144
-.globl _reg_u_add
-_reg_u_add:
+#endif
+.globl _C_LABEL(reg_u_add)
+_C_LABEL(reg_u_add):
pushl %ebp
movl %esp,%ebp
/* subl $16,%esp*/
@@ -101,7 +105,7 @@ _reg_u_add:
cmpl EXP_UNDER,EXP(%esi)
jg xOp1_not_denorm
- call _denormal_operand
+ call _C_LABEL(denormal_operand)
orl %eax,%eax
jnz FPU_Arith_exit
@@ -109,7 +113,7 @@ xOp1_not_denorm:
cmpl EXP_UNDER,EXP(%edi)
jg xOp2_not_denorm
- call _denormal_operand
+ call _C_LABEL(denormal_operand)
orl %eax,%eax
jnz FPU_Arith_exit