summaryrefslogtreecommitdiff
path: root/sys/gnu/arch/i386/fpemul/div_small.s
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2002-10-12 07:13:00 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2002-10-12 07:13:00 +0000
commit439b5a8e46350413139ea2b054a0b2149f640b7c (patch)
treece67c2f32133cd9ab02b8d28cefeb30ec7826e48 /sys/gnu/arch/i386/fpemul/div_small.s
parentfc26f71b59603e4fefd07e144c9edecb5d4b3193 (diff)
Prepare for ELF (mostly _C_LABEL sprinkling); ok drahn art
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