summaryrefslogtreecommitdiff
path: root/lib/i386/floatdidf.S
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-04 23:52:51 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-11-04 23:52:51 +0000
commiteed1300f303841d026f0769e489d7c3df6e0e87f (patch)
tree194930edcd5473d86aba1a338f8283337b47611d /lib/i386/floatdidf.S
parentac4c794c61fa1871e519ad3cf0b26a53c6bb0f3c (diff)
Fix x86/x64 on Linux, Credit to Rafael Espindola.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@86075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/i386/floatdidf.S')
-rw-r--r--lib/i386/floatdidf.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/i386/floatdidf.S b/lib/i386/floatdidf.S
index 8bf9f0dfc..3a526eab9 100644
--- a/lib/i386/floatdidf.S
+++ b/lib/i386/floatdidf.S
@@ -7,7 +7,9 @@
#ifdef __i386__
+#ifndef __ELF__
.const
+#endif
.align 4
twop52: .quad 0x4330000000000000
twop32: .quad 0x41f0000000000000