summaryrefslogtreecommitdiff
path: root/sys/gnu/arch/i386/fpemul/polynomial.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/polynomial.s
parentfc26f71b59603e4fefd07e144c9edecb5d4b3193 (diff)
Prepare for ELF (mostly _C_LABEL sprinkling); ok drahn art
Diffstat (limited to 'sys/gnu/arch/i386/fpemul/polynomial.s')
-rw-r--r--sys/gnu/arch/i386/fpemul/polynomial.s10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/gnu/arch/i386/fpemul/polynomial.s b/sys/gnu/arch/i386/fpemul/polynomial.s
index f963e0fa828..dad18e54155 100644
--- a/sys/gnu/arch/i386/fpemul/polynomial.s
+++ b/sys/gnu/arch/i386/fpemul/polynomial.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: polynomial.s,v 1.1 1996/08/27 10:32:56 downsj Exp $ */
+/* $OpenBSD: polynomial.s,v 1.2 2002/10/12 07:12:58 pvalchev Exp $ */
/*
* polynomial.S
*
@@ -82,9 +82,13 @@
.text
+#ifdef __ELF__
+ .align 4,144
+#else
.align 2,144
-.globl _polynomial
-_polynomial:
+#endif
+.globl _C_LABEL(polynomial)
+_C_LABEL(polynomial):
pushl %ebp
movl %esp,%ebp
subl $32,%esp