summaryrefslogtreecommitdiff
path: root/sys/gnu/arch/i386/fpemul/div_small.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/arch/i386/fpemul/div_small.s')
-rw-r--r--sys/gnu/arch/i386/fpemul/div_small.s10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/gnu/arch/i386/fpemul/div_small.s b/sys/gnu/arch/i386/fpemul/div_small.s
index e652be839ee..ae93cfd435e 100644
--- a/sys/gnu/arch/i386/fpemul/div_small.s
+++ b/sys/gnu/arch/i386/fpemul/div_small.s
@@ -1,5 +1,5 @@
.file "div_small.S"
-/* $OpenBSD: div_small.s,v 1.1 1996/08/27 10:32:41 downsj Exp $ */
+/* $OpenBSD: div_small.s,v 1.2 2002/10/12 07:12:58 pvalchev Exp $ */
/*
* div_small.S
*
@@ -71,11 +71,15 @@
#include <gnu/arch/i386/fpemul/fpu_asm.h>
.text
+#ifdef __ELF__
+ .align 4,144
+#else
.align 2,144
+#endif
-.globl _div_small
+.globl _C_LABEL(div_small)
-_div_small:
+_C_LABEL(div_small):
pushl %ebp
movl %esp,%ebp